@devtron-labs/devtron-fe-common-lib 1.3.2-beta-3 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-PAKCpAq2.js → @code-editor-Cu4yyfkn.js} +934 -932
- package/dist/{@common-rjsf-CMOebaxG.js → @common-rjsf-Dk36KpSX.js} +1 -1
- package/dist/Common/CIPipeline.Types.d.ts +0 -9
- package/dist/Common/Helper.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +6 -0
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.js +269 -268
- package/package.json +1 -1
@@ -6,11 +6,11 @@ var Tc = (e, s, n) => s in e ? Cc(e, s, { enumerable: !0, configurable: !0, writ
|
|
6
6
|
var De = (e, s, n) => Tc(e, typeof s != "symbol" ? s + "" : s, n), jr = (e, s, n) => s.has(e) || Ar("Cannot " + n);
|
7
7
|
var Ea = (e, s, n) => (jr(e, s, "read from private field"), n ? n.call(e) : s.get(e)), yr = (e, s, n) => s.has(e) ? Ar("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), Lr = (e, s, n, a) => (jr(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
|
8
8
|
import { j as t, i as Q, Q as Na, k as Sc, d as oi, h as vc, A as Ic, R as Ac, s as jc, c as yc, f as ii, a as li, u as ci, J as Lc, b as Rc, e as wc, _ as Oc, m as Qt } from "./@vendor-BG3OpQCq.js";
|
9
|
-
import ee, { useState as j, cloneElement as Oa, createContext as
|
9
|
+
import ee, { useState as j, cloneElement as Oa, createContext as Wt, useContext as ln, useMemo as ae, useEffect as P, Component as Zn, createElement as cr, useCallback as ye, useRef as X, Fragment as vs, useReducer as Pc, createRef as kt } from "react";
|
10
10
|
import Dc, { ReactComponent as Vt } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
11
11
|
import { ReactComponent as Mc } from "./assets/ic-check-square.2a3d3fb9.svg";
|
12
12
|
import { ReactComponent as kc } from "./assets/ic-check-all.0376437d.svg";
|
13
|
-
import { ReactComponent as
|
13
|
+
import { ReactComponent as st } from "./assets/ic-close.43adc42a.svg";
|
14
14
|
import { ReactComponent as Uc } from "./assets/ic-world.1f6a5eaf.svg";
|
15
15
|
import { ReactComponent as Bc } from "./assets/ic-rocket-fail.874e54ce.svg";
|
16
16
|
import { ReactComponent as $c } from "./assets/ic-nav-rocket.9e50bb61.svg";
|
@@ -21,14 +21,14 @@ import { ReactComponent as It } from "./assets/ic-warning.10bcf8bd.svg";
|
|
21
21
|
import { ReactComponent as Vc } from "./assets/ic-cpu.8be677ee.svg";
|
22
22
|
import { ReactComponent as Gc } from "./assets/ic-memory.c4159f96.svg";
|
23
23
|
import { ReactComponent as mi } from "./assets/ic-timer.b62145ec.svg";
|
24
|
-
import { Link as cs, useLocation as
|
24
|
+
import { Link as cs, useLocation as Kt, useHistory as zt, NavLink as Xe, useParams as nt, useRouteMatch as yt, generatePath as ns, Switch as pi, Route as ts, Redirect as Hc } from "react-router-dom";
|
25
25
|
import { ReactComponent as Yc } from "./assets/ic-delete-interactive.304dd293.svg";
|
26
26
|
import as from "yaml";
|
27
27
|
import { ReactComponent as dr } from "./assets/ic-info-filled-override.99e8094a.svg";
|
28
|
-
import { ReactComponent as
|
28
|
+
import { ReactComponent as Wc } from "./assets/ic-var-initial.afdaa854.svg";
|
29
29
|
import { ReactComponent as fi } from "./assets/ic-info-outline.f4be8a1e.svg";
|
30
|
-
import { h as
|
31
|
-
import { ReactComponent as
|
30
|
+
import { h as he } from "./@moment-C_WeV3Af.js";
|
31
|
+
import { ReactComponent as Kc } from "./assets/ic-vulnerability-not-found.d8a4d43c.svg";
|
32
32
|
import Bs from "./assets/ic-page-not-found.da74a367.svg";
|
33
33
|
import zc, { ReactComponent as _i } from "./assets/ic-mechanical-operation.08b38afd.svg";
|
34
34
|
import { ReactComponent as qc } from "./assets/ic-clair.ba79956f.svg";
|
@@ -111,8 +111,8 @@ import Gd, { ReactComponent as Li } from "./assets/ic-pull-request.31d0c981.svg"
|
|
111
111
|
import { ReactComponent as Or } from "./assets/ic-check-circle.ad80d835.svg";
|
112
112
|
import Hd, { ReactComponent as Ri } from "./assets/ic-tag.1613fc59.svg";
|
113
113
|
import { ReactComponent as Yd } from "./assets/ic-hash.cd11c334.svg";
|
114
|
-
import { ReactComponent as
|
115
|
-
import { ReactComponent as
|
114
|
+
import { ReactComponent as Wd } from "./assets/ic-aborted.e7288a6c.svg";
|
115
|
+
import { ReactComponent as Kd } from "./assets/ic-check-grey.f556e371.svg";
|
116
116
|
import { ReactComponent as zd } from "./assets/ic-disconnected.551d6161.svg";
|
117
117
|
import { ReactComponent as qd } from "./assets/ic-timeout-red.5eda1010.svg";
|
118
118
|
import { ReactComponent as wi } from "./assets/ic-in-progress.0598554b.svg";
|
@@ -174,7 +174,7 @@ const Xt = (e) => /* @__PURE__ */ t.jsx("div", { className: `dc__registry-icon d
|
|
174
174
|
// allow alphanumeric,(.) ,(-),(_)
|
175
175
|
ESCAPED_CHARACTERS: /[.*+?^${}()|[\]\\]/g,
|
176
176
|
NUMBERS_WITH_SCOPE_VARIABLES: /^(\d+(\.\d+)?|@{{[a-zA-Z0-9-]+}})$/
|
177
|
-
},
|
177
|
+
}, ge = {
|
178
178
|
LOGIN_SSO: "/login/sso",
|
179
179
|
PERMISSION_GROUPS: "/global-config/auth/groups",
|
180
180
|
APP: "/app",
|
@@ -533,7 +533,7 @@ const Fa = {
|
|
533
533
|
TOOLTIP_DONT_SHOW_AGAIN: "Tooltip Dont show again",
|
534
534
|
HELP: "Clicked Help",
|
535
535
|
SKIP_AND_EXPLORE_DEVTRON: "SkippedOnboarding"
|
536
|
-
}, Mi = 5, ki = "login-count", dT = "devtron-ci",
|
536
|
+
}, Mi = 5, ki = "login-count", dT = "devtron-ci", tt = {
|
537
537
|
TWELVE_HOURS_FORMAT: "ddd, DD MMM YYYY, hh:mm A",
|
538
538
|
TWELVE_HOURS_FORMAT_WITHOUT_WEEKDAY: "DD MMM YYYY, hh:mm A",
|
539
539
|
TWELVE_HOURS_EXPORT_FORMAT: "DD-MMM-YYYY hh.mm A",
|
@@ -575,7 +575,7 @@ const $s = {
|
|
575
575
|
Security: "SECURITY",
|
576
576
|
Changes: "CHANGES"
|
577
577
|
};
|
578
|
-
var Xs = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(Xs || {}), la = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(la || {}),
|
578
|
+
var Xs = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(Xs || {}), la = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(la || {}), Ws = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(Ws || {}), Gu = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Gu || {}), Hu = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(Hu || {}), Ga = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Ga || {}), 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 || {}), Bi = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Bi || {}), Wu = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(Wu || {}), bs = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(bs || {}), Ku = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Ku || {}), wn = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(wn || {}), Ha = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Ha || {}), Js = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Js || {}), Ya = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Ya || {});
|
579
579
|
const Ur = {
|
580
580
|
100: "Continue",
|
581
581
|
101: "Switching Protocols",
|
@@ -648,7 +648,7 @@ const Ur = {
|
|
648
648
|
};
|
649
649
|
function zu() {
|
650
650
|
const e = `${window.location.pathname.replace(window.__BASE_URL__, "")}${window.location.search}`;
|
651
|
-
window.location.href = `${window.location.origin}${window.__BASE_URL__}${
|
651
|
+
window.location.href = `${window.location.origin}${window.__BASE_URL__}${ge.LOGIN_SSO}?continue=${e}`;
|
652
652
|
}
|
653
653
|
async function qu(e, s) {
|
654
654
|
const n = s.status;
|
@@ -751,7 +751,7 @@ const bt = (e, s, n, a) => cn(e, "POST", s, n, a), Ju = (e, s, n) => cn(e, "PUT"
|
|
751
751
|
// The 0 code is common for aborted and blocked requests
|
752
752
|
e && e.code === 0 && e.message.search("abort|aborted") > -1
|
753
753
|
);
|
754
|
-
var Zu = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(Zu || {}), J = /* @__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))(J || {}),
|
754
|
+
var Zu = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(Zu || {}), J = /* @__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))(J || {}), Wa = /* @__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))(Wa || {}), Qu = /* @__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))(Qu || {}), Zs = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Zs || {}), hs = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(hs || {}), em = /* @__PURE__ */ ((e) => (e.REQUEST = "request", e.PENDING = "pending", e))(em || {}), tm = /* @__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))(tm || {}), sm = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(sm || {}), Vi = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(Vi || {}), We = /* @__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))(We || {}), gr = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(gr || {}), nm = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e))(nm || {}), Qs = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(Qs || {}), _t = /* @__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))(_t || {}), am = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(am || {}), rm = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(rm || {}), On = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(On || {}), om = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(om || {}), Gi = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(Gi || {});
|
755
755
|
const fT = [
|
756
756
|
{
|
757
757
|
label: "GUI",
|
@@ -789,7 +789,7 @@ const Tn = {
|
|
789
789
|
SECURITY_TRIVY: "security.trivy",
|
790
790
|
SECURITY_CLAIR: "security.clair"
|
791
791
|
}, Yi = "ddd DD MMM YYYY HH:mm:ss", en = "API-TOKEN:", mm = "••••••••";
|
792
|
-
var pm = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(pm || {}),
|
792
|
+
var pm = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(pm || {}), Ks = /* @__PURE__ */ ((e) => (e.PRE = "PRE", e.DEPLOY = "DEPLOY", e.POST = "POST", e))(Ks || {}), fm = /* @__PURE__ */ ((e) => (e.LAST_SAVED_CONFIG = "LAST_SAVED_CONFIG", e.LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG", e.SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG", e))(fm || {}), Ka = /* @__PURE__ */ ((e) => (e.production = "Production", e.nonProduction = "Non-Production", e))(Ka || {}), G = /* @__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))(G || {});
|
793
793
|
const ve = {
|
794
794
|
DATA_NOT_AVAILABLE: "Data not available",
|
795
795
|
API_TOKEN: {
|
@@ -968,7 +968,7 @@ const ve = {
|
|
968
968
|
APP_DESCRIPTION: "Write a short description for this application",
|
969
969
|
JOB_DESCRIPTION: "Write a short description for this job"
|
970
970
|
}
|
971
|
-
},
|
971
|
+
}, ot = {
|
972
972
|
DEPLOYMENT_TEMPLATE: {
|
973
973
|
DISPLAY_NAME: "Deployment template",
|
974
974
|
VALUE: "deployment-template"
|
@@ -986,7 +986,7 @@ const ve = {
|
|
986
986
|
VALUE: "secret"
|
987
987
|
}
|
988
988
|
}, Sn = {
|
989
|
-
[
|
989
|
+
[ot.SECRET.DISPLAY_NAME]: {
|
990
990
|
"": "Kubernetes Secret",
|
991
991
|
KubernetesSecret: "Kubernetes External Secret",
|
992
992
|
AWSSecretsManager: "AWS Secrets Manager",
|
@@ -997,7 +997,7 @@ const ve = {
|
|
997
997
|
ESO_GoogleSecretsManager: "Google Secrets Manager",
|
998
998
|
ESO_AzureSecretsManager: "Azure Secrets Manager"
|
999
999
|
},
|
1000
|
-
[
|
1000
|
+
[ot.CONFIGMAP.DISPLAY_NAME]: {
|
1001
1001
|
"": "Kubernetes ConfigMap",
|
1002
1002
|
KubernetesConfigMap: "Kubernetes External ConfigMap"
|
1003
1003
|
}
|
@@ -1084,7 +1084,7 @@ const ve = {
|
|
1084
1084
|
var Em = /* @__PURE__ */ ((e) => (e[e.DEVTRON_APP = 0] = "DEVTRON_APP", e[e.HELM_APP = 1] = "HELM_APP", e[e.EXTERNAL_ARGO_APP = 2] = "EXTERNAL_ARGO_APP", e[e.EXTERNAL_FLUX_APP = 3] = "EXTERNAL_FLUX_APP", e))(Em || {});
|
1085
1085
|
const Fr = /\x1B\[.*?m/g;
|
1086
1086
|
var U = /* @__PURE__ */ ((e) => (e.xs = "xs", e.small = "small", e.medium = "medium", e.large = "large", e.xl = "xl", e))(U || {});
|
1087
|
-
const
|
1087
|
+
const Wi = "popup";
|
1088
1088
|
var Nm = /* @__PURE__ */ ((e) => (e.allProjects = "-1", e.allExistingAndFutureNonProdEnvironments = "-1", e.allExistingAndFutureProdEnvironments = "-2", e.allExistingAndFutureEnvironments = "-3", e))(Nm || {});
|
1089
1089
|
const hT = Object.values(
|
1090
1090
|
Vi
|
@@ -1192,7 +1192,7 @@ const Im = {
|
|
1192
1192
|
[U.medium]: "p-7",
|
1193
1193
|
[U.large]: "p-7",
|
1194
1194
|
[U.xl]: "p-7"
|
1195
|
-
},
|
1195
|
+
}, Ki = {
|
1196
1196
|
[U.xs]: 12,
|
1197
1197
|
[U.small]: 16,
|
1198
1198
|
[U.medium]: 16,
|
@@ -1204,7 +1204,7 @@ const Im = {
|
|
1204
1204
|
[U.medium]: 16,
|
1205
1205
|
[U.large]: 20,
|
1206
1206
|
[U.xl]: 24
|
1207
|
-
}, jm = ({ size: e, icon: s }) => `icon-dim-${s ? zi[e] :
|
1207
|
+
}, jm = ({ size: e, icon: s }) => `icon-dim-${s ? zi[e] : Ki[e]}`, ym = ({ size: e, icon: s }) => s ? zi[e] : Ki[e], Lm = ({
|
1208
1208
|
size: e,
|
1209
1209
|
variant: s,
|
1210
1210
|
style: n,
|
@@ -1232,7 +1232,7 @@ const Im = {
|
|
1232
1232
|
type: n?.type || "button",
|
1233
1233
|
onClick: a
|
1234
1234
|
}
|
1235
|
-
),
|
1235
|
+
), Ke = ({
|
1236
1236
|
dataTestId: e,
|
1237
1237
|
text: s,
|
1238
1238
|
variant: n = Ze.primary,
|
@@ -1306,7 +1306,7 @@ const Im = {
|
|
1306
1306
|
] })
|
1307
1307
|
] }),
|
1308
1308
|
e && /* @__PURE__ */ t.jsx(
|
1309
|
-
|
1309
|
+
Ke,
|
1310
1310
|
{
|
1311
1311
|
text: o,
|
1312
1312
|
onClick: e,
|
@@ -1700,7 +1700,7 @@ const Gm = {
|
|
1700
1700
|
toastClassName: "custom-toast",
|
1701
1701
|
bodyClassName: "custom-toast__body",
|
1702
1702
|
closeButton: ({ closeToast: e }) => /* @__PURE__ */ t.jsx("div", { className: "custom-toast__close-btn", children: /* @__PURE__ */ t.jsx(
|
1703
|
-
|
1703
|
+
Ke,
|
1704
1704
|
{
|
1705
1705
|
icon: /* @__PURE__ */ t.jsx(At, { className: "fcn-0" }),
|
1706
1706
|
onClick: e,
|
@@ -1753,7 +1753,7 @@ const Gm = {
|
|
1753
1753
|
/* @__PURE__ */ t.jsx("p", { className: "fs-12 fw-4 lh-18 m-0 dc__truncate--clamp-6", children: s })
|
1754
1754
|
] }),
|
1755
1755
|
n && /* @__PURE__ */ t.jsx(
|
1756
|
-
|
1756
|
+
Ke,
|
1757
1757
|
{
|
1758
1758
|
...n,
|
1759
1759
|
variant: Ze.text,
|
@@ -1812,11 +1812,11 @@ yr(ss, Ss);
|
|
1812
1812
|
let Ja = ss;
|
1813
1813
|
const IT = () => /* @__PURE__ */ t.jsx(Sc, { ...Gm }), $e = Ja.instance;
|
1814
1814
|
var Be = /* @__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))(Be || {}), tl = /* @__PURE__ */ ((e) => (e.OPEN = "OPEN", e.CLOSED = "CLOSED", e))(tl || {});
|
1815
|
-
const
|
1815
|
+
const Wm = "bulk-selection-pop-up-menu", ba = {
|
1816
1816
|
[Be.SELECT_ALL_ON_PAGE]: "All on this page",
|
1817
1817
|
[Be.SELECT_ALL_ACROSS_PAGES]: "All across pages",
|
1818
1818
|
[Be.CLEAR_ALL_SELECTIONS]: "Clear selection(s)"
|
1819
|
-
}, Ds = "*",
|
1819
|
+
}, Ds = "*", Km = (e) => `Invalid action ${e} passed to useBulkSelection`, zm = "useBulkSelection must be used within BulkSelectionContext", Hr = "Selections on other pages are cleared", sl = Wt({
|
1820
1820
|
selectedIdentifiers: {},
|
1821
1821
|
handleBulkSelection: et,
|
1822
1822
|
isChecked: !1,
|
@@ -1891,7 +1891,7 @@ const Km = "bulk-selection-pop-up-menu", ba = {
|
|
1891
1891
|
break;
|
1892
1892
|
}
|
1893
1893
|
default:
|
1894
|
-
throw new Error(
|
1894
|
+
throw new Error(Km(h));
|
1895
1895
|
}
|
1896
1896
|
}, p = () => Object.keys(a).length === 0 ? {
|
1897
1897
|
isChecked: !1,
|
@@ -1949,7 +1949,7 @@ const Km = "bulk-selection-pop-up-menu", ba = {
|
|
1949
1949
|
locator: Be.CLEAR_ALL_SELECTIONS,
|
1950
1950
|
label: ba[Be.CLEAR_ALL_SELECTIONS],
|
1951
1951
|
isSelected: !1,
|
1952
|
-
icon:
|
1952
|
+
icon: st,
|
1953
1953
|
iconClass: "icon-use-fill-n6"
|
1954
1954
|
}
|
1955
1955
|
] : []
|
@@ -1960,7 +1960,7 @@ const Km = "bulk-selection-pop-up-menu", ba = {
|
|
1960
1960
|
{
|
1961
1961
|
isKebab: !0,
|
1962
1962
|
rootClassName: "h-20 flexbox p-0 dc__no-background dc__no-border dc__outline-none-imp",
|
1963
|
-
dataTestId:
|
1963
|
+
dataTestId: Wm,
|
1964
1964
|
disabled: s,
|
1965
1965
|
children: [
|
1966
1966
|
/* @__PURE__ */ t.jsx(
|
@@ -2274,7 +2274,7 @@ const Km = "bulk-selection-pop-up-menu", ba = {
|
|
2274
2274
|
MISCONFIGURATIONS: "misConfigurations",
|
2275
2275
|
EXPOSED_SECRETS: "exposedSecrets"
|
2276
2276
|
};
|
2277
|
-
var Vn = /* @__PURE__ */ ((e) => (e[e.ASC = 1] = "ASC", e[e.DESC = -1] = "DESC", e))(Vn || {}),
|
2277
|
+
var Vn = /* @__PURE__ */ ((e) => (e[e.ASC = 1] = "ASC", e[e.DESC = -1] = "DESC", e))(Vn || {}), K = /* @__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))(K || {});
|
2278
2278
|
const ap = {
|
2279
2279
|
[-1]: "Failed",
|
2280
2280
|
0: "Progressing",
|
@@ -2292,48 +2292,48 @@ const ap = {
|
|
2292
2292
|
LICENSE: "License Risks",
|
2293
2293
|
MISCONFIGURATIONS: "Misconfigurations",
|
2294
2294
|
EXPOSED_SECRETS: "Exposed Secrets"
|
2295
|
-
},
|
2296
|
-
[
|
2295
|
+
}, rt = {
|
2296
|
+
[K.CRITICAL]: {
|
2297
2297
|
label: "Critical",
|
2298
2298
|
color: "#B21212"
|
2299
2299
|
},
|
2300
|
-
[
|
2300
|
+
[K.HIGH]: {
|
2301
2301
|
label: "High",
|
2302
2302
|
color: "#F33E3E"
|
2303
2303
|
},
|
2304
|
-
[
|
2304
|
+
[K.MEDIUM]: {
|
2305
2305
|
label: "Medium",
|
2306
2306
|
color: "#FF7E5B"
|
2307
2307
|
},
|
2308
|
-
[
|
2308
|
+
[K.LOW]: {
|
2309
2309
|
label: "Low",
|
2310
2310
|
color: "#FFB549"
|
2311
2311
|
},
|
2312
|
-
[
|
2312
|
+
[K.UNKNOWN]: {
|
2313
2313
|
label: "Unknown",
|
2314
2314
|
color: "#B1B7BC"
|
2315
2315
|
},
|
2316
|
-
[
|
2316
|
+
[K.FAILURES]: {
|
2317
2317
|
label: "Failures",
|
2318
2318
|
color: "#F33E3E"
|
2319
2319
|
},
|
2320
|
-
[
|
2320
|
+
[K.SUCCESSES]: {
|
2321
2321
|
label: "Successes",
|
2322
2322
|
color: "#1DAD70"
|
2323
2323
|
},
|
2324
|
-
[
|
2324
|
+
[K.EXCEPTIONS]: {
|
2325
2325
|
label: "Exceptions",
|
2326
2326
|
color: "#B1B7BC"
|
2327
2327
|
}
|
2328
2328
|
}, Gn = [
|
2329
|
-
|
2330
|
-
|
2331
|
-
|
2332
|
-
|
2333
|
-
|
2334
|
-
|
2335
|
-
|
2336
|
-
|
2329
|
+
K.CRITICAL,
|
2330
|
+
K.HIGH,
|
2331
|
+
K.MEDIUM,
|
2332
|
+
K.LOW,
|
2333
|
+
K.UNKNOWN,
|
2334
|
+
K.FAILURES,
|
2335
|
+
K.EXCEPTIONS,
|
2336
|
+
K.SUCCESSES
|
2337
2337
|
], dn = Vn.DESC, xr = {
|
2338
2338
|
image: Bs,
|
2339
2339
|
title: "Scan failed",
|
@@ -2349,22 +2349,22 @@ const ap = {
|
|
2349
2349
|
/* for all the SEVERITY keys in @severities create @Entity */
|
2350
2350
|
e && Gn.map(
|
2351
2351
|
(s) => e[s] && {
|
2352
|
-
color:
|
2353
|
-
label:
|
2352
|
+
color: rt[s].color,
|
2353
|
+
label: rt[s].label,
|
2354
2354
|
value: e[s]
|
2355
2355
|
}
|
2356
2356
|
).filter((s) => !!s)
|
2357
2357
|
), un = (e) => e && Object.keys(e).sort(
|
2358
2358
|
(s, n) => Gn.indexOf(s) - Gn.indexOf(n)
|
2359
|
-
).map((s) => `${e[s]} ${
|
2360
|
-
[
|
2361
|
-
[
|
2362
|
-
[
|
2363
|
-
[
|
2364
|
-
[
|
2365
|
-
[
|
2366
|
-
[
|
2367
|
-
[
|
2359
|
+
).map((s) => `${e[s]} ${rt[s].label}`).join(", "), Yr = (e) => ({
|
2360
|
+
[K.UNKNOWN]: 1,
|
2361
|
+
[K.LOW]: 2,
|
2362
|
+
[K.MEDIUM]: 3,
|
2363
|
+
[K.HIGH]: 4,
|
2364
|
+
[K.CRITICAL]: 5,
|
2365
|
+
[K.FAILURES]: 6,
|
2366
|
+
[K.EXCEPTIONS]: 7,
|
2367
|
+
[K.SUCCESSES]: 8
|
2368
2368
|
})[e] || 1e4, mn = (e, s) => Yr(e) - Yr(s), RT = (e) => {
|
2369
2369
|
const s = e[ue.IMAGE_SCAN].vulnerability?.summary?.severities, n = e[ue.CODE_SCAN].vulnerability?.summary?.severities;
|
2370
2370
|
return {
|
@@ -2375,21 +2375,21 @@ const ap = {
|
|
2375
2375
|
unknown: (s?.UNKNOWN || 0) + (n?.UNKNOWN || 0)
|
2376
2376
|
};
|
2377
2377
|
}, Er = (e, s) => Gn.reduce((n, a) => n || e[a] - s[a], 0), $t = (e) => ({
|
2378
|
-
SvgImage:
|
2378
|
+
SvgImage: Kc,
|
2379
2379
|
title: "You're secure!",
|
2380
2380
|
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(da, { scanToolId: e }) })
|
2381
2381
|
}), op = (e, s) => e.toString().localeCompare(s.toString()), al = (e) => {
|
2382
2382
|
switch (e.toLowerCase()) {
|
2383
2383
|
case hs.HIGH:
|
2384
|
-
return
|
2384
|
+
return K.HIGH;
|
2385
2385
|
case hs.UNKNOWN:
|
2386
|
-
return
|
2386
|
+
return K.UNKNOWN;
|
2387
2387
|
case hs.MEDIUM:
|
2388
|
-
return
|
2388
|
+
return K.MEDIUM;
|
2389
2389
|
case hs.LOW:
|
2390
|
-
return
|
2390
|
+
return K.LOW;
|
2391
2391
|
case hs.CRITICAL:
|
2392
|
-
return
|
2392
|
+
return K.CRITICAL;
|
2393
2393
|
default:
|
2394
2394
|
return null;
|
2395
2395
|
}
|
@@ -2398,11 +2398,11 @@ const ap = {
|
|
2398
2398
|
[se.VULNERABILITIES]: {
|
2399
2399
|
summary: {
|
2400
2400
|
severities: {
|
2401
|
-
[
|
2402
|
-
[
|
2403
|
-
[
|
2404
|
-
[
|
2405
|
-
[
|
2401
|
+
[K.CRITICAL]: e.severityCount?.critical || 0,
|
2402
|
+
[K.HIGH]: e.severityCount?.high || 0,
|
2403
|
+
[K.MEDIUM]: e.severityCount?.medium || 0,
|
2404
|
+
[K.LOW]: e.severityCount?.low || 0,
|
2405
|
+
[K.UNKNOWN]: e.severityCount?.unknown || 0
|
2406
2406
|
}
|
2407
2407
|
},
|
2408
2408
|
list: [
|
@@ -2410,11 +2410,11 @@ const ap = {
|
|
2410
2410
|
image: e.image,
|
2411
2411
|
summary: {
|
2412
2412
|
severities: {
|
2413
|
-
[
|
2414
|
-
[
|
2415
|
-
[
|
2416
|
-
[
|
2417
|
-
[
|
2413
|
+
[K.CRITICAL]: e.severityCount?.critical || 0,
|
2414
|
+
[K.HIGH]: e.severityCount?.high || 0,
|
2415
|
+
[K.MEDIUM]: e.severityCount?.medium || 0,
|
2416
|
+
[K.LOW]: e.severityCount?.low || 0,
|
2417
|
+
[K.UNKNOWN]: e.severityCount?.unknown || 0
|
2418
2418
|
}
|
2419
2419
|
},
|
2420
2420
|
list: e.vulnerabilities?.map((s) => ({
|
@@ -2441,22 +2441,22 @@ const ap = {
|
|
2441
2441
|
[se.VULNERABILITIES]: {
|
2442
2442
|
summary: {
|
2443
2443
|
severities: {
|
2444
|
-
[
|
2445
|
-
[
|
2446
|
-
[
|
2447
|
-
[
|
2448
|
-
[
|
2444
|
+
[K.CRITICAL]: e.criticalVulnerabilitiesCount || 0,
|
2445
|
+
[K.HIGH]: e.highVulnerabilitiesCount || 0,
|
2446
|
+
[K.MEDIUM]: e.mediumVulnerabilitiesCount || 0,
|
2447
|
+
[K.LOW]: e.lowVulnerabilitiesCount || 0,
|
2448
|
+
[K.UNKNOWN]: e.unknownVulnerabilitiesCount || 0
|
2449
2449
|
}
|
2450
2450
|
},
|
2451
2451
|
list: e.imageVulnerabilities.map((s) => ({
|
2452
2452
|
image: s.image,
|
2453
2453
|
summary: {
|
2454
2454
|
severities: {
|
2455
|
-
...s.scanResult.severityCount.critical ? { [
|
2456
|
-
...s.scanResult.severityCount.high ? { [
|
2457
|
-
...s.scanResult.severityCount.medium ? { [
|
2458
|
-
...s.scanResult.severityCount.low ? { [
|
2459
|
-
...s.scanResult.severityCount.unknown ? { [
|
2455
|
+
...s.scanResult.severityCount.critical ? { [K.CRITICAL]: s.scanResult.severityCount.critical } : {},
|
2456
|
+
...s.scanResult.severityCount.high ? { [K.HIGH]: s.scanResult.severityCount.high } : {},
|
2457
|
+
...s.scanResult.severityCount.medium ? { [K.MEDIUM]: s.scanResult.severityCount.medium } : {},
|
2458
|
+
...s.scanResult.severityCount.low ? { [K.LOW]: s.scanResult.severityCount.low } : {},
|
2459
|
+
...s.scanResult.severityCount.unknown ? { [K.LOW]: s.scanResult.severityCount.unknown } : {}
|
2460
2460
|
}
|
2461
2461
|
},
|
2462
2462
|
list: s.scanResult.vulnerabilities.map((n) => ({
|
@@ -2623,7 +2623,7 @@ const ap = {
|
|
2623
2623
|
{
|
2624
2624
|
className: "fs-12 lh-20 fw-4 fcn-8",
|
2625
2625
|
"data-testid": "security-info-card-last-scan-time",
|
2626
|
-
children: `Scanned on ${oi(s).format(
|
2626
|
+
children: `Scanned on ${oi(s).format(tt.TWELVE_HOURS_FORMAT)}`
|
2627
2627
|
}
|
2628
2628
|
)
|
2629
2629
|
] }),
|
@@ -3099,7 +3099,7 @@ const ap = {
|
|
3099
3099
|
default:
|
3100
3100
|
return null;
|
3101
3101
|
}
|
3102
|
-
}, cl = (e, s) => e && e !== qt && s === "Completed" ? oi(e).format(
|
3102
|
+
}, cl = (e, s) => e && e !== qt && s === "Completed" ? oi(e).format(tt.TWELVE_HOURS_FORMAT) : s === "Progressing" ? "Scan in progress" : null, vp = (e, s, n) => ({
|
3103
3103
|
headers: [
|
3104
3104
|
{ headerText: "image", isSortable: !1, width: 256 },
|
3105
3105
|
{ headerText: "vulnerability", isSortable: !1, width: 256 },
|
@@ -3462,7 +3462,7 @@ const ap = {
|
|
3462
3462
|
}, _ = (u.detailViewData?.length ?? 0) - 1, h = u.detailViewData?.[_] ?? null, x = () => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space dc__align-items-center pl-20 pr-20 pt-12 pb-12 dc__border-bottom", children: [
|
3463
3463
|
/* @__PURE__ */ t.jsx("span", { className: "fs-16 fw-6 lh-24 cn-9", children: "Security" }),
|
3464
3464
|
/* @__PURE__ */ t.jsx(
|
3465
|
-
|
3465
|
+
Ke,
|
3466
3466
|
{
|
3467
3467
|
dataTestId: "close-security-modal",
|
3468
3468
|
ariaLabel: "close-security-modal",
|
@@ -3569,11 +3569,11 @@ const ap = {
|
|
3569
3569
|
hidePolicy: i = !1
|
3570
3570
|
}) => {
|
3571
3571
|
const [c, d] = j(!1), { critical: u = 0, high: m = 0, medium: p = 0, low: f = 0, unknown: g = 0 } = e, _ = u + m + p + f + g, h = [
|
3572
|
-
{ label:
|
3573
|
-
{ label:
|
3574
|
-
{ label:
|
3575
|
-
{ label:
|
3576
|
-
{ label:
|
3572
|
+
{ label: rt.CRITICAL.label, color: rt.CRITICAL.color, value: u },
|
3573
|
+
{ label: rt.HIGH.label, color: rt.HIGH.color, value: m },
|
3574
|
+
{ label: rt.MEDIUM.label, color: rt.MEDIUM.color, value: p },
|
3575
|
+
{ label: rt.LOW.label, color: rt.LOW.color, value: f },
|
3576
|
+
{ label: rt.UNKNOWN.label, color: rt.UNKNOWN.color, value: g }
|
3577
3577
|
], x = () => {
|
3578
3578
|
d(!0);
|
3579
3579
|
}, E = () => {
|
@@ -3678,7 +3678,7 @@ const js = {
|
|
3678
3678
|
linked: !1
|
3679
3679
|
}
|
3680
3680
|
}
|
3681
|
-
},
|
3681
|
+
}, Wr = [
|
3682
3682
|
{
|
3683
3683
|
heading: /* @__PURE__ */ t.jsx("h3", { className: "m-0 cn-9 fs-13 fw-6 lh-20 w-240 dc__no-shrink", children: "CPU (Request - Limit)" }),
|
3684
3684
|
marker: Vc,
|
@@ -3735,7 +3735,7 @@ const js = {
|
|
3735
3735
|
}, Yp = {
|
3736
3736
|
[O.CPU_REQUEST]: !0,
|
3737
3737
|
[O.CPU_LIMIT]: !0
|
3738
|
-
},
|
3738
|
+
}, Kr = {
|
3739
3739
|
SUBMIT_BUTTON: "build-infra-submit-button",
|
3740
3740
|
CANCEL_BUTTON: "build-infra-cancel-button"
|
3741
3741
|
}, kT = ({
|
@@ -3769,7 +3769,7 @@ const js = {
|
|
3769
3769
|
type: "submit",
|
3770
3770
|
className: "cta submit h-32 flex",
|
3771
3771
|
disabled: e || a,
|
3772
|
-
"data-testid":
|
3772
|
+
"data-testid": Kr.SUBMIT_BUTTON,
|
3773
3773
|
children: a ? /* @__PURE__ */ t.jsx(Te, { size: 16 }) : o()
|
3774
3774
|
}
|
3775
3775
|
) }) }),
|
@@ -3779,7 +3779,7 @@ const js = {
|
|
3779
3779
|
type: "button",
|
3780
3780
|
className: "cta cancel h-32 flex",
|
3781
3781
|
disabled: a,
|
3782
|
-
"data-testid":
|
3782
|
+
"data-testid": Kr.CANCEL_BUTTON,
|
3783
3783
|
onClick: s,
|
3784
3784
|
children: Oe.EDIT_CANCEL
|
3785
3785
|
}
|
@@ -3795,7 +3795,7 @@ const zr = {
|
|
3795
3795
|
[U.small]: { width: "12px", height: "12px" },
|
3796
3796
|
[U.medium]: { width: "16px", height: "16px" },
|
3797
3797
|
[U.large]: { width: "16px", height: "16px" }
|
3798
|
-
},
|
3798
|
+
}, Wp = {
|
3799
3799
|
[U.small]: "auto",
|
3800
3800
|
[U.medium]: "auto",
|
3801
3801
|
[U.large]: "36px"
|
@@ -3840,7 +3840,7 @@ const zr = {
|
|
3840
3840
|
default:
|
3841
3841
|
return null;
|
3842
3842
|
}
|
3843
|
-
},
|
3843
|
+
}, Kp = (e) => e.isSelected && !e.selectProps.isMulti ? "var(--B100)" : e.isFocused ? "var(--N50)" : "var(--N0)", zp = ({
|
3844
3844
|
error: e,
|
3845
3845
|
size: s,
|
3846
3846
|
menuSize: n,
|
@@ -3876,7 +3876,7 @@ const zr = {
|
|
3876
3876
|
}),
|
3877
3877
|
control: (i, c) => ({
|
3878
3878
|
...i,
|
3879
|
-
minHeight:
|
3879
|
+
minHeight: Wp[s],
|
3880
3880
|
minWidth: "56px",
|
3881
3881
|
boxShadow: "none",
|
3882
3882
|
backgroundColor: "var(--N50)",
|
@@ -3901,7 +3901,7 @@ const zr = {
|
|
3901
3901
|
option: (i, c) => ({
|
3902
3902
|
...i,
|
3903
3903
|
color: "var(--N900)",
|
3904
|
-
backgroundColor:
|
3904
|
+
backgroundColor: Kp(c),
|
3905
3905
|
padding: "6px 8px",
|
3906
3906
|
cursor: "pointer",
|
3907
3907
|
fontSize: "13px",
|
@@ -4102,7 +4102,7 @@ const Xp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4102
4102
|
}, Jp = (e) => {
|
4103
4103
|
const { isDisabled: s } = e;
|
4104
4104
|
return /* @__PURE__ */ t.jsx(Ie.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(is, { className: s ? "scn-3" : "scn-6" }) });
|
4105
|
-
}, Zp = (e) => /* @__PURE__ */ t.jsx(Ie.ClearIndicator, { ...e, children: /* @__PURE__ */ t.jsx(
|
4105
|
+
}, Zp = (e) => /* @__PURE__ */ t.jsx(Ie.ClearIndicator, { ...e, children: /* @__PURE__ */ t.jsx(st, { className: "icon-use-fill-n6" }) }), Qp = (e) => {
|
4106
4106
|
const {
|
4107
4107
|
children: s,
|
4108
4108
|
getValue: n,
|
@@ -4188,7 +4188,7 @@ const Xp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4188
4188
|
),
|
4189
4189
|
/* @__PURE__ */ t.jsx(Ie.MultiValueLabel, { ...s })
|
4190
4190
|
] });
|
4191
|
-
}, rf = (e) => /* @__PURE__ */ t.jsx(Ie.MultiValueLabel, { ...e, children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(
|
4191
|
+
}, rf = (e) => /* @__PURE__ */ t.jsx(Ie.MultiValueLabel, { ...e, children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(st, { className: "icon-dim-12 icon-use-fill-n6" }) }) }), of = ({
|
4192
4192
|
isGroupHeadingSelectable: e,
|
4193
4193
|
...s
|
4194
4194
|
}) => {
|
@@ -4264,7 +4264,7 @@ const Xp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4264
4264
|
formatCreateLabel: q,
|
4265
4265
|
...ne
|
4266
4266
|
}) => {
|
4267
|
-
const { inputId: F, required: ce, isDisabled: Ce, controlShouldRenderValue: me = !0, value: Ae, options: B, getOptionValue:
|
4267
|
+
const { inputId: F, required: ce, isDisabled: Ce, controlShouldRenderValue: me = !0, value: Ae, options: B, getOptionValue: W } = ne, { isGroupHeadingSelectable: ie = !1, getIsOptionValid: oe = () => !0 } = _, Ee = h && me ? U.large : l, w = !h && o, L = !T && S, $ = `${F}-label`, k = `${F}-error-msg`, Z = ae(
|
4268
4268
|
() => zp({
|
4269
4269
|
error: e,
|
4270
4270
|
size: Ee,
|
@@ -4281,8 +4281,8 @@ const Xp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4281
4281
|
Ae,
|
4282
4282
|
te,
|
4283
4283
|
null,
|
4284
|
-
|
4285
|
-
) && !tn(B, te, null,
|
4284
|
+
W
|
4285
|
+
) && !tn(B, te, null, W);
|
4286
4286
|
}, fe = ye(
|
4287
4287
|
(z) => /* @__PURE__ */ t.jsx(
|
4288
4288
|
ef,
|
@@ -4397,8 +4397,8 @@ const Xp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4397
4397
|
] })
|
4398
4398
|
] });
|
4399
4399
|
};
|
4400
|
-
var ul = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.FROM_PREVIOUS_STEP = "FROM_PREVIOUS_STEP", e.NEW = "NEW", e))(ul || {}), lf = /* @__PURE__ */ ((e) => (e.INLINE = "INLINE", e.PLUGIN_REF = "REF_PLUGIN", e))(lf || {}), cf = /* @__PURE__ */ ((e) => (e.SHELL = "SHELL", e.DOCKERFILE = "DOCKERFILE", e.CONTAINERIMAGE = "CONTAINER_IMAGE", e))(cf || {}), df = /* @__PURE__ */ ((e) => (e.TRUE = "Yes", e.FALSE = "No", e))(df || {}), uf = /* @__PURE__ */ ((e) => (e.SKIP = "SKIP", e.TRIGGER = "TRIGGER", e.PASS = "PASS", e.FAIL = "FAIL", e))(uf || {}), mf = /* @__PURE__ */ ((e) => (e.PRE_CI = "PRE_CI", e.POST_CI = "POST_CI", e))(mf || {}), pf = /* @__PURE__ */ ((e) => (e.KB = "KB", e.MB = "MB", e))(pf || {}), ff = /* @__PURE__ */ ((e) => (e.STRING = "STRING", e.NUMBER = "NUMBER", e.BOOL = "BOOL", e.DATE = "DATE", e.FILE = "FILE", e))(ff || {}), _f = /* @__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))(_f || {}), hf = /* @__PURE__ */ ((e) => (e.
|
4401
|
-
const
|
4400
|
+
var ul = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.FROM_PREVIOUS_STEP = "FROM_PREVIOUS_STEP", e.NEW = "NEW", e))(ul || {}), lf = /* @__PURE__ */ ((e) => (e.INLINE = "INLINE", e.PLUGIN_REF = "REF_PLUGIN", e))(lf || {}), cf = /* @__PURE__ */ ((e) => (e.SHELL = "SHELL", e.DOCKERFILE = "DOCKERFILE", e.CONTAINERIMAGE = "CONTAINER_IMAGE", e))(cf || {}), df = /* @__PURE__ */ ((e) => (e.TRUE = "Yes", e.FALSE = "No", e))(df || {}), uf = /* @__PURE__ */ ((e) => (e.SKIP = "SKIP", e.TRIGGER = "TRIGGER", e.PASS = "PASS", e.FAIL = "FAIL", e))(uf || {}), mf = /* @__PURE__ */ ((e) => (e.PRE_CI = "PRE_CI", e.POST_CI = "POST_CI", e))(mf || {}), pf = /* @__PURE__ */ ((e) => (e.KB = "KB", e.MB = "MB", e))(pf || {}), ff = /* @__PURE__ */ ((e) => (e.STRING = "STRING", e.NUMBER = "NUMBER", e.BOOL = "BOOL", e.DATE = "DATE", e.FILE = "FILE", e))(ff || {}), _f = /* @__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))(_f || {}), hf = /* @__PURE__ */ ((e) => (e.VARIABLE = "variable", e.FORMAT = "format", e.VALUE = "val", e))(hf || {});
|
4401
|
+
const gf = () => {
|
4402
4402
|
const e = `${H.PROJECT_LIST_MIN}`;
|
4403
4403
|
return re(e).then((s) => {
|
4404
4404
|
let n = [];
|
@@ -4408,7 +4408,7 @@ const xf = () => {
|
|
4408
4408
|
result: n
|
4409
4409
|
};
|
4410
4410
|
});
|
4411
|
-
},
|
4411
|
+
}, xf = {
|
4412
4412
|
PRECD: "PRE",
|
4413
4413
|
CD: "DEPLOY",
|
4414
4414
|
POSTCD: "POST",
|
@@ -4418,13 +4418,13 @@ const xf = () => {
|
|
4418
4418
|
WEBHOOK: "WEBHOOK",
|
4419
4419
|
BranchRegex: "SOURCE_TYPE_BRANCH_REGEX"
|
4420
4420
|
};
|
4421
|
-
function
|
4421
|
+
function Ef(e) {
|
4422
4422
|
return re(`${H.USER_CHECK_ROLE}${e ? `?appName=${e}` : ""}`);
|
4423
4423
|
}
|
4424
|
-
function
|
4424
|
+
function Nf(e, s, n) {
|
4425
4425
|
return bt(`${H.IMAGE_TAGGING}/${s}/${n}`, e);
|
4426
4426
|
}
|
4427
|
-
const
|
4427
|
+
const bf = (e, s) => {
|
4428
4428
|
if (!e)
|
4429
4429
|
return null;
|
4430
4430
|
const n = e.approvedUsersData || [], a = e.approvalConfig || s;
|
@@ -4436,7 +4436,7 @@ const Cf = (e, s) => {
|
|
4436
4436
|
})),
|
4437
4437
|
approvalConfig: Tr(a)
|
4438
4438
|
};
|
4439
|
-
},
|
4439
|
+
}, Cf = (e) => e ? {
|
4440
4440
|
isBlocked: e.isBlocked || !1,
|
4441
4441
|
blockedBy: e.blockedBy || null,
|
4442
4442
|
reason: e.reason || ""
|
@@ -4444,7 +4444,7 @@ const Cf = (e, s) => {
|
|
4444
4444
|
isBlocked: !1,
|
4445
4445
|
blockedBy: null,
|
4446
4446
|
reason: ""
|
4447
|
-
},
|
4447
|
+
}, Tf = ({
|
4448
4448
|
artifacts: e,
|
4449
4449
|
offset: s,
|
4450
4450
|
artifactId: n,
|
@@ -4457,13 +4457,13 @@ const Cf = (e, s) => {
|
|
4457
4457
|
let c = r;
|
4458
4458
|
return e.map((u, m) => {
|
4459
4459
|
let p = "";
|
4460
|
-
const f = u.filterState ??
|
4460
|
+
const f = u.filterState ?? Ws.ALLOWED;
|
4461
4461
|
n && a && u.id === n && (p = a);
|
4462
|
-
const g = !c && l && f ===
|
4462
|
+
const g = !c && l && f === Ws.ALLOWED ? !u.vulnerable : !1;
|
4463
4463
|
return g && (c = !0), {
|
4464
4464
|
index: i + m,
|
4465
4465
|
id: u.id,
|
4466
|
-
deployedTime: u.deployed_time ?
|
4466
|
+
deployedTime: u.deployed_time ? he(u.deployed_time).format("ddd, DD MMM YYYY, hh:mm A") : "Not Deployed",
|
4467
4467
|
deployedBy: u.deployedBy,
|
4468
4468
|
wfrId: u.wfrId,
|
4469
4469
|
tab: $s.Changes,
|
@@ -4481,7 +4481,7 @@ const Cf = (e, s) => {
|
|
4481
4481
|
vulnerable: u.vulnerable,
|
4482
4482
|
runningOnParentCd: u.runningOnParentCd,
|
4483
4483
|
artifactStatus: p,
|
4484
|
-
userApprovalMetadata:
|
4484
|
+
userApprovalMetadata: bf(
|
4485
4485
|
u.userApprovalMetadata,
|
4486
4486
|
o
|
4487
4487
|
),
|
@@ -4492,7 +4492,7 @@ const Cf = (e, s) => {
|
|
4492
4492
|
// It is going to be null but required in type so can't remove
|
4493
4493
|
lastExecution: u.lastExecution,
|
4494
4494
|
materialInfo: u.material_info ? u.material_info.map((_) => ({
|
4495
|
-
modifiedTime: _.modifiedTime ?
|
4495
|
+
modifiedTime: _.modifiedTime ? he(_.modifiedTime).format("ddd, DD MMM YYYY, hh:mm A") : "",
|
4496
4496
|
commitLink: fn(_.url, _.revision),
|
4497
4497
|
author: _.author || "",
|
4498
4498
|
message: _.message || "",
|
@@ -4506,7 +4506,7 @@ const Cf = (e, s) => {
|
|
4506
4506
|
filterState: f,
|
4507
4507
|
appliedFiltersTimestamp: u.appliedFiltersTimestamp ?? "",
|
4508
4508
|
appliedFilters: u.appliedFilters ?? [],
|
4509
|
-
appliedFiltersState: u.appliedFiltersState ??
|
4509
|
+
appliedFiltersState: u.appliedFiltersState ?? Ws.ALLOWED,
|
4510
4510
|
createdTime: u.createdTime ?? "",
|
4511
4511
|
dataSource: u.data_source ?? "",
|
4512
4512
|
registryType: u.registryType ?? "",
|
@@ -4517,10 +4517,10 @@ const Cf = (e, s) => {
|
|
4517
4517
|
deploymentWindowArtifactMetadata: u.deploymentWindowArtifactMetadata ?? null,
|
4518
4518
|
configuredInReleases: u.configuredInReleases ?? [],
|
4519
4519
|
appWorkflowId: u.appWorkflowId ?? null,
|
4520
|
-
deploymentBlockedState:
|
4520
|
+
deploymentBlockedState: Cf(u.deploymentBlockedState)
|
4521
4521
|
};
|
4522
4522
|
});
|
4523
|
-
},
|
4523
|
+
}, Sf = (e) => {
|
4524
4524
|
const s = e.approvalUsers || [], n = Tr(e.userApprovalConfig), a = I_(n), r = e.imageApprovalUsersInfo || {}, o = s.reduce(
|
4525
4525
|
(p, f) => (p[f] = !0, p),
|
4526
4526
|
{}
|
@@ -4573,15 +4573,15 @@ const Cf = (e, s) => {
|
|
4573
4573
|
approvalUsers: s.approvalUsers,
|
4574
4574
|
userApprovalConfig: Tr(s.userApprovalConfig),
|
4575
4575
|
canApproverDeploy: s.canApproverDeploy ?? !1,
|
4576
|
-
imageApprovalPolicyDetails:
|
4577
|
-
},
|
4576
|
+
imageApprovalPolicyDetails: Sf(s)
|
4577
|
+
}, vf = (e) => (e?.runtimePluginVariables ?? []).map((s) => ({ ...s, defaultValue: s.value })), Qr = (e) => e ? {
|
4578
4578
|
appReleaseTagNames: e.appReleaseTagNames ?? [],
|
4579
4579
|
tagsEditable: e.tagsEditable ?? !1,
|
4580
4580
|
hideImageTaggingHardDelete: e.hideImageTaggingHardDelete,
|
4581
4581
|
resourceFilters: e.resourceFilters ?? [],
|
4582
4582
|
totalCount: e.totalCount ?? 0,
|
4583
4583
|
requestedUserId: e.requestedUserId,
|
4584
|
-
runtimeParams:
|
4584
|
+
runtimeParams: vf(e.runtimeParams)
|
4585
4585
|
} : {
|
4586
4586
|
tagsEditable: !1,
|
4587
4587
|
appReleaseTagNames: [],
|
@@ -4596,7 +4596,7 @@ const Cf = (e, s) => {
|
|
4596
4596
|
} : {
|
4597
4597
|
isApprovalPendingForPromotion: !1,
|
4598
4598
|
imagePromotionApproverEmails: []
|
4599
|
-
},
|
4599
|
+
}, If = (e, s, n, a, r) => {
|
4600
4600
|
if (!e)
|
4601
4601
|
return {
|
4602
4602
|
materials: [],
|
@@ -4604,7 +4604,7 @@ const Cf = (e, s) => {
|
|
4604
4604
|
...Zr(!1, e),
|
4605
4605
|
...eo(e)
|
4606
4606
|
};
|
4607
|
-
const o =
|
4607
|
+
const o = Tf({
|
4608
4608
|
artifacts: e.ci_artifacts,
|
4609
4609
|
offset: n ?? 0,
|
4610
4610
|
artifactId: e.latest_wf_artifact_id,
|
@@ -4616,16 +4616,16 @@ const Cf = (e, s) => {
|
|
4616
4616
|
e
|
4617
4617
|
), i = Qr(e), c = eo(e);
|
4618
4618
|
return {
|
4619
|
-
materials: a && a === Bi.RESOURCE ? o.filter((u) => u.filterState ===
|
4619
|
+
materials: a && a === Bi.RESOURCE ? o.filter((u) => u.filterState === Ws.ALLOWED) : o,
|
4620
4620
|
...l,
|
4621
4621
|
...i,
|
4622
4622
|
...c
|
4623
4623
|
};
|
4624
|
-
},
|
4624
|
+
}, Af = (e) => {
|
4625
4625
|
const { filter: s, ...n } = e;
|
4626
4626
|
return n;
|
4627
4627
|
}, BT = (e, s, n, a, r = {}) => {
|
4628
|
-
const o =
|
4628
|
+
const o = Af(r);
|
4629
4629
|
let l;
|
4630
4630
|
switch (e) {
|
4631
4631
|
case Ga.ROLLBACK:
|
@@ -4640,12 +4640,12 @@ const Cf = (e, s) => {
|
|
4640
4640
|
default:
|
4641
4641
|
l = Ve(`${H.CD_MATERIAL_GET}/${s}/material`, {
|
4642
4642
|
...o,
|
4643
|
-
stage:
|
4643
|
+
stage: xf[n]
|
4644
4644
|
});
|
4645
4645
|
break;
|
4646
4646
|
}
|
4647
4647
|
return re(l, { signal: a }).then(
|
4648
|
-
(i) =>
|
4648
|
+
(i) => If(i.result, n, r.offset, r.filter)
|
4649
4649
|
);
|
4650
4650
|
};
|
4651
4651
|
function Yn(e) {
|
@@ -4670,7 +4670,7 @@ function fn(e, s) {
|
|
4670
4670
|
}
|
4671
4671
|
return "NA";
|
4672
4672
|
}
|
4673
|
-
function
|
4673
|
+
function jf() {
|
4674
4674
|
return re(`${H.DEPLOYMENT_TEMPLATE_LIST}?appId=-1&envId=-1`);
|
4675
4675
|
}
|
4676
4676
|
const $T = () => re(`${H.NOTIFIER}/channel/config`);
|
@@ -4692,7 +4692,7 @@ function to(e) {
|
|
4692
4692
|
const s = `${H.GIT_HOST_EVENT}/${e}`;
|
4693
4693
|
return re(s);
|
4694
4694
|
}
|
4695
|
-
const
|
4695
|
+
const yf = (e, s) => {
|
4696
4696
|
if (!e) return null;
|
4697
4697
|
const n = e.trim().replace(/\.git$/, "").replace(/\/$/, "");
|
4698
4698
|
return n.includes(Es.GITLAB) ? `${n}/-/tree/${s}` : n.includes(Es.GITHUB) ? `${n}/tree/${s}` : n.includes(Es.BITBUCKET) ? `${n}/branch/${s}` : n.includes(Es.AZURE) ? `${n}/src/branch/${s}` : null;
|
@@ -4724,13 +4724,13 @@ const Lf = (e, s) => {
|
|
4724
4724
|
}, ml = () => {
|
4725
4725
|
const [e, s] = j(!1);
|
4726
4726
|
return P(() => {
|
4727
|
-
|
4727
|
+
Ef().then((n) => {
|
4728
4728
|
s(n.result.superAdmin ?? !1);
|
4729
4729
|
}).catch((n) => {
|
4730
4730
|
Re(n);
|
4731
4731
|
});
|
4732
4732
|
}, []), { isSuperAdmin: e };
|
4733
|
-
},
|
4733
|
+
}, Lf = (e, s) => {
|
4734
4734
|
P(() => {
|
4735
4735
|
const n = (a) => {
|
4736
4736
|
e?.current && !e.current.contains(a.target) && s();
|
@@ -4752,7 +4752,7 @@ const so = () => ({
|
|
4752
4752
|
});
|
4753
4753
|
}
|
4754
4754
|
return P(() => (window.addEventListener("resize", n, !1), () => window.removeEventListener("resize", n, !1)), []), e;
|
4755
|
-
}, Cs = 1,
|
4755
|
+
}, Cs = 1, Rf = {
|
4756
4756
|
PAGE_SIZE: "pageSize",
|
4757
4757
|
PAGE_NUMBER: "pageNumber",
|
4758
4758
|
SEARCH_KEY: "searchKey",
|
@@ -4760,12 +4760,12 @@ const so = () => ({
|
|
4760
4760
|
SORT_ORDER: "sortOrder"
|
4761
4761
|
}, no = (e, s) => {
|
4762
4762
|
e && localStorage.setItem(e, s);
|
4763
|
-
}, { PAGE_SIZE: ao, PAGE_NUMBER: Sa, SEARCH_KEY: ro, SORT_BY: oo, SORT_ORDER: io } =
|
4763
|
+
}, { PAGE_SIZE: ao, PAGE_NUMBER: Sa, SEARCH_KEY: ro, SORT_BY: oo, SORT_ORDER: io } = Rf, br = ({
|
4764
4764
|
initialSortKey: e,
|
4765
4765
|
parseSearchParams: s,
|
4766
4766
|
localStorageKey: n
|
4767
4767
|
} = {}) => {
|
4768
|
-
const a =
|
4768
|
+
const a = Kt(), r = zt(), o = X(!1), i = (() => {
|
4769
4769
|
const N = new URLSearchParams(a.search);
|
4770
4770
|
if (!o.current && n)
|
4771
4771
|
if (a.search)
|
@@ -4836,7 +4836,7 @@ const so = () => ({
|
|
4836
4836
|
}), no(n, JSON.stringify(c(i))), x();
|
4837
4837
|
}
|
4838
4838
|
};
|
4839
|
-
}, fl =
|
4839
|
+
}, fl = Wt(null), _n = () => ln(fl), vn = (e) => {
|
4840
4840
|
if (!e)
|
4841
4841
|
throw new Error("keys undefined");
|
4842
4842
|
const s = e.map((n) => `${n}`.toUpperCase()).sort();
|
@@ -4847,13 +4847,13 @@ const so = () => ({
|
|
4847
4847
|
}, In = (e) => {
|
4848
4848
|
if (!e || !Array.isArray(e) || !e.every((s) => typeof s == "function"))
|
4849
4849
|
throw new Error("callback stack is undefined");
|
4850
|
-
},
|
4850
|
+
}, wf = ["input", "textarea", "select"], Of = 300, _l = ({
|
4851
4851
|
ignoreTags: e,
|
4852
4852
|
preventDefault: s = !1,
|
4853
4853
|
shortcutTimeout: n,
|
4854
4854
|
children: a
|
4855
4855
|
}) => {
|
4856
|
-
const r = X(!1), o = X({}), l = X(/* @__PURE__ */ new Set()), i = X(-1), c = e ??
|
4856
|
+
const r = X(!1), o = X({}), l = X(/* @__PURE__ */ new Set()), i = X(-1), c = e ?? wf, d = ye(
|
4857
4857
|
({ keys: x, callback: E, description: T = "" }) => {
|
4858
4858
|
const { keys: S, id: C } = vn(x);
|
4859
4859
|
if (typeof E != "function")
|
@@ -4892,7 +4892,7 @@ const so = () => ({
|
|
4892
4892
|
}, []), g = ye((x) => {
|
4893
4893
|
s && x.preventDefault(), !(c.map((E) => E.toUpperCase()).indexOf(x.target.tagName.toUpperCase()) > -1 || r.current) && (l.current.add(x.key.toUpperCase()), x.ctrlKey && l.current.add("CONTROL"), x.metaKey && l.current.add("META"), x.altKey && l.current.add("ALT"), x.shiftKey && l.current.add("SHIFT"), i.current === -1 && (i.current = setTimeout(() => {
|
4894
4894
|
f();
|
4895
|
-
}, n ??
|
4895
|
+
}, n ?? Of)));
|
4896
4896
|
}, []), _ = ye(() => {
|
4897
4897
|
l.current.clear();
|
4898
4898
|
}, []);
|
@@ -4909,7 +4909,7 @@ const so = () => ({
|
|
4909
4909
|
[d, u, m, p]
|
4910
4910
|
);
|
4911
4911
|
return /* @__PURE__ */ t.jsx(fl.Provider, { value: h, children: a });
|
4912
|
-
},
|
4912
|
+
}, Pf = ({
|
4913
4913
|
initialSortKey: e
|
4914
4914
|
} = {}) => {
|
4915
4915
|
const [s, n] = j({
|
@@ -4962,7 +4962,7 @@ const so = () => ({
|
|
4962
4962
|
},
|
4963
4963
|
offset: d
|
4964
4964
|
};
|
4965
|
-
}, va = [Va ? "Meta" : "Control", "Enter"],
|
4965
|
+
}, va = [Va ? "Meta" : "Control", "Enter"], Df = ({
|
4966
4966
|
appliedFilterOptions: e,
|
4967
4967
|
handleApplyFilter: s,
|
4968
4968
|
options: n,
|
@@ -4988,7 +4988,7 @@ const so = () => ({
|
|
4988
4988
|
}, E = () => {
|
4989
4989
|
s(c), _();
|
4990
4990
|
}, T = () => /* @__PURE__ */ t.jsx("div", { className: "p-8 dc__border-top-n1", children: /* @__PURE__ */ t.jsx(
|
4991
|
-
|
4991
|
+
Ke,
|
4992
4992
|
{
|
4993
4993
|
text: "Apply",
|
4994
4994
|
dataTestId: "filter-select-picker-apply",
|
@@ -5028,7 +5028,7 @@ const so = () => ({
|
|
5028
5028
|
onInputChange: i
|
5029
5029
|
}
|
5030
5030
|
) });
|
5031
|
-
},
|
5031
|
+
}, WT = (e) => /* @__PURE__ */ t.jsx(_l, { ignoreTags: [], children: /* @__PURE__ */ t.jsx(Df, { ...e }) }), Mf = ({
|
5032
5032
|
actionType: e,
|
5033
5033
|
label: s,
|
5034
5034
|
placeholder: n,
|
@@ -5105,7 +5105,7 @@ const so = () => ({
|
|
5105
5105
|
a
|
5106
5106
|
] })
|
5107
5107
|
] });
|
5108
|
-
},
|
5108
|
+
}, kf = ({
|
5109
5109
|
heading: e,
|
5110
5110
|
marker: s,
|
5111
5111
|
children: n,
|
@@ -5137,7 +5137,7 @@ const so = () => ({
|
|
5137
5137
|
] }) }),
|
5138
5138
|
r && /* @__PURE__ */ t.jsx("div", { className: "w-100 dc__border-bottom-n1" })
|
5139
5139
|
] });
|
5140
|
-
},
|
5140
|
+
}, Uf = ({
|
5141
5141
|
handleProfileInputChange: e,
|
5142
5142
|
currentValue: s,
|
5143
5143
|
error: n
|
@@ -5167,7 +5167,7 @@ const so = () => ({
|
|
5167
5167
|
n
|
5168
5168
|
] })
|
5169
5169
|
] });
|
5170
|
-
},
|
5170
|
+
}, Bf = ({
|
5171
5171
|
handleProfileInputChange: e,
|
5172
5172
|
currentValue: s,
|
5173
5173
|
error: n
|
@@ -5189,7 +5189,7 @@ const so = () => ({
|
|
5189
5189
|
inputWrapClassName: "w-100"
|
5190
5190
|
}
|
5191
5191
|
) });
|
5192
|
-
},
|
5192
|
+
}, $f = ({
|
5193
5193
|
defaultHeading: e,
|
5194
5194
|
inheritingData: s,
|
5195
5195
|
isInheriting: n,
|
@@ -5203,7 +5203,7 @@ const so = () => ({
|
|
5203
5203
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 dc__no-shrink", children: Oe.INHERITING_HEADING_DESCRIPTION })
|
5204
5204
|
] })
|
5205
5205
|
] });
|
5206
|
-
},
|
5206
|
+
}, KT = ({
|
5207
5207
|
profileInput: e,
|
5208
5208
|
profileInputErrors: s,
|
5209
5209
|
handleProfileInputChange: n,
|
@@ -5215,7 +5215,7 @@ const so = () => ({
|
|
5215
5215
|
return l ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__mxw-920 dc__gap-16", children: [
|
5216
5216
|
!a && /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12", children: [
|
5217
5217
|
/* @__PURE__ */ t.jsx(
|
5218
|
-
|
5218
|
+
Bf,
|
5219
5219
|
{
|
5220
5220
|
handleProfileInputChange: n,
|
5221
5221
|
currentValue: e.name,
|
@@ -5223,7 +5223,7 @@ const so = () => ({
|
|
5223
5223
|
}
|
5224
5224
|
),
|
5225
5225
|
/* @__PURE__ */ t.jsx(
|
5226
|
-
|
5226
|
+
Uf,
|
5227
5227
|
{
|
5228
5228
|
handleProfileInputChange: n,
|
5229
5229
|
currentValue: e.description,
|
@@ -5233,12 +5233,12 @@ const so = () => ({
|
|
5233
5233
|
] }),
|
5234
5234
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12", children: [
|
5235
5235
|
o,
|
5236
|
-
/* @__PURE__ */ t.jsx("div", { className: "w-100 flexbox-col dc__gap-16 br-4 dc__border-n1 p-16", children:
|
5237
|
-
|
5236
|
+
/* @__PURE__ */ t.jsx("div", { className: "w-100 flexbox-col dc__gap-16 br-4 dc__border-n1 p-16", children: Wr.map((c, d) => /* @__PURE__ */ t.jsx(
|
5237
|
+
kf,
|
5238
5238
|
{
|
5239
5239
|
marker: c.marker,
|
5240
5240
|
heading: /* @__PURE__ */ t.jsx(
|
5241
|
-
|
5241
|
+
$f,
|
5242
5242
|
{
|
5243
5243
|
defaultHeading: c.heading,
|
5244
5244
|
inheritingData: c.actions.map(
|
@@ -5248,13 +5248,13 @@ const so = () => ({
|
|
5248
5248
|
isDefaultProfile: a
|
5249
5249
|
}
|
5250
5250
|
),
|
5251
|
-
showDivider: d !==
|
5251
|
+
showDivider: d !== Wr.length - 1,
|
5252
5252
|
isInheriting: i(c.actions),
|
5253
5253
|
handleProfileInputChange: n,
|
5254
5254
|
locator: c.locator,
|
5255
5255
|
isDefaultProfile: a,
|
5256
5256
|
children: /* @__PURE__ */ t.jsx("div", { className: "w-50 flexbox dc__gap-12 w-100 dc__align-start", children: c.actions.map((u) => /* @__PURE__ */ t.jsx(
|
5257
|
-
|
5257
|
+
Mf,
|
5258
5258
|
{
|
5259
5259
|
actionType: u.actionType,
|
5260
5260
|
label: u.label,
|
@@ -5273,13 +5273,13 @@ const so = () => ({
|
|
5273
5273
|
)) })
|
5274
5274
|
] })
|
5275
5275
|
] }) : /* @__PURE__ */ t.jsx(Te, { pageLoader: !0 });
|
5276
|
-
},
|
5276
|
+
}, Ff = (e, s) => e ? Hp : {
|
5277
5277
|
id: s.id,
|
5278
5278
|
name: s.name,
|
5279
5279
|
description: s.description,
|
5280
5280
|
type: s.type,
|
5281
5281
|
appCount: s.appCount
|
5282
|
-
},
|
5282
|
+
}, Vf = ({
|
5283
5283
|
configurationUnits: e,
|
5284
5284
|
defaultConfigurations: s,
|
5285
5285
|
profile: n,
|
@@ -5311,11 +5311,11 @@ const so = () => ({
|
|
5311
5311
|
return {
|
5312
5312
|
configurationUnits: e,
|
5313
5313
|
profile: {
|
5314
|
-
...n &&
|
5314
|
+
...n && Ff(a, n),
|
5315
5315
|
configurations: l
|
5316
5316
|
}
|
5317
5317
|
};
|
5318
|
-
},
|
5318
|
+
}, Gf = async ({
|
5319
5319
|
name: e,
|
5320
5320
|
fromCreateView: s
|
5321
5321
|
}) => {
|
@@ -5323,7 +5323,7 @@ const so = () => ({
|
|
5323
5323
|
const n = await re(`${H.INFRA_CONFIG_PROFILE}/${e}`), {
|
5324
5324
|
result: { configurationUnits: a, defaultConfigurations: r, profile: o }
|
5325
5325
|
} = n;
|
5326
|
-
return
|
5326
|
+
return Vf({
|
5327
5327
|
configurationUnits: a,
|
5328
5328
|
defaultConfigurations: r,
|
5329
5329
|
profile: o,
|
@@ -5349,10 +5349,10 @@ const so = () => ({
|
|
5349
5349
|
type: e.type,
|
5350
5350
|
configurations: a
|
5351
5351
|
};
|
5352
|
-
},
|
5352
|
+
}, Hf = ({ name: e, profileInput: s }) => {
|
5353
5353
|
const n = hl(s);
|
5354
5354
|
return Ju(`${H.INFRA_CONFIG_PROFILE}/${e}`, n);
|
5355
|
-
},
|
5355
|
+
}, Yf = async ({ profileInput: e }) => {
|
5356
5356
|
const s = hl(e);
|
5357
5357
|
return bt(H.INFRA_CONFIG_PROFILE, s);
|
5358
5358
|
}, An = ({
|
@@ -5411,7 +5411,7 @@ const so = () => ({
|
|
5411
5411
|
handleSuccessRedirection: n
|
5412
5412
|
}) => {
|
5413
5413
|
const a = !e, [r, o, l, i] = Nt(
|
5414
|
-
() =>
|
5414
|
+
() => Gf({
|
5415
5415
|
name: e ?? Gp,
|
5416
5416
|
fromCreateView: a
|
5417
5417
|
}),
|
@@ -5613,7 +5613,7 @@ const so = () => ({
|
|
5613
5613
|
}
|
5614
5614
|
f(!0);
|
5615
5615
|
try {
|
5616
|
-
s ? await
|
5616
|
+
s ? await Hf({ name: e, profileInput: c }) : await Yf({ profileInput: c }), f(!1), $e.showToast({
|
5617
5617
|
variant: be.success,
|
5618
5618
|
description: Oe.getSubmitSuccessMessage(c.name, s)
|
5619
5619
|
}), n ? n() : i();
|
@@ -5682,7 +5682,7 @@ const so = () => ({
|
|
5682
5682
|
height: "100%"
|
5683
5683
|
})
|
5684
5684
|
});
|
5685
|
-
var
|
5685
|
+
var Kf = /* @__PURE__ */ ((e) => (e.email = "email_id", e.lastLogin = "last_login", e))(Kf || {}), zf = /* @__PURE__ */ ((e) => (e.active = "active", e.inactive = "inactive", e))(zf || {}), qf = /* @__PURE__ */ ((e) => (e.active = "active", e.inactive = "inactive", e.temporary = "temporaryAccess", e))(qf || {}), Xf = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(Xf || {});
|
5686
5686
|
const Jf = ({
|
5687
5687
|
id: e,
|
5688
5688
|
name: s,
|
@@ -5715,7 +5715,7 @@ const Jf = ({
|
|
5715
5715
|
children: s[0]
|
5716
5716
|
}
|
5717
5717
|
),
|
5718
|
-
/* @__PURE__ */ t.jsx(cs, { to: `${
|
5718
|
+
/* @__PURE__ */ t.jsx(cs, { to: `${ge.PERMISSION_GROUPS}/${e}`, className: "dc__ellipsis-right anchor cursor", children: s }),
|
5719
5719
|
/* @__PURE__ */ t.jsx("div", { className: "dc__ellipsis-right", children: n || "-" }),
|
5720
5720
|
u && /* @__PURE__ */ t.jsx(
|
5721
5721
|
d,
|
@@ -6106,11 +6106,11 @@ const iS = {
|
|
6106
6106
|
] })
|
6107
6107
|
] }), p_ = (e) => {
|
6108
6108
|
switch (e) {
|
6109
|
-
case
|
6109
|
+
case Ks.PRE:
|
6110
6110
|
return "pre-deployment";
|
6111
|
-
case
|
6111
|
+
case Ks.POST:
|
6112
6112
|
return "post-deployment";
|
6113
|
-
case
|
6113
|
+
case Ks.DEPLOY:
|
6114
6114
|
return "deployment";
|
6115
6115
|
default:
|
6116
6116
|
return "-";
|
@@ -6211,7 +6211,7 @@ const uS = async ({
|
|
6211
6211
|
value: "YYYY-MM-DDTHH:mm:ss.SSSSSSSSS[Z]",
|
6212
6212
|
description: "ISO8601 with nanoseconds"
|
6213
6213
|
}
|
6214
|
-
], __ = "This is a variable. It will be replaced with the value during execution.", _S = () => /* @__PURE__ */ t.jsx(Le, { content: __, placement: "left", animation: "shift-away", alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(
|
6214
|
+
], __ = "This is a variable. It will be replaced with the value during execution.", _S = () => /* @__PURE__ */ t.jsx(Le, { content: __, placement: "left", animation: "shift-away", alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Wc, { className: "icon-dim-18 icon-n4" }) }) }), hS = ({ fileMountDir: e }) => /* @__PURE__ */ t.jsx(
|
6215
6215
|
Q,
|
6216
6216
|
{
|
6217
6217
|
trigger: "click",
|
@@ -6433,7 +6433,7 @@ function b_(e, s) {
|
|
6433
6433
|
const C_ = (e, s = !1) => s ? btoa(e) : atob(e), po = (e, s = !1) => Object.keys(e).map((n) => ({ key: n, value: e[n] ? C_(e[n], s) : e[n] })).reduce((n, a) => (n[a.key] = a.value, n), {}), fo = (e) => !!e && e !== qt, T_ = (e, s) => {
|
6434
6434
|
if (!fo(e) || !fo(s))
|
6435
6435
|
return "-";
|
6436
|
-
const n =
|
6436
|
+
const n = he(s).diff(he(e), "seconds"), a = he(s).diff(he(e), "minutes"), r = he(s).diff(he(e), "hours");
|
6437
6437
|
if (n < 60)
|
6438
6438
|
return `${n}s`;
|
6439
6439
|
if (a < 60)
|
@@ -6494,8 +6494,8 @@ const C_ = (e, s = !1) => s ? btoa(e) : atob(e), po = (e, s = !1) => Object.keys
|
|
6494
6494
|
const a = n.toLowerCase(), r = e[n];
|
6495
6495
|
return r && typeof r == "object" ? s[a] = Sr(r) : s[a] = r, s;
|
6496
6496
|
}, {}), xl = (e, s) => {
|
6497
|
-
const n = Sr(s), r = e === Et.WEBHOOK || n?.webhookdata?.id !== 0 ? n.webhookdata : {}, o =
|
6498
|
-
return o.isValid() ? o.format(
|
6497
|
+
const n = Sr(s), r = e === Et.WEBHOOK || n?.webhookdata?.id !== 0 ? n.webhookdata : {}, o = he(r.data.date, "YYYY-MM-DDTHH:mm:ssZ");
|
6498
|
+
return o.isValid() ? o.format(tt.TWELVE_HOURS_FORMAT) : r.data.date;
|
6499
6499
|
}, L_ = (e) => e.sort(
|
6500
6500
|
(s, n) => x_(
|
6501
6501
|
kr[s.severity],
|
@@ -6506,7 +6506,7 @@ const C_ = (e, s = !1) => s ? btoa(e) : atob(e), po = (e, s = !1) => Object.keys
|
|
6506
6506
|
const s = e?.vulnerabilities || [], n = L_(s);
|
6507
6507
|
return {
|
6508
6508
|
...e || {},
|
6509
|
-
lastExecution: e?.executionTime && e.executionTime !== qt ?
|
6509
|
+
lastExecution: e?.executionTime && e.executionTime !== qt ? he(e.executionTime).format(Yi) : "",
|
6510
6510
|
severityCount: {
|
6511
6511
|
critical: e?.severityCount?.critical ?? 0,
|
6512
6512
|
high: e?.severityCount?.high ?? 0,
|
@@ -6717,7 +6717,7 @@ const C_ = (e, s = !1) => s ? btoa(e) : atob(e), po = (e, s = !1) => Object.keys
|
|
6717
6717
|
className: "flex p-0 dc__transparent dc__hover-remove-btn",
|
6718
6718
|
onClick: i,
|
6719
6719
|
"aria-label": "Remove filter",
|
6720
|
-
children: /* @__PURE__ */ t.jsx(
|
6720
|
+
children: /* @__PURE__ */ t.jsx(st, { className: "icon-dim-12 icon-use-fill-n6" })
|
6721
6721
|
}
|
6722
6722
|
)
|
6723
6723
|
] });
|
@@ -6853,7 +6853,7 @@ const D_ = ({
|
|
6853
6853
|
onClick: u,
|
6854
6854
|
type: "button",
|
6855
6855
|
"aria-label": "remove-docker-args",
|
6856
|
-
children: /* @__PURE__ */ t.jsx(
|
6856
|
+
children: /* @__PURE__ */ t.jsx(st, { className: "icon-dim-24 mt-6 ml-6" })
|
6857
6857
|
}
|
6858
6858
|
)
|
6859
6859
|
] });
|
@@ -7181,13 +7181,13 @@ const B_ = async (e, s) => {
|
|
7181
7181
|
active: !0
|
7182
7182
|
};
|
7183
7183
|
await U_(n);
|
7184
|
-
},
|
7184
|
+
}, Wn = (e, s) => {
|
7185
7185
|
localStorage.setItem(e, `${Gs(s)}`);
|
7186
7186
|
};
|
7187
|
-
var
|
7187
|
+
var Kn = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Kn || {});
|
7188
7188
|
const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className: e, hideGettingStartedCard: s }) => {
|
7189
7189
|
const n = async (r) => {
|
7190
|
-
|
7190
|
+
Wn("clickedOkay", 1), s(), await er(r);
|
7191
7191
|
}, a = async (r) => {
|
7192
7192
|
const o = {
|
7193
7193
|
key: ki,
|
@@ -7248,12 +7248,12 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7248
7248
|
link: Tm,
|
7249
7249
|
icon: mr
|
7250
7250
|
}
|
7251
|
-
], Nl =
|
7251
|
+
], Nl = Wt(null), ma = () => {
|
7252
7252
|
const e = ln(Nl);
|
7253
7253
|
if (!e)
|
7254
7254
|
throw new Error("Please wrap with MainContextProvider");
|
7255
7255
|
return e;
|
7256
|
-
}, wS = ({ children: e, value: s }) => /* @__PURE__ */ t.jsx(Nl.Provider, { value: s, children: e }), bl =
|
7256
|
+
}, wS = ({ children: e, value: s }) => /* @__PURE__ */ t.jsx(Nl.Provider, { value: s, children: e }), bl = Wt(null), OS = () => {
|
7257
7257
|
const e = ln(bl);
|
7258
7258
|
if (!e)
|
7259
7259
|
throw new Error("useImageSelectionUtilityContext must be used within ImageSelectionUtilityProvider");
|
@@ -7261,7 +7261,7 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7261
7261
|
}, PS = ({ children: e, value: s }) => {
|
7262
7262
|
const n = ae(() => s, [s]);
|
7263
7263
|
return /* @__PURE__ */ t.jsx(bl.Provider, { value: n, children: e });
|
7264
|
-
}, Cl =
|
7264
|
+
}, Cl = Wt(null), Tl = () => ln(Cl), DS = ({ children: e }) => {
|
7265
7265
|
const [s, n] = j(""), a = ae(
|
7266
7266
|
() => ({
|
7267
7267
|
email: s,
|
@@ -7281,7 +7281,7 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7281
7281
|
setGettingStartedClicked: r,
|
7282
7282
|
showHelpCard: o
|
7283
7283
|
}) => {
|
7284
|
-
const { currentServerInfo: l } = ma(), i = l?.serverInfo?.installationType ===
|
7284
|
+
const { currentServerInfo: l } = ma(), i = l?.serverInfo?.installationType === Kn.ENTERPRISE, c = `UheGN3KJ#source=${window.location.hostname}`, d = [
|
7285
7285
|
{
|
7286
7286
|
name: "View documentation",
|
7287
7287
|
link: _s,
|
@@ -7345,7 +7345,7 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7345
7345
|
!window._env_.K8S_CLIENT && /* @__PURE__ */ t.jsxs(
|
7346
7346
|
Xe,
|
7347
7347
|
{
|
7348
|
-
to: `/${
|
7348
|
+
to: `/${ge.GETTING_STARTED}`,
|
7349
7349
|
className: "help-card__option dc__no-decor help-card__link flex left cn-9",
|
7350
7350
|
activeClassName: "active",
|
7351
7351
|
onClick: u,
|
@@ -7357,16 +7357,16 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7357
7357
|
),
|
7358
7358
|
_(),
|
7359
7359
|
i && f(),
|
7360
|
-
n?.installationType ===
|
7360
|
+
n?.installationType === Kn.OSS_HELM && /* @__PURE__ */ t.jsxs("div", { className: "help-card__update-option fs-11 fw-6 mt-4", children: [
|
7361
7361
|
a ? /* @__PURE__ */ t.jsx("span", { className: "dc__loading-dots", children: "Checking current version" }) : /* @__PURE__ */ t.jsxs("span", { children: [
|
7362
7362
|
"version ",
|
7363
7363
|
n?.currentVersion || ""
|
7364
7364
|
] }),
|
7365
7365
|
/* @__PURE__ */ t.jsx("br", {}),
|
7366
|
-
/* @__PURE__ */ t.jsx(Xe, { to:
|
7366
|
+
/* @__PURE__ */ t.jsx(Xe, { to: ge.STACK_MANAGER_ABOUT, children: "Check for Updates" })
|
7367
7367
|
] })
|
7368
7368
|
] }) });
|
7369
|
-
},
|
7369
|
+
}, W_ = ({ parentClassName: e = "", isCDMaterial: s = !1 }) => {
|
7370
7370
|
const n = window?._env_?.ANNOUNCEMENT_BANNER_MSG, a = () => {
|
7371
7371
|
const c = typeof Storage < "u" && localStorage.getItem(
|
7372
7372
|
// it will store date and time of next day i.e, it will hide banner until this date
|
@@ -7377,10 +7377,10 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7377
7377
|
if (!n)
|
7378
7378
|
return null;
|
7379
7379
|
const l = () => {
|
7380
|
-
o(!1), typeof Storage < "u" &&
|
7380
|
+
o(!1), typeof Storage < "u" && Wn("expiryDateOfHidingAnnouncementBanner", 1);
|
7381
7381
|
}, i = () => /* @__PURE__ */ t.jsxs("div", { className: "flex", children: [
|
7382
7382
|
/* @__PURE__ */ t.jsx("div", { children: n }),
|
7383
|
-
s ? null : /* @__PURE__ */ t.jsx(
|
7383
|
+
s ? null : /* @__PURE__ */ t.jsx(st, { className: "icon-dim-20 ml-8 fcn-9", onClick: l })
|
7384
7384
|
] });
|
7385
7385
|
return r || s ? /* @__PURE__ */ t.jsx("div", { className: `announcement-banner-container ${e}`, children: /* @__PURE__ */ t.jsx(
|
7386
7386
|
gc,
|
@@ -7391,7 +7391,7 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7391
7391
|
iconSize: 20
|
7392
7392
|
}
|
7393
7393
|
) }) : null;
|
7394
|
-
},
|
7394
|
+
}, K_ = () => {
|
7395
7395
|
const [e, s] = j(!1), {
|
7396
7396
|
FEATURE_PROMO_EMBEDDED_BUTTON_TEXT: n,
|
7397
7397
|
FEATURE_PROMO_EMBEDDED_MODAL_TITLE: a,
|
@@ -7410,7 +7410,7 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7410
7410
|
/* @__PURE__ */ t.jsxs("div", { className: "trigger-modal__header w-100", children: [
|
7411
7411
|
/* @__PURE__ */ t.jsx("h1", { className: "modal__title flex left fs-16 fw-6-imp", "data-testid": "app-details-url-heading", children: a || n }),
|
7412
7412
|
/* @__PURE__ */ t.jsx(
|
7413
|
-
|
7413
|
+
Ke,
|
7414
7414
|
{
|
7415
7415
|
ariaLabel: "promo-header-button",
|
7416
7416
|
dataTestId: "iframe-modal-close-button",
|
@@ -7418,7 +7418,7 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7418
7418
|
onClick: l,
|
7419
7419
|
style: it.negativeGrey,
|
7420
7420
|
variant: Ze.borderLess,
|
7421
|
-
icon: /* @__PURE__ */ t.jsx(
|
7421
|
+
icon: /* @__PURE__ */ t.jsx(st, {}),
|
7422
7422
|
showAriaLabelInTippy: !1
|
7423
7423
|
}
|
7424
7424
|
)
|
@@ -7446,7 +7446,7 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7446
7446
|
) });
|
7447
7447
|
return /* @__PURE__ */ t.jsxs("div", { children: [
|
7448
7448
|
n && /* @__PURE__ */ t.jsx(
|
7449
|
-
|
7449
|
+
Ke,
|
7450
7450
|
{
|
7451
7451
|
dataTestId: "iframe-header-button",
|
7452
7452
|
size: U.small,
|
@@ -7478,9 +7478,9 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7478
7478
|
}
|
7479
7479
|
), [D, M] = j(0), q = async () => {
|
7480
7480
|
try {
|
7481
|
-
const { result:
|
7481
|
+
const { result: W } = await B_(!0, !0);
|
7482
7482
|
V({
|
7483
|
-
serverInfo:
|
7483
|
+
serverInfo: W,
|
7484
7484
|
fetchingServerInfo: !1
|
7485
7485
|
});
|
7486
7486
|
} catch {
|
@@ -7493,12 +7493,12 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7493
7493
|
P(() => {
|
7494
7494
|
M(+localStorage.getItem("clickedOkay"));
|
7495
7495
|
}, []);
|
7496
|
-
const ne = (
|
7497
|
-
_(!1),
|
7496
|
+
const ne = (W) => {
|
7497
|
+
_(!1), W && f(+W);
|
7498
7498
|
}, F = () => {
|
7499
|
-
A(!b), I && N(!1),
|
7500
|
-
}, ce = async (
|
7501
|
-
!window._env_.K8S_CLIENT && y.serverInfo?.installationType !==
|
7499
|
+
A(!b), I && N(!1), Wn("clickedOkay", 1), ne();
|
7500
|
+
}, ce = async (W) => {
|
7501
|
+
!window._env_.K8S_CLIENT && y.serverInfo?.installationType !== Kn.ENTERPRISE && await q(), N(!I), b && A(!1), Wn("clickedOkay", 1), ne(), await er(W, Fa.HELP), os.event({
|
7502
7502
|
category: "Main Navigation",
|
7503
7503
|
action: "Help Clicked"
|
7504
7504
|
});
|
@@ -7524,7 +7524,7 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7524
7524
|
children: R[0]
|
7525
7525
|
}
|
7526
7526
|
)
|
7527
|
-
] }), me = () => (/* @__PURE__ */ new Date()).valueOf() > D, Ae = () => /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-4 lh-18 pt-1 pb-1 pl-6 pr-6 ml-8 cn-9 bcy-5 br-4", children: "Beta" }), B = () => /* @__PURE__ */ t.jsx(
|
7527
|
+
] }), me = () => (/* @__PURE__ */ new Date()).valueOf() > D, Ae = () => /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-4 lh-18 pt-1 pb-1 pl-6 pr-6 ml-8 cn-9 bcy-5 br-4", children: "Beta" }), B = () => /* @__PURE__ */ t.jsx(K_, {});
|
7528
7528
|
return /* @__PURE__ */ t.jsxs(
|
7529
7529
|
"div",
|
7530
7530
|
{
|
@@ -7539,7 +7539,7 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7539
7539
|
type: "button",
|
7540
7540
|
"aria-label": "close-button",
|
7541
7541
|
onClick: c,
|
7542
|
-
children: /* @__PURE__ */ t.jsx(
|
7542
|
+
children: /* @__PURE__ */ t.jsx(st, { className: "dc__page-header__close-icon icon-dim-24 cursor" })
|
7543
7543
|
}
|
7544
7544
|
),
|
7545
7545
|
/* @__PURE__ */ t.jsx("span", { className: "fw-6", "data-testid": "main-header", children: e }),
|
@@ -7625,22 +7625,22 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7625
7625
|
B(),
|
7626
7626
|
Ce()
|
7627
7627
|
] }),
|
7628
|
-
u && /* @__PURE__ */ t.jsx(
|
7628
|
+
u && /* @__PURE__ */ t.jsx(W_, { parentClassName: "page-header-banner" })
|
7629
7629
|
]
|
7630
7630
|
}
|
7631
7631
|
);
|
7632
7632
|
}, kS = ({ headerName: e }) => {
|
7633
|
-
const s =
|
7633
|
+
const s = nt(), n = zt(), a = Kt(), { serverMode: r } = ma(), [o, l] = j(!1), i = () => {
|
7634
7634
|
l((f) => !f);
|
7635
7635
|
}, c = () => {
|
7636
|
-
n.push(
|
7636
|
+
n.push(ge.CHARTS_DISCOVER);
|
7637
7637
|
}, d = () => {
|
7638
|
-
const f = `${
|
7638
|
+
const f = `${ge.APP}/${ge.APP_LIST}/${s.appType ?? $r.AppType.DEVTRON_APPS}`;
|
7639
7639
|
n.push(`${f}/${$r.CREATE_DEVTRON_APP_URL}${a.search}`);
|
7640
7640
|
}, u = () => {
|
7641
|
-
n.push(`${
|
7641
|
+
n.push(`${ge.JOB}/${ge.APP_LIST}/${ge.CREATE_JOB}`);
|
7642
7642
|
}, m = () => r === Di.FULL ? /* @__PURE__ */ t.jsx(
|
7643
|
-
|
7643
|
+
Ke,
|
7644
7644
|
{
|
7645
7645
|
text: "Create",
|
7646
7646
|
onClick: i,
|
@@ -7649,7 +7649,7 @@ const F_ = (e) => bt(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), V_ = ({ className:
|
|
7649
7649
|
size: U.small
|
7650
7650
|
}
|
7651
7651
|
) : /* @__PURE__ */ t.jsx(
|
7652
|
-
|
7652
|
+
Ke,
|
7653
7653
|
{
|
7654
7654
|
text: "Deploy helm charts",
|
7655
7655
|
onClick: c,
|
@@ -8081,7 +8081,7 @@ const xo = (e) => {
|
|
8081
8081
|
style: { height: "14px", width: "14px" }
|
8082
8082
|
}
|
8083
8083
|
) });
|
8084
|
-
},
|
8084
|
+
}, WS = ({ validator: e, isAllSelected: s = !1, ...n }) => {
|
8085
8085
|
const { children: a, data: r, innerProps: o, selectProps: l } = n, { label: i, value: c } = r, d = e ? e(c) : !0;
|
8086
8086
|
return s && c !== "*" ? null : /* @__PURE__ */ t.jsxs(Ie.MultiValueContainer, { data: r, innerProps: o, selectProps: l, children: [
|
8087
8087
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left fs-12 pl-4 pr-4 dc__ellipsis-right", children: [
|
@@ -8114,7 +8114,7 @@ const xo = (e) => {
|
|
8114
8114
|
...e,
|
8115
8115
|
color: s.selectProps.menuIsOpen ? "var(--N500)" : e.color
|
8116
8116
|
})
|
8117
|
-
},
|
8117
|
+
}, KS = (e) => /* @__PURE__ */ t.jsx(sa, { ...e }), Aa = {
|
8118
8118
|
APPLICATION: "Application",
|
8119
8119
|
ENVIRONMENT: "Environment",
|
8120
8120
|
PIPELINE: "Pipeline"
|
@@ -8132,7 +8132,7 @@ const xo = (e) => {
|
|
8132
8132
|
padding: "0 8px"
|
8133
8133
|
}),
|
8134
8134
|
menuPortal: (e) => ({ ...e, zIndex: 9999 })
|
8135
|
-
}, nh = "Not Configured", ah = "--",
|
8135
|
+
}, nh = "Not Configured", ah = "--", xe = {
|
8136
8136
|
SUCCEEDED: "succeeded",
|
8137
8137
|
HEALTHY: "healthy",
|
8138
8138
|
RUNNING: "running",
|
@@ -8155,19 +8155,19 @@ const xo = (e) => {
|
|
8155
8155
|
}, rh = "1", oh = "/resource-browser/1/devtron-ci/pod/k8sEmptyGroup", ih = "devtron-ci", yn = 3, Eo = "deployment-status", lh = ["KIND", "NAME", "SYNC STATUS", "MESSAGE"], No = "STAGE_INFO", ch = "|";
|
8156
8156
|
var Ne = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(Ne || {}), Ft = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(Ft || {});
|
8157
8157
|
const dh = {
|
8158
|
-
[
|
8159
|
-
[
|
8160
|
-
[
|
8161
|
-
[
|
8162
|
-
[
|
8158
|
+
[xe.SUCCEEDED]: "cg-5",
|
8159
|
+
[xe.HEALTHY]: "cg-5",
|
8160
|
+
[xe.FAILED]: "cr-5",
|
8161
|
+
[xe.CANCELLED]: "cr-5",
|
8162
|
+
[xe.ERROR]: "cr-5"
|
8163
8163
|
}, uh = {
|
8164
|
-
[
|
8165
|
-
[
|
8166
|
-
[
|
8167
|
-
[
|
8168
|
-
[
|
8164
|
+
[xe.RUNNING]: "running",
|
8165
|
+
[xe.PROGRESSING]: "progressing",
|
8166
|
+
[xe.STARTING]: "starting",
|
8167
|
+
[xe.INITIATING]: "initiating",
|
8168
|
+
[xe.QUEUED]: "queued"
|
8169
8169
|
};
|
8170
|
-
var
|
8170
|
+
var at = /* @__PURE__ */ ((e) => (e.Degraded = "degraded", e.Healthy = "healthy", e.Progressing = "progressing", e.Missing = "missing", e.Suspended = "suspended", e.Unknown = "unknown", e))(at || {}), sn = /* @__PURE__ */ ((e) => (e.drifted = "drifted", e))(sn || {});
|
8171
8171
|
const bo = {
|
8172
8172
|
missing: 1,
|
8173
8173
|
degraded: 2,
|
@@ -8190,10 +8190,10 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8190
8190
|
showCurrentReleaseDeployments: a
|
8191
8191
|
}) => {
|
8192
8192
|
const r = [
|
8193
|
-
`${
|
8193
|
+
`${We.devtronApplication}|id|${e}`,
|
8194
8194
|
`environment|id|${s}`
|
8195
8195
|
];
|
8196
|
-
return a && r.push(`${
|
8196
|
+
return a && r.push(`${We.release}|id|${n}`), r;
|
8197
8197
|
}, _h = (e) => ({
|
8198
8198
|
cdWorkflows: (e.cdWorkflows || []).map((n) => ({
|
8199
8199
|
...n,
|
@@ -8240,7 +8240,7 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8240
8240
|
}, To = (e) => {
|
8241
8241
|
switch (e) {
|
8242
8242
|
case "success":
|
8243
|
-
return /* @__PURE__ */ t.jsx(
|
8243
|
+
return /* @__PURE__ */ t.jsx(Kd, { className: "icon-dim-20 green-tick", "data-testid": "success-green-tick" });
|
8244
8244
|
case "failed":
|
8245
8245
|
return /* @__PURE__ */ t.jsx(ds, { className: "icon-dim-20" });
|
8246
8246
|
case "unknown":
|
@@ -8248,7 +8248,7 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8248
8248
|
case "inprogress":
|
8249
8249
|
return /* @__PURE__ */ t.jsx("div", { className: "icon-dim-20", children: /* @__PURE__ */ t.jsx("div", { className: "pulse-highlight" }) });
|
8250
8250
|
case "unreachable":
|
8251
|
-
return /* @__PURE__ */ t.jsx(
|
8251
|
+
return /* @__PURE__ */ t.jsx(st, { className: "icon-dim-20" });
|
8252
8252
|
case "loading":
|
8253
8253
|
return /* @__PURE__ */ t.jsx("div", { className: "dc__app-summary__icon icon-dim-20 mr-6 progressing progressing--node" });
|
8254
8254
|
case "disconnect":
|
@@ -8263,11 +8263,11 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8263
8263
|
case Ts.SUCCESS:
|
8264
8264
|
return /* @__PURE__ */ t.jsx(oa, { className: "dc__no-shrink icon-dim-16 scg-5" });
|
8265
8265
|
case Ts.FAILURE:
|
8266
|
-
return /* @__PURE__ */ t.jsx(
|
8266
|
+
return /* @__PURE__ */ t.jsx(st, { className: "dc__no-shrink icon-dim-16 fcr-5" });
|
8267
8267
|
default:
|
8268
8268
|
return /* @__PURE__ */ t.jsx(wi, { className: "dc__no-shrink icon-dim-16 ic-in-progress-orange" });
|
8269
8269
|
}
|
8270
|
-
}, So = () => /* @__PURE__ */ t.jsx(
|
8270
|
+
}, So = () => /* @__PURE__ */ t.jsx(Wd, { className: "icon-dim-20 dc__no-shrink" }), vo = () => /* @__PURE__ */ t.jsx(Ls, { className: "icon-dim-20 dc__no-shrink ic-error-cross-red" }), Io = () => /* @__PURE__ */ t.jsx(wi, { className: "dc__no-shrink icon-dim-20 ic-in-progress-orange" }), Ao = () => /* @__PURE__ */ t.jsx("div", { className: "dc__app-summary__icon dc__no-shrink icon-dim-20 succeeded" }), gh = (e) => {
|
8271
8271
|
const s = e?.toUpperCase();
|
8272
8272
|
switch (s) {
|
8273
8273
|
case G.ABORTED:
|
@@ -8281,17 +8281,17 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8281
8281
|
}
|
8282
8282
|
const n = s?.toLocaleLowerCase();
|
8283
8283
|
switch (n) {
|
8284
|
-
case
|
8284
|
+
case xe.CANCELLED:
|
8285
8285
|
return So();
|
8286
|
-
case
|
8287
|
-
case
|
8286
|
+
case xe.FAILED:
|
8287
|
+
case xe.ERROR:
|
8288
8288
|
return vo();
|
8289
|
-
case
|
8290
|
-
case
|
8291
|
-
case
|
8292
|
-
case
|
8289
|
+
case xe.RUNNING:
|
8290
|
+
case xe.PROGRESSING:
|
8291
|
+
case xe.STARTING:
|
8292
|
+
case xe.INITIATING:
|
8293
8293
|
return Io();
|
8294
|
-
case
|
8294
|
+
case xe.SUCCEEDED:
|
8295
8295
|
return Ao();
|
8296
8296
|
default:
|
8297
8297
|
return /* @__PURE__ */ t.jsx(
|
@@ -8420,7 +8420,7 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8420
8420
|
/* @__PURE__ */ t.jsx("span", { className: "fw-6 fs-16 mb-4", style: { color: za[e.toLowerCase()] }, children: e.toLowerCase() === "cancelled" ? "Aborted" : e }),
|
8421
8421
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column left", children: [
|
8422
8422
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left fs-12 cn-7", children: [
|
8423
|
-
/* @__PURE__ */ t.jsx("div", { children:
|
8423
|
+
/* @__PURE__ */ t.jsx("div", { children: he(s).format(tt.TWELVE_HOURS_FORMAT) }),
|
8424
8424
|
/* @__PURE__ */ t.jsx("div", { className: "dc__bullet ml-6 mr-6" }),
|
8425
8425
|
/* @__PURE__ */ t.jsx("div", { children: n === 1 ? "auto trigger" : a })
|
8426
8426
|
] }),
|
@@ -8486,7 +8486,7 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8486
8486
|
runSource: p,
|
8487
8487
|
resourceId: f
|
8488
8488
|
}) => {
|
8489
|
-
const { path: g, params: _ } = yt(), { pathname: h } =
|
8489
|
+
const { path: g, params: _ } = yt(), { pathname: h } = Kt(), x = h.split("/").pop(), { envId: E, ...T } = nt(), S = c === Ne.CD || c === Ne.GROUP_CD, C = S ? "triggerId" : "buildId", v = f === p?.id, I = X(null), N = () => {
|
8490
8490
|
const y = {
|
8491
8491
|
...T,
|
8492
8492
|
envId: E,
|
@@ -8537,7 +8537,7 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8537
8537
|
gh(s),
|
8538
8538
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-8", children: [
|
8539
8539
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column left", children: [
|
8540
|
-
/* @__PURE__ */ t.jsx("div", { className: "cn-9 fs-13 lh-20", children:
|
8540
|
+
/* @__PURE__ */ t.jsx("div", { className: "cn-9 fs-13 lh-20", children: he(n).format(tt.TWELVE_HOURS_FORMAT) }),
|
8541
8541
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left cn-7 fs-12", children: [
|
8542
8542
|
S && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
8543
8543
|
/* @__PURE__ */ t.jsx("div", { className: "dc__first-letter-capitalize dc__no-shrink", children: ["pre", "post"].includes(d?.toLowerCase()) ? `${d}-deploy` : d }),
|
@@ -8572,7 +8572,7 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8572
8572
|
renderRunSource: c,
|
8573
8573
|
resourceId: d
|
8574
8574
|
}) => {
|
8575
|
-
const { pipelineId: u, appId: m, envId: p } =
|
8575
|
+
const { pipelineId: u, appId: m, envId: p } = nt(), { push: f } = zt(), { path: g } = yt(), _ = (v) => {
|
8576
8576
|
e === Ne.CI ? (r({ offset: 0, size: 20 }), f(ns(g, { appId: m, pipelineId: v.value }))) : e === Ne.GROUP_CI ? (r({ offset: 0, size: 20 }), f(ns(g, { envId: p, pipelineId: v.pipelineId }))) : e === Ne.GROUP_CD ? (r({ offset: 0, size: 20 }), f(ns(g, { envId: p, appId: v.value, pipelineId: v.pipelineId }))) : (r({ offset: 0, size: 20 }), f(ns(g, { appId: m, envId: v.value, pipelineId: v.pipelineId })));
|
8577
8577
|
}, h = () => {
|
8578
8578
|
os.event({
|
@@ -8676,7 +8676,7 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8676
8676
|
appList: s.appList.sort((n, a) => ke(n.name, a.name))
|
8677
8677
|
})).sort((s, n) => ke(s.projectName, n.projectName)) : [];
|
8678
8678
|
}, Ch = async () => {
|
8679
|
-
const { result: e } = await
|
8679
|
+
const { result: e } = await gf();
|
8680
8680
|
return e ? e.map(({ id: s, name: n }) => ({
|
8681
8681
|
id: s,
|
8682
8682
|
name: n
|
@@ -8705,7 +8705,7 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8705
8705
|
name: r,
|
8706
8706
|
isVirtual: o ?? !1,
|
8707
8707
|
cluster: l,
|
8708
|
-
environmentType: i ?
|
8708
|
+
environmentType: i ? Ka.production : Ka.nonProduction,
|
8709
8709
|
namespace: c
|
8710
8710
|
})
|
8711
8711
|
).sort((a, r) => ke(a.name, r.name));
|
@@ -8718,20 +8718,20 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8718
8718
|
}, vh = (e) => e.reduce(
|
8719
8719
|
(s, n) => (s[n] = !0, s),
|
8720
8720
|
{
|
8721
|
-
[
|
8722
|
-
[
|
8723
|
-
[
|
8724
|
-
[
|
8721
|
+
[We.devtronApplication]: !1,
|
8722
|
+
[We.project]: !1,
|
8723
|
+
[We.cluster]: !1,
|
8724
|
+
[We.environment]: !1
|
8725
8725
|
}
|
8726
8726
|
), XS = ({
|
8727
8727
|
resourcesToFetch: e
|
8728
8728
|
}) => {
|
8729
8729
|
const s = ae(() => vh(e), [e]), [n, a, r, o] = Nt(
|
8730
8730
|
() => Promise.all([
|
8731
|
-
s[
|
8732
|
-
s[
|
8733
|
-
s[
|
8734
|
-
s[
|
8731
|
+
s[We.devtronApplication] ? bh() : null,
|
8732
|
+
s[We.project] ? Ch() : null,
|
8733
|
+
s[We.cluster] ? Th() : null,
|
8734
|
+
s[We.environment] ? Sh() : null
|
8735
8735
|
]),
|
8736
8736
|
[s],
|
8737
8737
|
e.length > 0
|
@@ -8739,10 +8739,10 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8739
8739
|
return {
|
8740
8740
|
isResourcesOptionsLoading: n,
|
8741
8741
|
resourcesOptionsMap: {
|
8742
|
-
[
|
8743
|
-
[
|
8744
|
-
[
|
8745
|
-
[
|
8742
|
+
[We.devtronApplication]: a?.[0] ?? [],
|
8743
|
+
[We.project]: a?.[1] ?? [],
|
8744
|
+
[We.cluster]: a?.[2] ?? [],
|
8745
|
+
[We.environment]: a?.[3] ?? []
|
8746
8746
|
},
|
8747
8747
|
resourcesOptionsError: r,
|
8748
8748
|
refetchResourcesOptions: o
|
@@ -8986,17 +8986,17 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8986
8986
|
rootClassName: f,
|
8987
8987
|
renderCIListHeader: g
|
8988
8988
|
}) => {
|
8989
|
-
const { isSuperAdmin: _ } = ml(), { handleDownload: h } = Ah(), { triggerId: x, buildId: E } =
|
8989
|
+
const { isSuperAdmin: _ } = ml(), { handleDownload: h } = Ah(), { triggerId: x, buildId: E } = nt();
|
8990
8990
|
async function T() {
|
8991
8991
|
await h({
|
8992
8992
|
downloadUrl: r,
|
8993
8993
|
fileName: `${E || x}.zip`
|
8994
8994
|
});
|
8995
8995
|
}
|
8996
|
-
if (e.toLowerCase() ===
|
8996
|
+
if (e.toLowerCase() === xe.RUNNING || e.toLowerCase() === xe.STARTING)
|
8997
8997
|
return /* @__PURE__ */ t.jsx(jh, {});
|
8998
8998
|
if (!a && !l) {
|
8999
|
-
if (e.toLowerCase() ===
|
8999
|
+
if (e.toLowerCase() === xe.FAILED || e.toLowerCase() === xe.CANCELLED || e.toLowerCase() === xe.ERROR)
|
9000
9000
|
return /* @__PURE__ */ t.jsx(
|
9001
9001
|
ze,
|
9002
9002
|
{
|
@@ -9004,7 +9004,7 @@ const mh = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9004
9004
|
subTitle: i ? ve.ARTIFACTS_EMPTY_STATE_TEXTS.FailedToFetchArtifactsError : ve.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsError
|
9005
9005
|
}
|
9006
9006
|
);
|
9007
|
-
if (e.toLowerCase() ===
|
9007
|
+
if (e.toLowerCase() === xe.SUCCEEDED)
|
9008
9008
|
return /* @__PURE__ */ t.jsx(
|
9009
9009
|
ze,
|
9010
9010
|
{
|
@@ -9247,9 +9247,9 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9247
9247
|
}, nn = (e, s, n) => {
|
9248
9248
|
let a;
|
9249
9249
|
const r = { codeEditorValue: e.codeEditorValue, values: {} };
|
9250
|
-
return delete e.codeEditorValue, s ===
|
9250
|
+
return delete e.codeEditorValue, s === ot.DEPLOYMENT_TEMPLATE.VALUE ? a = Dh(e) : s === ot.PIPELINE_STRATEGY.VALUE ? a = Mh(e) : a = kh(
|
9251
9251
|
e,
|
9252
|
-
s ===
|
9252
|
+
s === ot.CONFIGMAP.VALUE ? ot.CONFIGMAP.DISPLAY_NAME : ot.SECRET.DISPLAY_NAME,
|
9253
9253
|
r,
|
9254
9254
|
n
|
9255
9255
|
), r.values = a, r;
|
@@ -9272,7 +9272,7 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9272
9272
|
showCurrentReleaseDeployments: r = !1
|
9273
9273
|
}) => {
|
9274
9274
|
const o = Ve(
|
9275
|
-
`${H.RESOURCE_HISTORY_DEPLOYMENT}/${
|
9275
|
+
`${H.RESOURCE_HISTORY_DEPLOYMENT}/${We.cdPipeline}/${gr.v1}`,
|
9276
9276
|
{
|
9277
9277
|
filterCriteria: fh({ appId: e, envId: s, releaseId: a, showCurrentReleaseDeployments: r }),
|
9278
9278
|
offset: n.offset,
|
@@ -9412,12 +9412,12 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9412
9412
|
}
|
9413
9413
|
return P(() => (e && h(), p), [e, s]), [n, u.current, o];
|
9414
9414
|
}, Vh = ({ triggerDetails: e, isBlobStorageConfigured: s, parentType: n, fullScreenView: a }) => {
|
9415
|
-
const { pipelineId: r, envId: o, appId: l } =
|
9415
|
+
const { pipelineId: r, envId: o, appId: l } = nt(), i = n === Ne.CI ? `${Bn}/${H.CI_CONFIG_GET}/${r}/workflow/${e.id}/logs` : `${Bn}/${H.CD_MATERIAL_GET}/workflow/logs/${l}/${o}/${r}/${e.id}`, [c, d, u] = Fh(
|
9416
9416
|
e.podStatus && e.podStatus !== ja.PENDING && i
|
9417
9417
|
), [m, p] = j([]), [f, g] = j([]), [_, h] = j(0), [x, E] = j([]), { searchKey: T, handleSearch: S } = br(), C = f.length > 0, v = ae(() => m.every((B) => B.isOpen), [m]), I = v ? "Collapse all stages" : "Expand all stages", { registerShortcut: N, unregisterShortcut: b } = _n(), A = window._env_.FEATURE_STEP_WISE_LOGS_ENABLE && c[0]?.startsWith(No) || !1;
|
9418
9418
|
function R({
|
9419
9419
|
log: B,
|
9420
|
-
currentIndex:
|
9420
|
+
currentIndex: W = -1,
|
9421
9421
|
targetSearchKey: ie = T,
|
9422
9422
|
searchMatchResults: oe = null,
|
9423
9423
|
searchIndex: Ee = ""
|
@@ -9429,7 +9429,7 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9429
9429
|
B = $.reduce((fe, Pe, Ge) => {
|
9430
9430
|
try {
|
9431
9431
|
w = w || Z.test(Pe), fe.push(
|
9432
|
-
Pe.replace(Z, (qe) => (Ee && oe?.push(Ee), `\x1B[0m\x1B[48;2;${oe &&
|
9432
|
+
Pe.replace(Z, (qe) => (Ee && oe?.push(Ee), `\x1B[0m\x1B[48;2;${oe && W === oe.length - 1 ? "0;102;204" : "197;141;54"}m${qe}\x1B[0m${Ge > 0 ? k[Ge - 1] : ""}`))
|
9433
9433
|
);
|
9434
9434
|
} catch {
|
9435
9435
|
fe.push(Pe);
|
@@ -9445,10 +9445,10 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9445
9445
|
return { __html: B, isSearchKeyPresent: w };
|
9446
9446
|
}
|
9447
9447
|
}
|
9448
|
-
const y = (B,
|
9449
|
-
const Ee = m.length === 0, w =
|
9448
|
+
const y = (B, W, ie, oe) => {
|
9449
|
+
const Ee = m.length === 0, w = W ?? !0;
|
9450
9450
|
return oe ? ie || w : Ee ? B !== Ts.SUCCESS || ie : w;
|
9451
|
-
}, V = e.podStatus === ja.PENDING || !!(d && d.readyState <= 1), D = (B,
|
9451
|
+
}, V = e.podStatus === ja.PENDING || !!(d && d.readyState <= 1), D = (B, W) => {
|
9452
9452
|
const ie = m.reduce(
|
9453
9453
|
(L, $) => (L[$.stage] || (L[$.stage] = {}), L[$.stage][$.startTime] = $, L),
|
9454
9454
|
{}
|
@@ -9463,7 +9463,7 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9463
9463
|
Pe,
|
9464
9464
|
qe.isOpen,
|
9465
9465
|
!!oe[Z]?.[pe],
|
9466
|
-
!!
|
9466
|
+
!!W
|
9467
9467
|
);
|
9468
9468
|
else {
|
9469
9469
|
const pt = V ? Ts.PROGRESSING : Ts.FAILURE;
|
@@ -9477,7 +9477,7 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9477
9477
|
qe.isOpen,
|
9478
9478
|
// Wont be present in case of start stage since no logs are present yet
|
9479
9479
|
!!oe[Z]?.[pe],
|
9480
|
-
!!
|
9480
|
+
!!W
|
9481
9481
|
),
|
9482
9482
|
status: pt,
|
9483
9483
|
logs: []
|
@@ -9495,14 +9495,14 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9495
9495
|
log: $,
|
9496
9496
|
currentIndex: B,
|
9497
9497
|
searchMatchResults: Ee,
|
9498
|
-
targetSearchKey:
|
9498
|
+
targetSearchKey: W,
|
9499
9499
|
searchIndex: pe
|
9500
9500
|
});
|
9501
9501
|
Z.logs.push(fe), Pe && (Z.isOpen = y(
|
9502
9502
|
Z.status,
|
9503
9503
|
ie[Z.stage]?.[Z.startTime]?.isOpen,
|
9504
9504
|
!0,
|
9505
|
-
!!
|
9505
|
+
!!W
|
9506
9506
|
), oe[Z.stage] || (oe[Z.stage] = {}), oe[Z.stage][Z.startTime] = !0);
|
9507
9507
|
}
|
9508
9508
|
return L;
|
@@ -9513,8 +9513,8 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9513
9513
|
if (!c?.length)
|
9514
9514
|
return;
|
9515
9515
|
if (!A) {
|
9516
|
-
const
|
9517
|
-
E(
|
9516
|
+
const W = c.map((ie) => R({ log: ie }).__html);
|
9517
|
+
E(W);
|
9518
9518
|
return;
|
9519
9519
|
}
|
9520
9520
|
const B = D(_);
|
@@ -9522,8 +9522,8 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9522
9522
|
}, [c, V]);
|
9523
9523
|
const M = ye(() => {
|
9524
9524
|
p(
|
9525
|
-
(B) => B.map((
|
9526
|
-
...
|
9525
|
+
(B) => B.map((W) => ({
|
9526
|
+
...W,
|
9527
9527
|
isOpen: !v
|
9528
9528
|
}))
|
9529
9529
|
);
|
@@ -9531,10 +9531,10 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9531
9531
|
P(() => (N({ callback: M, keys: ["E"] }), () => {
|
9532
9532
|
b(["E"]);
|
9533
9533
|
}), [M]);
|
9534
|
-
const q = (B,
|
9534
|
+
const q = (B, W = T) => {
|
9535
9535
|
if (f.length > 0 || B === "reset") {
|
9536
9536
|
let ie = 0;
|
9537
|
-
B === "next" ? ie = (_ + 1) % f.length : B === "prev" && (ie = _ > 0 ? _ - 1 : f.length - 1), h(ie), p(D(ie,
|
9537
|
+
B === "next" ? ie = (_ + 1) % f.length : B === "prev" && (ie = _ > 0 ? _ - 1 : f.length - 1), h(ie), p(D(ie, W));
|
9538
9538
|
}
|
9539
9539
|
}, ne = () => {
|
9540
9540
|
q("next");
|
@@ -9543,11 +9543,11 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9543
9543
|
}, ce = (B) => {
|
9544
9544
|
S(B), T === B ? ne() : q("reset", B);
|
9545
9545
|
}, Ce = (B) => {
|
9546
|
-
const
|
9547
|
-
|
9546
|
+
const W = structuredClone(m);
|
9547
|
+
W[B].isOpen = !1, p(W);
|
9548
9548
|
}, me = (B) => {
|
9549
|
-
const
|
9550
|
-
|
9549
|
+
const W = structuredClone(m);
|
9550
|
+
W[B].isOpen = !0, p(W);
|
9551
9551
|
}, Ae = () => A ? /* @__PURE__ */ t.jsxs(
|
9552
9552
|
"div",
|
9553
9553
|
{
|
@@ -9636,11 +9636,11 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9636
9636
|
] })
|
9637
9637
|
}
|
9638
9638
|
),
|
9639
|
-
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col px-12 dc__gap-4", children: m.map(({ stage: B, isOpen:
|
9639
|
+
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col px-12 dc__gap-4", children: m.map(({ stage: B, isOpen: W, logs: ie, endTime: oe, startTime: Ee, status: w }, L) => /* @__PURE__ */ t.jsx(
|
9640
9640
|
Uh,
|
9641
9641
|
{
|
9642
9642
|
stage: B,
|
9643
|
-
isOpen:
|
9643
|
+
isOpen: W,
|
9644
9644
|
logs: ie,
|
9645
9645
|
endTime: oe,
|
9646
9646
|
startTime: Ee,
|
@@ -9657,10 +9657,10 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9657
9657
|
]
|
9658
9658
|
}
|
9659
9659
|
) : /* @__PURE__ */ t.jsxs("div", { className: "logs__body dark-background flex-grow-1", "data-testid": "check-logs-detail", children: [
|
9660
|
-
x.map((B,
|
9660
|
+
x.map((B, W) => (
|
9661
9661
|
// eslint-disable-next-line react/no-array-index-key
|
9662
9662
|
/* @__PURE__ */ t.jsxs("div", { className: "flex top left mb-10 lh-24", children: [
|
9663
|
-
/* @__PURE__ */ t.jsx("span", { className: "cn-4 col-2 pr-10", children:
|
9663
|
+
/* @__PURE__ */ t.jsx("span", { className: "cn-4 col-2 pr-10", children: W + 1 }),
|
9664
9664
|
/* @__PURE__ */ t.jsx(
|
9665
9665
|
"p",
|
9666
9666
|
{
|
@@ -9670,7 +9670,7 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9670
9670
|
}
|
9671
9671
|
}
|
9672
9672
|
)
|
9673
|
-
] }, `logs-${
|
9673
|
+
] }, `logs-${W}`)
|
9674
9674
|
)),
|
9675
9675
|
V && /* @__PURE__ */ t.jsx("div", { className: "flex left event-source-status", children: /* @__PURE__ */ t.jsx(Te, {}) })
|
9676
9676
|
] });
|
@@ -9738,20 +9738,20 @@ const ZS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9738
9738
|
let r = 0, o = 0, l = 0, i = 0, c = 0, d = 0;
|
9739
9739
|
e?.forEach((h) => {
|
9740
9740
|
const x = h.health?.status;
|
9741
|
-
h.hasDrift && (d += 1), x?.toLowerCase() ===
|
9741
|
+
h.hasDrift && (d += 1), x?.toLowerCase() === at.Healthy ? o += 1 : x?.toLowerCase() === at.Degraded ? i += 1 : x?.toLowerCase() === at.Progressing ? l += 1 : x?.toLowerCase() === at.Missing && (c += 1), r += 1;
|
9742
9742
|
});
|
9743
9743
|
const u = (h) => {
|
9744
9744
|
n(h.target.value);
|
9745
9745
|
}, p = [
|
9746
9746
|
{ status: Fn, count: r, isSelected: s == Fn },
|
9747
|
-
{ status:
|
9748
|
-
{ status:
|
9747
|
+
{ status: at.Missing, count: c, isSelected: at.Missing == s },
|
9748
|
+
{ status: at.Degraded, count: i, isSelected: at.Degraded == s },
|
9749
9749
|
{
|
9750
|
-
status:
|
9750
|
+
status: at.Progressing,
|
9751
9751
|
count: l,
|
9752
|
-
isSelected:
|
9752
|
+
isSelected: at.Progressing == s
|
9753
9753
|
},
|
9754
|
-
{ status:
|
9754
|
+
{ status: at.Healthy, count: o, isSelected: at.Healthy == s },
|
9755
9755
|
window._env_.FEATURE_CONFIG_DRIFT_ENABLE && {
|
9756
9756
|
status: sn.drifted,
|
9757
9757
|
count: d,
|
@@ -9863,11 +9863,11 @@ function vr(e, s, n) {
|
|
9863
9863
|
return s;
|
9864
9864
|
}
|
9865
9865
|
const Yh = (e, s) => e?.toLowerCase() == "degraded" || s?.toLowerCase() == "degraded" ? "degraded" : e?.toLowerCase() == "progressing" || s?.toLowerCase() == "progressing" ? "progressing" : "healthy";
|
9866
|
-
function
|
9866
|
+
function Wh(e, s) {
|
9867
9867
|
const n = e.filter((a) => a.kind.toLowerCase() == s.toLowerCase()).map((a) => a);
|
9868
9868
|
return vr(e, n);
|
9869
9869
|
}
|
9870
|
-
function
|
9870
|
+
function Kh(e) {
|
9871
9871
|
const s = [...e.filter((o) => o.kind.toLowerCase() == J.Pod.toLowerCase())], n = /* @__PURE__ */ new Map();
|
9872
9872
|
e.forEach((o) => {
|
9873
9873
|
const l = `${o.group}/${o.kind}/${o.name}`;
|
@@ -9930,7 +9930,7 @@ const zh = (e, s) => {
|
|
9930
9930
|
getAppDetailsNodesFilteredObservable: () => Mn.asObservable(),
|
9931
9931
|
getiNodesByKind: (e) => {
|
9932
9932
|
const s = Lt.getValue();
|
9933
|
-
return
|
9933
|
+
return Wh(s, e);
|
9934
9934
|
},
|
9935
9935
|
getNodesByKind: (e) => Lt.getValue().filter((n) => n.kind.toLowerCase() === e.toLowerCase()),
|
9936
9936
|
getMetaDataForPod: (e) => Qe.getValue().resourceTree?.podMetadata?.filter((s) => s.name === e)[0] || {},
|
@@ -9942,7 +9942,7 @@ const zh = (e, s) => {
|
|
9942
9942
|
getAllPodNames: () => Lt.getValue().filter((e) => e.kind === J.Pod).map((e) => e.name),
|
9943
9943
|
getPodsRootParentNameAndStatus: () => {
|
9944
9944
|
const e = Lt.getValue();
|
9945
|
-
return
|
9945
|
+
return Kh(e);
|
9946
9946
|
},
|
9947
9947
|
getAllContainersForPod: (e) => Qe.getValue().resourceTree?.podMetadata?.find((s) => s.name === e)?.containers,
|
9948
9948
|
getAllContainers: () => {
|
@@ -9993,7 +9993,7 @@ const zh = (e, s) => {
|
|
9993
9993
|
onClose: a
|
9994
9994
|
}) => {
|
9995
9995
|
const r = zt(), o = wl.getAppDetails(), [l, i] = j(Fn), [c, d] = j([]), { appId: u, environmentId: m } = o, p = () => {
|
9996
|
-
a(), r.push(`${
|
9996
|
+
a(), r.push(`${ge.APP}/${u}${ge.DETAILS}/${m}/${ge.APP_DETAILS_K8}/${ge.CONFIG_DRIFT}`);
|
9997
9997
|
}, f = ae(
|
9998
9998
|
() => b_(o.resourceTree?.nodes || [], o.resourceTree?.podMetadata || []),
|
9999
9999
|
[o]
|
@@ -10063,7 +10063,7 @@ const zh = (e, s) => {
|
|
10063
10063
|
n && h.hasDrift && /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center", children: [
|
10064
10064
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 cy-7", children: "Config drift detected" }),
|
10065
10065
|
a && u && m && /* @__PURE__ */ t.jsx(
|
10066
|
-
|
10066
|
+
Ke,
|
10067
10067
|
{
|
10068
10068
|
dataTestId: "show-config-drift",
|
10069
10069
|
text: "Compare with desired",
|
@@ -10106,7 +10106,7 @@ const zh = (e, s) => {
|
|
10106
10106
|
hideVerticalConnector: s,
|
10107
10107
|
deploymentDetailedData: n
|
10108
10108
|
}) => {
|
10109
|
-
const { appId: a, envId: r } =
|
10109
|
+
const { appId: a, envId: r } = nt(), o = n.deploymentStatusBreakdown[e], [l, i] = j(o.isCollapsed), c = ["inprogress", "failed", "disconnect", "timed_out"], d = e === G.HELM_MANIFEST_PUSHED_TO_HELM_REPO && n.deploymentStatus === _m.failed;
|
10110
10110
|
P(() => {
|
10111
10111
|
i(o.isCollapsed);
|
10112
10112
|
}, [o.isCollapsed]);
|
@@ -10153,7 +10153,7 @@ const zh = (e, s) => {
|
|
10153
10153
|
/* @__PURE__ */ t.jsx(
|
10154
10154
|
"div",
|
10155
10155
|
{
|
10156
|
-
className: `app-summary__status-name f-${_.resourceStatus ? _.resourceStatus.toLowerCase() ===
|
10156
|
+
className: `app-summary__status-name f-${_.resourceStatus ? _.resourceStatus.toLowerCase() === xe.RUNNING ? xe.PROGRESSING : _.resourceStatus.toLowerCase() : ""}`,
|
10157
10157
|
children: _.resourceStatus
|
10158
10158
|
}
|
10159
10159
|
),
|
@@ -10203,8 +10203,8 @@ const zh = (e, s) => {
|
|
10203
10203
|
{
|
10204
10204
|
"data-testid": "deployment-status-kubernetes-dropdown",
|
10205
10205
|
className: `pl-8 pr-8 pt-4 pb-4 br-12 ${o.icon === "failed" ? "bcr-1 cr-5" : "bcg-1 cg-7"}`,
|
10206
|
-
children:
|
10207
|
-
|
10206
|
+
children: he(o.time, "YYYY-MM-DDTHH:mm:ssZ").format(
|
10207
|
+
tt.TWELVE_HOURS_FORMAT
|
10208
10208
|
)
|
10209
10209
|
}
|
10210
10210
|
),
|
@@ -10242,7 +10242,7 @@ const Xh = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
10242
10242
|
] }), Jh = ({ appDetails: e }) => {
|
10243
10243
|
const [s, n] = j(!1);
|
10244
10244
|
return P(() => {
|
10245
|
-
if (e.appType ===
|
10245
|
+
if (e.appType === Wa.DEVTRON_APP && e.resourceTree?.nodes?.length)
|
10246
10246
|
for (let a = 0; a < e.resourceTree.nodes.length; a++) {
|
10247
10247
|
const r = e.resourceTree.nodes[a];
|
10248
10248
|
let o = !1;
|
@@ -10260,7 +10260,7 @@ const Xh = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
10260
10260
|
}
|
10261
10261
|
}
|
10262
10262
|
}
|
10263
|
-
}, [e]), !e || e.appType !==
|
10263
|
+
}, [e]), !e || e.appType !== Wa.DEVTRON_APP || !e.resourceTree || !e.resourceTree.nodes || e.externalCi ? null : s && /* @__PURE__ */ t.jsxs("div", { className: "er-2 bw-1 br-4 m-20 fs-13", children: [
|
10264
10264
|
/* @__PURE__ */ t.jsxs("div", { className: "bcr-1 pl-12 pr-12 pt-8 pb-8 dc__border-bottom-r2 flex left", children: [
|
10265
10265
|
/* @__PURE__ */ t.jsx(xd, { className: "icon-dim-24 mr-8" }),
|
10266
10266
|
" ",
|
@@ -10283,7 +10283,7 @@ const Xh = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
10283
10283
|
/* @__PURE__ */ t.jsx(
|
10284
10284
|
Xe,
|
10285
10285
|
{
|
10286
|
-
to: `/app/${e.appId}/${
|
10286
|
+
to: `/app/${e.appId}/${ge.APP_TRIGGER}`,
|
10287
10287
|
className: "cb-5 fs-13 anchor w-auto dc__no-decor flex",
|
10288
10288
|
children: " Go to Deploy"
|
10289
10289
|
}
|
@@ -10315,7 +10315,7 @@ const Xh = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
10315
10315
|
/* @__PURE__ */ t.jsx(
|
10316
10316
|
Xe,
|
10317
10317
|
{
|
10318
|
-
to: `${
|
10318
|
+
to: `${ge.GLOBAL_CONFIG_DOCKER}/${e.dockerRegistryId}`,
|
10319
10319
|
className: "cb-5 fs-13 anchor w-auto dc__no-decor flex ml-8",
|
10320
10320
|
children: "Manage access "
|
10321
10321
|
}
|
@@ -10331,7 +10331,7 @@ const Xh = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
10331
10331
|
}) => {
|
10332
10332
|
const n = wl.getAppDetails(), { url: a } = yt(), r = e.deploymentStatusBreakdown[G.HELM_MANIFEST_PUSHED_TO_HELM_REPO]?.showHelmManifest;
|
10333
10333
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
10334
|
-
!a.includes(`/${
|
10334
|
+
!a.includes(`/${ge.CD_DETAILS}`) && /* @__PURE__ */ t.jsx(Jh, { appDetails: n }),
|
10335
10335
|
/* @__PURE__ */ t.jsxs(
|
10336
10336
|
"div",
|
10337
10337
|
{
|
@@ -10434,7 +10434,7 @@ const Qh = ({
|
|
10434
10434
|
processVirtualEnvironmentDeploymentData: i,
|
10435
10435
|
renderDeploymentApprovalInfo: c
|
10436
10436
|
}) => {
|
10437
|
-
const d = zt(), { url: u } = yt(), { appId: m, envId: p, triggerId: f } =
|
10437
|
+
const d = zt(), { url: u } = yt(), { appId: m, envId: p, triggerId: f } = nt(), [g, _] = j(
|
10438
10438
|
e?.toUpperCase() !== G.ABORTED
|
10439
10439
|
), h = X(l), x = h.current && i ? i() : mo(), [E, T] = j(x), S = () => {
|
10440
10440
|
Ln && clearTimeout(Ln);
|
@@ -10462,13 +10462,13 @@ const Qh = ({
|
|
10462
10462
|
}, I = () => {
|
10463
10463
|
if (n) {
|
10464
10464
|
d.push({
|
10465
|
-
pathname: `${
|
10465
|
+
pathname: `${ge.APP}/${ge.DEVTRON_CHARTS}/${ge.APP_DEPLOYMNENT_HISTORY}/${m}/env/${p}/${ge.DETAILS}/${ge.APP_DETAILS_K8}`,
|
10466
10466
|
search: Eo
|
10467
10467
|
});
|
10468
10468
|
return;
|
10469
10469
|
}
|
10470
10470
|
d.push({
|
10471
|
-
pathname: `${
|
10471
|
+
pathname: `${ge.APP}/${m}/${ge.APP_DETAILS}/${p}/${ge.APP_DETAILS_K8}`,
|
10472
10472
|
search: Eo
|
10473
10473
|
});
|
10474
10474
|
}, N = () => !h.current && !E?.deploymentStatusBreakdown?.APP_HEALTH?.isCollapsed ? /* @__PURE__ */ t.jsx("div", { className: "h-100 flex", children: /* @__PURE__ */ t.jsx(
|
@@ -10527,7 +10527,7 @@ const Qh = ({
|
|
10527
10527
|
tabType: s,
|
10528
10528
|
onCollapseBtnClick: n
|
10529
10529
|
}) => {
|
10530
|
-
const { pathname: a } =
|
10530
|
+
const { pathname: a } = Kt(), r = (i) => {
|
10531
10531
|
const { title: c, subtitle: d, strikeThrough: u, iconConfig: m } = i;
|
10532
10532
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
10533
10533
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col flex-grow-1 mw-none", children: [
|
@@ -10696,7 +10696,7 @@ const Pl = {
|
|
10696
10696
|
const { value: C } = S.target;
|
10697
10697
|
i?.activeTab !== C && i?.onClick?.(C);
|
10698
10698
|
}, h = () => /* @__PURE__ */ t.jsxs("div", { className: "p-12 flexbox dc__align-items-center dc__gap-8 dc__border-bottom-n1", children: [
|
10699
|
-
a && /* @__PURE__ */ t.jsx(cs, { to: a, children: /* @__PURE__ */ t.jsx("span", { className: "dc__border br-4 p-1 flex dc__hover-n50", children: /* @__PURE__ */ t.jsx(
|
10699
|
+
a && /* @__PURE__ */ t.jsx(cs, { to: a, children: /* @__PURE__ */ t.jsx("span", { className: "dc__border br-4 p-1 flex dc__hover-n50", children: /* @__PURE__ */ t.jsx(st, { className: "icon-dim-16 fcn-6" }) }) }),
|
10700
10700
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 lh-20 fw-6 cn-9 dc__truncate", children: r })
|
10701
10701
|
] }), x = () => {
|
10702
10702
|
const { tabs: S, activeTab: C } = i;
|
@@ -11251,7 +11251,7 @@ const Pl = {
|
|
11251
11251
|
n,
|
11252
11252
|
a,
|
11253
11253
|
r
|
11254
|
-
), i = n === xt.Secret ?
|
11254
|
+
), i = n === xt.Secret ? ot.SECRET.VALUE : ot.CONFIGMAP.VALUE, c = nn(
|
11255
11255
|
{ ...e || {}, codeEditorValue: o },
|
11256
11256
|
i,
|
11257
11257
|
n === xt.Secret && !a
|
@@ -11275,7 +11275,7 @@ const Pl = {
|
|
11275
11275
|
...og(e, s),
|
11276
11276
|
codeEditorValue: a
|
11277
11277
|
},
|
11278
|
-
|
11278
|
+
ot.DEPLOYMENT_TEMPLATE.VALUE
|
11279
11279
|
);
|
11280
11280
|
}, Uo = (e) => {
|
11281
11281
|
const s = {
|
@@ -11284,7 +11284,7 @@ const Pl = {
|
|
11284
11284
|
};
|
11285
11285
|
return nn(
|
11286
11286
|
{ codeEditorValue: s },
|
11287
|
-
|
11287
|
+
ot.DEPLOYMENT_TEMPLATE.VALUE
|
11288
11288
|
);
|
11289
11289
|
}, Bo = (e) => {
|
11290
11290
|
const s = {
|
@@ -11293,7 +11293,7 @@ const Pl = {
|
|
11293
11293
|
};
|
11294
11294
|
return nn(
|
11295
11295
|
{ ...e || {}, strategy: e?.Strategy, codeEditorValue: s },
|
11296
|
-
|
11296
|
+
ot.PIPELINE_STRATEGY.VALUE
|
11297
11297
|
);
|
11298
11298
|
}, zn = (e, s) => {
|
11299
11299
|
let n = !1, a = !1, r = !1;
|
@@ -11635,7 +11635,7 @@ const Pl = {
|
|
11635
11635
|
if (o) {
|
11636
11636
|
const { handleSorting: T, sortBy: S, sortOrder: C } = o;
|
11637
11637
|
return /* @__PURE__ */ t.jsx(
|
11638
|
-
|
11638
|
+
Ke,
|
11639
11639
|
{
|
11640
11640
|
dataTestId: "config-diff-sort-button",
|
11641
11641
|
text: "Sort keys",
|
@@ -11860,7 +11860,7 @@ const Pl = {
|
|
11860
11860
|
/* @__PURE__ */ t.jsx("span", { className: "dc__truncate", children: s === 1 ? "auto trigger" : n })
|
11861
11861
|
] }),
|
11862
11862
|
l && r && r(l, o === l?.id)
|
11863
|
-
] }), Eg = (e) => Array.from(e).filter(([, s]) => s.stage ===
|
11863
|
+
] }), Eg = (e) => Array.from(e).filter(([, s]) => s.stage === Ks.DEPLOY).map(([, s]) => s), Ng = ({
|
11864
11864
|
pipelineDeployments: e,
|
11865
11865
|
wfrId: s
|
11866
11866
|
}) => {
|
@@ -11879,7 +11879,7 @@ const Pl = {
|
|
11879
11879
|
const o = e.findIndex(({ id: d }) => d === s), i = e.slice(o + 1).map(
|
11880
11880
|
({ id: d, startedOn: u, stage: m, triggeredBy: p, triggeredByEmail: f, status: g, artifact: _ }) => ({
|
11881
11881
|
value: d,
|
11882
|
-
label:
|
11882
|
+
label: he(u).format(tt.TWELVE_HOURS_FORMAT),
|
11883
11883
|
description: xg({
|
11884
11884
|
stage: m,
|
11885
11885
|
triggeredByEmail: f,
|
@@ -11892,8 +11892,8 @@ const Pl = {
|
|
11892
11892
|
startIcon: gg(g)
|
11893
11893
|
})
|
11894
11894
|
);
|
11895
|
-
return { currentDeployment:
|
11896
|
-
|
11895
|
+
return { currentDeployment: he(e[o].startedOn).format(
|
11896
|
+
tt.TWELVE_HOURS_FORMAT
|
11897
11897
|
), pipelineDeploymentsOptions: i };
|
11898
11898
|
}, Bl = (e) => (s) => ({
|
11899
11899
|
compareWfrId: +(s.get("compareWfrId") || e)
|
@@ -11991,7 +11991,7 @@ const Pl = {
|
|
11991
11991
|
resourceId: l,
|
11992
11992
|
renderRunSource: i
|
11993
11993
|
}) => {
|
11994
|
-
const { path: c, params: d } = yt(), { pathname: u, search: m } =
|
11994
|
+
const { path: c, params: d } = yt(), { pathname: u, search: m } = Kt(), { isSuperAdmin: p } = ma(), f = ae(() => Eg(r), [r]), { currentWfrId: g, previousWfrId: _ } = ae(
|
11995
11995
|
() => Ng({ pipelineDeployments: f, wfrId: a }),
|
11996
11996
|
[f, a]
|
11997
11997
|
), h = !!_, { compareWfrId: x } = br({
|
@@ -12129,7 +12129,7 @@ const Pl = {
|
|
12129
12129
|
typeof o == "function" && o(m), c.current = m;
|
12130
12130
|
},
|
12131
12131
|
id: "popup",
|
12132
|
-
className: `${a} ${
|
12132
|
+
className: `${a} ${Wi} ${n ? "modal" : ""}`,
|
12133
12133
|
style: { ...e },
|
12134
12134
|
children: s
|
12135
12135
|
}
|
@@ -12306,7 +12306,7 @@ const St = ({
|
|
12306
12306
|
}
|
12307
12307
|
if (!e) return null;
|
12308
12308
|
const { button: S, body: C, optionLength: v, AsyncComponent: I } = ee.Children.toArray(e).reduce(
|
12309
|
-
(N, b) => (b.type ===
|
12309
|
+
(N, b) => (b.type === Wl ? N.button = b : b.type === Kl ? N.AsyncComponent = b : ((b.type === Hl || b.type === Yl) && (N.optionLength += 1), N.body.push(b)), N),
|
12310
12310
|
{ button: null, body: [], optionLength: 0, AsyncComponent: null }
|
12311
12311
|
);
|
12312
12312
|
return /* @__PURE__ */ t.jsx(
|
@@ -12370,7 +12370,7 @@ const St = ({
|
|
12370
12370
|
}, Yl = ({ children: e, label: s, rootClassName: n = "" }) => /* @__PURE__ */ t.jsxs("div", { className: `select__option-group ${n}`, children: [
|
12371
12371
|
/* @__PURE__ */ t.jsx("span", { className: "option-group__label", children: s }),
|
12372
12372
|
e
|
12373
|
-
] }),
|
12373
|
+
] }), Wl = ({
|
12374
12374
|
dataTestIdDropdown: e,
|
12375
12375
|
children: s,
|
12376
12376
|
style: n = {},
|
@@ -12423,7 +12423,7 @@ const St = ({
|
|
12423
12423
|
]
|
12424
12424
|
}
|
12425
12425
|
);
|
12426
|
-
},
|
12426
|
+
}, Kl = ({ api: e }) => {
|
12427
12427
|
const { loading: s, setLoading: n } = gn();
|
12428
12428
|
return P(() => {
|
12429
12429
|
async function a() {
|
@@ -12452,12 +12452,12 @@ const St = ({
|
|
12452
12452
|
}
|
12453
12453
|
);
|
12454
12454
|
};
|
12455
|
-
St.Button =
|
12455
|
+
St.Button = Wl;
|
12456
12456
|
St.OptGroup = Yl;
|
12457
12457
|
St.Option = Hl;
|
12458
12458
|
St.Search = Ig;
|
12459
12459
|
St.All = Ag;
|
12460
|
-
St.Async =
|
12460
|
+
St.Async = Kl;
|
12461
12461
|
const zl = ee.createContext(null);
|
12462
12462
|
function jg() {
|
12463
12463
|
const e = ee.useContext(zl);
|
@@ -12691,7 +12691,7 @@ const Pg = 100, Pt = ee.memo(
|
|
12691
12691
|
k?.dispose();
|
12692
12692
|
};
|
12693
12693
|
}, [N]);
|
12694
|
-
const
|
12694
|
+
const W = (k, Z) => {
|
12695
12695
|
if (s === Gt.YAML && k && typeof k.getModel == "function" && typeof k.getModel().updateOptions == "function" && k.getModel().updateOptions({ tabSize: 2 }), k && (typeof k.onDidFocusEditorWidget == "function" && typeof v == "function" && k.onDidFocusEditorWidget(v), typeof k.onDidBlurEditorWidget == "function" && typeof C == "function" && k.onDidBlurEditorWidget(C)), I && k) {
|
12696
12696
|
if (!("getModifiedEditor" in k)) {
|
12697
12697
|
k.onDidContentSizeChange(() => {
|
@@ -12807,7 +12807,7 @@ const Pg = 100, Pt = ee.memo(
|
|
12807
12807
|
onChange: Ee,
|
12808
12808
|
options: $,
|
12809
12809
|
theme: D.theme.toLowerCase().split(" ").join("-"),
|
12810
|
-
editorDidMount:
|
12810
|
+
editorDidMount: W,
|
12811
12811
|
height: ie,
|
12812
12812
|
width: "100%"
|
12813
12813
|
}
|
@@ -12819,7 +12819,7 @@ const Pg = 100, Pt = ee.memo(
|
|
12819
12819
|
theme: D.theme.toLowerCase().split(" ").join("-"),
|
12820
12820
|
options: L,
|
12821
12821
|
onChange: Ee,
|
12822
|
-
editorDidMount:
|
12822
|
+
editorDidMount: W,
|
12823
12823
|
height: ie,
|
12824
12824
|
width: "100%"
|
12825
12825
|
}
|
@@ -12920,7 +12920,7 @@ const Yg = ({
|
|
12920
12920
|
sortingConfig: l,
|
12921
12921
|
codeEditorKey: i
|
12922
12922
|
}) => {
|
12923
|
-
const { historyComponent: c, historyComponentName: d } =
|
12923
|
+
const { historyComponent: c, historyComponentName: d } = nt(), { sortBy: u, sortOrder: m } = l ?? { sortBy: "", sortOrder: null }, [p, f] = j(!1), g = () => r ? "delete-draft" : a ? "unpublished" : null, _ = Object.keys(s?.codeEditorValue?.variableSnapshot || {}).length !== 0 || Object.keys(e?.codeEditorValue?.variableSnapshot || {}).length !== 0, h = ae(() => {
|
12924
12924
|
if (!s?.codeEditorValue?.value || r)
|
12925
12925
|
return "";
|
12926
12926
|
const v = p ? s?.codeEditorValue?.resolvedValue : s?.codeEditorValue?.value;
|
@@ -12964,7 +12964,7 @@ const Yg = ({
|
|
12964
12964
|
!n && /* @__PURE__ */ t.jsxs("div", { className: "bcb-1 eb-2 pt-8 pb-8 br-4 flexbox pl-4 cn-9 fs-13 mt-16 mb-16 mr-20 ml-20", children: [
|
12965
12965
|
/* @__PURE__ */ t.jsx(ws, { className: "mr-8 ml-14 icon-dim-20" }),
|
12966
12966
|
/* @__PURE__ */ t.jsxs("span", { className: "lh-20", children: [
|
12967
|
-
|
12967
|
+
ot[c.replace("-", "_").toUpperCase()]?.DISPLAY_NAME,
|
12968
12968
|
d ? ` “${d}”` : "",
|
12969
12969
|
" was added in this deployment. There is no previous instance to compare with."
|
12970
12970
|
] })
|
@@ -13020,13 +13020,13 @@ const Yg = ({
|
|
13020
13020
|
] })
|
13021
13021
|
] });
|
13022
13022
|
};
|
13023
|
-
function
|
13023
|
+
function Wg(e) {
|
13024
13024
|
for (const s of ["github", "gitlab", "bitbucket"])
|
13025
13025
|
if (e.includes(s))
|
13026
13026
|
return `${s}`;
|
13027
13027
|
return "git";
|
13028
13028
|
}
|
13029
|
-
const
|
13029
|
+
const Kg = ({
|
13030
13030
|
index: e,
|
13031
13031
|
repoUrl: s = "",
|
13032
13032
|
materialType: n = "",
|
@@ -13043,7 +13043,7 @@ const Wg = ({
|
|
13043
13043
|
className: "git-commit-info-generic__header px-16 py-12 dc__box-shadow fs-12 fw-6 dc__gap-4",
|
13044
13044
|
style: r,
|
13045
13045
|
children: [
|
13046
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
13046
|
+
/* @__PURE__ */ t.jsx("div", { className: Wg(s) }),
|
13047
13047
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left left dc__gap-4 fs-13", children: [
|
13048
13048
|
/* @__PURE__ */ t.jsx(
|
13049
13049
|
"div",
|
@@ -13077,7 +13077,7 @@ const Wg = ({
|
|
13077
13077
|
const c = Sr(n), d = e === Et.WEBHOOK || c && c.webhookdata && c.webhookdata.id !== 0, u = d ? c.webhookdata : {}, m = d ? null : c.commiturl ? c.commiturl : fn(r, c.commit), p = (I) => I ? /* @__PURE__ */ t.jsx(
|
13078
13078
|
"a",
|
13079
13079
|
{
|
13080
|
-
href:
|
13080
|
+
href: yf(r, I),
|
13081
13081
|
target: "_blank",
|
13082
13082
|
rel: "noopener noreferrer",
|
13083
13083
|
className: "commit-hash fs-14 px-6 mono",
|
@@ -13175,7 +13175,7 @@ const Wg = ({
|
|
13175
13175
|
};
|
13176
13176
|
return /* @__PURE__ */ t.jsxs("div", { className: "git-commit-info-generic__wrapper cn-9 fs-12", children: [
|
13177
13177
|
o && (d || c.commit) && /* @__PURE__ */ t.jsx(
|
13178
|
-
|
13178
|
+
Kg,
|
13179
13179
|
{
|
13180
13180
|
index: l,
|
13181
13181
|
repoUrl: r,
|
@@ -13238,7 +13238,7 @@ const Wg = ({
|
|
13238
13238
|
] }) : null,
|
13239
13239
|
c.date ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8", children: [
|
13240
13240
|
/* @__PURE__ */ t.jsx(Ma, { className: "icon-dim-16" }),
|
13241
|
-
/* @__PURE__ */ t.jsx("span", { className: "lh-20", children:
|
13241
|
+
/* @__PURE__ */ t.jsx("span", { className: "lh-20", children: he(c.date).format(tt.TWELVE_HOURS_FORMAT) })
|
13242
13242
|
] }) : null
|
13243
13243
|
] })
|
13244
13244
|
] }),
|
@@ -13251,7 +13251,7 @@ const Wg = ({
|
|
13251
13251
|
fullScreenView: n,
|
13252
13252
|
setFullScreenView: a
|
13253
13253
|
}) => {
|
13254
|
-
const { pathname: r } =
|
13254
|
+
const { pathname: r } = Kt(), { registerShortcut: o, unregisterShortcut: l } = _n(), i = ye(() => {
|
13255
13255
|
a(!n);
|
13256
13256
|
}, [n]), c = !s || r.includes("/logs");
|
13257
13257
|
return P(() => (c && e.length && o({ callback: i, keys: e }), () => {
|
@@ -13473,7 +13473,7 @@ const Jg = (e) => {
|
|
13473
13473
|
] }),
|
13474
13474
|
/* @__PURE__ */ t.jsxs("div", { className: "p-16 dc__gap-12 flexbox dc__content-end", children: [
|
13475
13475
|
_ && /* @__PURE__ */ t.jsx(
|
13476
|
-
|
13476
|
+
Ke,
|
13477
13477
|
{
|
13478
13478
|
dataTestId: "confirmation-modal-secondary-button",
|
13479
13479
|
size: U.large,
|
@@ -13487,7 +13487,7 @@ const Jg = (e) => {
|
|
13487
13487
|
}
|
13488
13488
|
),
|
13489
13489
|
g && /* @__PURE__ */ t.jsx(
|
13490
|
-
|
13490
|
+
Ke,
|
13491
13491
|
{
|
13492
13492
|
dataTestId: "confirmation-modal-primary-button",
|
13493
13493
|
size: U.large,
|
@@ -13515,7 +13515,7 @@ const Jg = (e) => {
|
|
13515
13515
|
children: e && e.toLowerCase() === "cancelled" ? "Aborted" : e
|
13516
13516
|
}
|
13517
13517
|
),
|
13518
|
-
s && s !== qt && /* @__PURE__ */ t.jsx("time", { className: "dc__vertical-align-middle fs-13", children:
|
13518
|
+
s && s !== qt && /* @__PURE__ */ t.jsx("time", { className: "dc__vertical-align-middle fs-13", children: he(s, "YYYY-MM-DDTHH:mm:ssZ").format(tt.TWELVE_HOURS_FORMAT) }),
|
13519
13519
|
a === Ne.CI && n && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
13520
13520
|
/* @__PURE__ */ t.jsx("div", { className: "dc__bullet" }),
|
13521
13521
|
/* @__PURE__ */ t.jsx(Ll, { imagePath: n, placement: "top" })
|
@@ -13525,7 +13525,7 @@ const Jg = (e) => {
|
|
13525
13525
|
({ message: e, podStatus: s, stage: n, workerPodName: a, finishedOn: r }) => {
|
13526
13526
|
if (!e && !s)
|
13527
13527
|
return null;
|
13528
|
-
const o =
|
13528
|
+
const o = he(r).isBefore(he().subtract(rh, "hours")), l = a && (r === qt || !o), i = () => l ? /* @__PURE__ */ t.jsx(Xe, { to: `${oh}/${a}/logs`, target: "_blank", className: "anchor", children: /* @__PURE__ */ t.jsx("span", { className: "mr-10 fs-13", children: "View worker pod" }) }) : null;
|
13529
13529
|
return /* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid py-4", children: [
|
13530
13530
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsx(md, { className: "icon-dim-20 dc__no-shrink scn-7" }) }),
|
13531
13531
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
|
@@ -13548,7 +13548,7 @@ const Jg = (e) => {
|
|
13548
13548
|
const [a, r] = j(!1), [o, l] = j(!1), [i, c] = j({
|
13549
13549
|
status: !1,
|
13550
13550
|
message: ""
|
13551
|
-
}), { buildId: d, triggerId: u, pipelineId: m } =
|
13551
|
+
}), { buildId: d, triggerId: u, pipelineId: m } = nt();
|
13552
13552
|
let p = null;
|
13553
13553
|
n === Ne.CI ? p = (h) => Rh({ pipelineId: m, workflowId: d }, h) : s !== "DEPLOY" && (p = () => wh(m, u));
|
13554
13554
|
async function f() {
|
@@ -13661,7 +13661,7 @@ const Jg = (e) => {
|
|
13661
13661
|
renderTargetConfigInfo: m,
|
13662
13662
|
stage: p
|
13663
13663
|
}) => {
|
13664
|
-
const { url: f } = yt(), { pathname: g } =
|
13664
|
+
const { url: f } = yt(), { pathname: g } = Kt();
|
13665
13665
|
return /* @__PURE__ */ t.jsxs("div", { className: "w-100 pr-20 flex column left dc__border-bottom-n1", children: [
|
13666
13666
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center pb-12 flex-wrap", children: [
|
13667
13667
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4 cn-9 fs-13 fw-6 lh-20", children: [
|
@@ -13678,7 +13678,7 @@ const Jg = (e) => {
|
|
13678
13678
|
] }),
|
13679
13679
|
m?.()
|
13680
13680
|
] }),
|
13681
|
-
/* @__PURE__ */ t.jsx("time", { className: "cn-7 fs-13", children:
|
13681
|
+
/* @__PURE__ */ t.jsx("time", { className: "cn-7 fs-13", children: he(e, "YYYY-MM-DDTHH:mm:ssZ").format(tt.TWELVE_HOURS_FORMAT) }),
|
13682
13682
|
/* @__PURE__ */ t.jsx("div", { className: "dc__bullet" }),
|
13683
13683
|
/* @__PURE__ */ t.jsx("div", { className: "trigger-details__trigger-by cn-7 fs-13", children: s === 1 ? "auto trigger" : n }),
|
13684
13684
|
/* @__PURE__ */ t.jsx("div", {}),
|
@@ -13828,7 +13828,7 @@ const Jg = (e) => {
|
|
13828
13828
|
appName: v,
|
13829
13829
|
triggerHistory: I
|
13830
13830
|
}) => {
|
13831
|
-
const { path: N } = yt(), { appId: b, pipelineId: A, triggerId: R, envId: y } =
|
13831
|
+
const { path: N } = yt(), { appId: b, pipelineId: A, triggerId: R, envId: y } = nt(), V = {
|
13832
13832
|
appId: b,
|
13833
13833
|
envId: y,
|
13834
13834
|
appName: `${e.helmPackageName}.tgz`,
|
@@ -13888,7 +13888,7 @@ const Jg = (e) => {
|
|
13888
13888
|
renderCIListHeader: x
|
13889
13889
|
}
|
13890
13890
|
) }),
|
13891
|
-
e.stage === "DEPLOY" && /* @__PURE__ */ t.jsx(ts, { path: `${N}${
|
13891
|
+
e.stage === "DEPLOY" && /* @__PURE__ */ t.jsx(ts, { path: `${N}${ge.DEPLOYMENT_HISTORY_CONFIGURATIONS}`, children: /* @__PURE__ */ t.jsx(
|
13892
13892
|
Tg,
|
13893
13893
|
{
|
13894
13894
|
appName: v,
|
@@ -13958,17 +13958,17 @@ const Jg = (e) => {
|
|
13958
13958
|
renderTargetConfigInfo: v,
|
13959
13959
|
appName: I
|
13960
13960
|
}) => {
|
13961
|
-
const { appId: N, triggerId: b, envId: A, pipelineId: R } =
|
13961
|
+
const { appId: N, triggerId: b, envId: A, pipelineId: R } = nt(), y = s.get(+b), [V, D, M, q] = Nt(
|
13962
13962
|
() => yh({ appId: N, envId: A, pipelineId: R, triggerId: b, fetchIdData: d }),
|
13963
13963
|
// TODO: Ask if fetchIdData is required here as dependency
|
13964
13964
|
[b, N, A],
|
13965
13965
|
!!b && !!R
|
13966
|
-
), ne = (B,
|
13966
|
+
), ne = (B, W, ie) => {
|
13967
13967
|
if (ie) {
|
13968
13968
|
p?.result?.cdWorkflows?.length && n(uc(p.result.cdWorkflows, "id")), u(Ft.SUSPEND);
|
13969
13969
|
return;
|
13970
13970
|
}
|
13971
|
-
if (B ===
|
13971
|
+
if (B === W?.id) {
|
13972
13972
|
const oe = s.get(B)?.appliedFilters ?? [], Ee = s.get(B)?.appliedFiltersTimestamp, w = s.get(B)?.promotionApprovalMetadata, L = s.get(B)?.runSource, $ = s.get(B)?.targetConfig, k = {
|
13973
13973
|
...oe.length ? { appliedFilters: oe } : {},
|
13974
13974
|
...Ee ? { appliedFiltersTimestamp: Ee } : {},
|
@@ -13976,7 +13976,7 @@ const Jg = (e) => {
|
|
13976
13976
|
...L ? { runSource: L } : {},
|
13977
13977
|
...$ ? { targetConfig: $ } : {}
|
13978
13978
|
};
|
13979
|
-
n((Z) => (Z.set(B, { ...
|
13979
|
+
n((Z) => (Z.set(B, { ...W, ...k }), new Map(Z))), d === Ft.FETCHING && u(Ft.SUCCESS);
|
13980
13980
|
}
|
13981
13981
|
};
|
13982
13982
|
let F = !!d && d !== Ft.SUSPEND;
|
@@ -14290,7 +14290,7 @@ const Jg = (e) => {
|
|
14290
14290
|
maxHeight: "250px",
|
14291
14291
|
width: "200px"
|
14292
14292
|
})
|
14293
|
-
}, hx = (e) => e.isSame(
|
14293
|
+
}, hx = (e) => e.isSame(he(), "day"), iv = ({
|
14294
14294
|
date: e,
|
14295
14295
|
handleDatesChange: s,
|
14296
14296
|
readOnly: n,
|
@@ -14415,7 +14415,7 @@ const Jg = (e) => {
|
|
14415
14415
|
s(bx(e, I?.toDate()));
|
14416
14416
|
}, S = (I) => {
|
14417
14417
|
s(Nx(e, I.value).value);
|
14418
|
-
}, C =
|
14418
|
+
}, C = he(), v = (I) => d && !I.isAfter(C);
|
14419
14419
|
return /* @__PURE__ */ t.jsxs("div", { className: "date-time-picker", children: [
|
14420
14420
|
o && /* @__PURE__ */ t.jsx("label", { className: `form__label ${l ? "dc__required-field" : ""}`, htmlFor: r, children: o }),
|
14421
14421
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-8", children: [
|
@@ -14424,7 +14424,7 @@ const Jg = (e) => {
|
|
14424
14424
|
{
|
14425
14425
|
id: r,
|
14426
14426
|
placeholder: "Select date",
|
14427
|
-
date:
|
14427
|
+
date: he(e),
|
14428
14428
|
onDateChange: T,
|
14429
14429
|
focused: h,
|
14430
14430
|
onFocusChange: E,
|
@@ -14437,7 +14437,7 @@ const Jg = (e) => {
|
|
14437
14437
|
readOnly: c || !1,
|
14438
14438
|
customInputIcon: /* @__PURE__ */ t.jsx(Ma, { className: "icon-dim-20" }),
|
14439
14439
|
inputIconPosition: "after",
|
14440
|
-
displayFormat:
|
14440
|
+
displayFormat: tt.DD_MMM_YYYY,
|
14441
14441
|
"data-testid": m,
|
14442
14442
|
isDayBlocked: v,
|
14443
14443
|
disabled: a,
|
@@ -14564,7 +14564,7 @@ const Jg = (e) => {
|
|
14564
14564
|
className: "dc__transparent flex",
|
14565
14565
|
onClick: n,
|
14566
14566
|
"aria-label": "Close modal",
|
14567
|
-
children: /* @__PURE__ */ t.jsx(
|
14567
|
+
children: /* @__PURE__ */ t.jsx(st, { className: "icon-dim-24 icon-use-fill-n6" })
|
14568
14568
|
}
|
14569
14569
|
)
|
14570
14570
|
] }),
|
@@ -14674,7 +14674,7 @@ const Jg = (e) => {
|
|
14674
14674
|
className: "p-0 flex dc__no-border dc__no-background dc__outline-none-imp dc__tab-focus icon-dim-18 dc__tab-focus",
|
14675
14675
|
onClick: m,
|
14676
14676
|
"aria-label": "Close",
|
14677
|
-
children: /* @__PURE__ */ t.jsx(
|
14677
|
+
children: /* @__PURE__ */ t.jsx(st, { className: "dc__no-shrink icon-dim-18 fcn-6" })
|
14678
14678
|
}
|
14679
14679
|
)
|
14680
14680
|
] }),
|
@@ -15038,7 +15038,7 @@ const fv = {
|
|
15038
15038
|
showCardBorder: u,
|
15039
15039
|
getPluginStoreRef: m
|
15040
15040
|
}) => {
|
15041
|
-
const { appId: p } =
|
15041
|
+
const { appId: p } = nt(), [f, g] = j(!1), [_, h] = j(!1), x = async () => {
|
15042
15042
|
g(!0), h(!1);
|
15043
15043
|
try {
|
15044
15044
|
const E = await Fi(
|
@@ -15094,7 +15094,7 @@ const fv = {
|
|
15094
15094
|
rootClassName: g = "",
|
15095
15095
|
showCardBorder: _ = !1
|
15096
15096
|
}) => {
|
15097
|
-
const { appId: h } =
|
15097
|
+
const { appId: h } = nt(), [x, E] = j(c || []), [T, S] = j(u || 0), [C, v] = j(
|
15098
15098
|
p || structuredClone(vx)
|
15099
15099
|
), I = X(new AbortController()), N = (L) => {
|
15100
15100
|
E(L), d?.(L);
|
@@ -15146,7 +15146,7 @@ const fv = {
|
|
15146
15146
|
}, [D, M, q]);
|
15147
15147
|
const B = () => {
|
15148
15148
|
i && N([]);
|
15149
|
-
},
|
15149
|
+
}, W = () => {
|
15150
15150
|
A({
|
15151
15151
|
searchKey: "",
|
15152
15152
|
selectedTags: []
|
@@ -15202,7 +15202,7 @@ const fv = {
|
|
15202
15202
|
selectedTags: y
|
15203
15203
|
},
|
15204
15204
|
onRemoveFilter: Ee,
|
15205
|
-
clearFilters:
|
15205
|
+
clearFilters: W,
|
15206
15206
|
className: "w-100 pt-0-imp",
|
15207
15207
|
clearButtonClassName: "dc__no-background-imp dc__no-border-imp dc__tab-focus",
|
15208
15208
|
shouldHideLabel: !0
|
@@ -15229,7 +15229,7 @@ const fv = {
|
|
15229
15229
|
handlePluginSelection: w,
|
15230
15230
|
selectedPluginsMap: l,
|
15231
15231
|
isSelectable: o,
|
15232
|
-
handleClearFilters:
|
15232
|
+
handleClearFilters: W,
|
15233
15233
|
showCardBorder: _,
|
15234
15234
|
getPluginStoreRef: I
|
15235
15235
|
}
|
@@ -15265,7 +15265,7 @@ const fv = {
|
|
15265
15265
|
validateDuplicateKeys: f = !1,
|
15266
15266
|
validateEmptyKeys: g = !1
|
15267
15267
|
}) => {
|
15268
|
-
const { headers: _, rows: h } = e, x = _[0].key, E = _[1].key, [T, S] = j(h), [C, v] = j(!1), I = c || i, N = !c && !i || !!T.length, b = !T[0]?.data[x].value && !T[0]?.data[E].value, A = T.length === 1 && b, { sortBy: R, sortOrder: y, handleSorting: V } =
|
15268
|
+
const { headers: _, rows: h } = e, x = _[0].key, E = _[1].key, [T, S] = j(h), [C, v] = j(!1), I = c || i, N = !c && !i || !!T.length, b = !T[0]?.data[x].value && !T[0]?.data[E].value, A = T.length === 1 && b, { sortBy: R, sortOrder: y, handleSorting: V } = Pf({
|
15269
15269
|
initialSortKey: n ? x : null
|
15270
15270
|
}), D = X(), M = X();
|
15271
15271
|
D.current || (D.current = T.reduce((w, L) => ({ ...w, [L.id]: kt() }), {})), M.current || (M.current = T.reduce((w, L) => ({ ...w, [L.id]: kt() }), {}));
|
@@ -15371,7 +15371,7 @@ const fv = {
|
|
15371
15371
|
}
|
15372
15372
|
}, pe = T.map((fe) => fe.id === w.id ? Z : fe);
|
15373
15373
|
p?.(!F(pe)), S(pe);
|
15374
|
-
},
|
15374
|
+
}, W = (w, L) => ($) => {
|
15375
15375
|
const { value: k } = $.target;
|
15376
15376
|
r?.(w.id, L, k), p?.(!F(T));
|
15377
15377
|
}, ie = (w, L, $) => /* @__PURE__ */ t.jsxs(
|
@@ -15425,7 +15425,7 @@ const fv = {
|
|
15425
15425
|
},
|
15426
15426
|
`${w}-header`
|
15427
15427
|
), oe = (w) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox align-items-center dc__gap-4", children: [
|
15428
|
-
/* @__PURE__ */ t.jsx(
|
15428
|
+
/* @__PURE__ */ t.jsx(st, { className: "icon-dim-16 fcr-5 dc__align-self-start dc__no-shrink" }),
|
15429
15429
|
/* @__PURE__ */ t.jsx("p", { className: "fs-12 lh-16 cn-7 m-0", children: w })
|
15430
15430
|
] }, w), Ee = (w, L, $) => d && !ne(w, L, $) ? /* @__PURE__ */ t.jsxs("div", { className: "key-value-table__error bcn-0 dc__border br-4 py-7 px-8 flexbox-col dc__gap-4", children: [
|
15431
15431
|
f && oe(Ux),
|
@@ -15466,7 +15466,7 @@ const fv = {
|
|
15466
15466
|
value: w.data[L].value,
|
15467
15467
|
placeholder: l[L],
|
15468
15468
|
onChange: B(w, L),
|
15469
|
-
onBlur:
|
15469
|
+
onBlur: W(w, L),
|
15470
15470
|
refVar: L === x ? D.current?.[w.id] : M.current?.[w.id],
|
15471
15471
|
dependentRef: L === x ? M.current?.[w.id] : D.current?.[w.id],
|
15472
15472
|
disabled: c || w.data[L].disabled,
|
@@ -15526,10 +15526,10 @@ const fv = {
|
|
15526
15526
|
showError: s,
|
15527
15527
|
showWarning: n,
|
15528
15528
|
className: a
|
15529
|
-
}) => s ? /* @__PURE__ */ t.jsx(ds, { className: a }) : n ? /* @__PURE__ */ t.jsx(It, { className: `${a} warning-icon-y7` }) : e ? /* @__PURE__ */ t.jsx(e, { className: `${a} tab-group__tab__icon` }) : null, Hx = (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 }), Yx = (e) => e && /* @__PURE__ */ t.jsx("span", { className: "tab-group__tab__indicator bcr-5 mt-4 dc__align-self-start" }),
|
15529
|
+
}) => s ? /* @__PURE__ */ t.jsx(ds, { className: a }) : n ? /* @__PURE__ */ t.jsx(It, { className: `${a} warning-icon-y7` }) : e ? /* @__PURE__ */ t.jsx(e, { className: `${a} tab-group__tab__icon` }) : null, Hx = (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 }), Yx = (e) => e && /* @__PURE__ */ t.jsx("span", { className: "tab-group__tab__indicator bcr-5 mt-4 dc__align-self-start" }), Wx = (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: [
|
15530
15530
|
!!n && /* @__PURE__ */ t.jsx("span", { className: "dc__bullet" }),
|
15531
15531
|
s
|
15532
|
-
] }, s)) : e }),
|
15532
|
+
] }, s)) : e }), Kx = ({
|
15533
15533
|
label: e,
|
15534
15534
|
props: s,
|
15535
15535
|
tabType: n,
|
@@ -15560,7 +15560,7 @@ const fv = {
|
|
15560
15560
|
Hx(l, E),
|
15561
15561
|
Yx(d)
|
15562
15562
|
] }),
|
15563
|
-
|
15563
|
+
Wx(f)
|
15564
15564
|
] });
|
15565
15565
|
switch (n) {
|
15566
15566
|
case "link":
|
@@ -15623,7 +15623,7 @@ const fv = {
|
|
15623
15623
|
hideTopPadding: r
|
15624
15624
|
}) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__content-space", children: [
|
15625
15625
|
/* @__PURE__ */ t.jsx("ul", { role: "tablist", className: `tab-group flexbox dc__align-items-center p-0 m-0 ${Vx[s]}`, children: e.map(({ id: o, ...l }) => /* @__PURE__ */ t.jsx(
|
15626
|
-
|
15626
|
+
Kx,
|
15627
15627
|
{
|
15628
15628
|
id: o,
|
15629
15629
|
size: s,
|
@@ -15732,7 +15732,7 @@ const fv = {
|
|
15732
15732
|
INVALID_SEMANTIC_VERSION: "Please follow semantic versioning",
|
15733
15733
|
INVALID_DATE: "Please enter a valid date",
|
15734
15734
|
DATE_BEFORE_CURRENT_TIME: "The date & time cannot be before the current time"
|
15735
|
-
},
|
15735
|
+
}, Wo = 350, Ko = {
|
15736
15736
|
MAX_LIMIT: 50,
|
15737
15737
|
MIN_LIMIT: 3
|
15738
15738
|
}, Nv = (e) => e?.trim() ? { isValid: !0 } : { message: "This field is required", isValid: !1 }, zx = (e) => /^.{3,50}$/.test(e) ? /^[a-z0-9-._]+$/.test(e) ? /^(?![-._]).*[^-._]$/.test(e) ? {
|
@@ -15746,9 +15746,9 @@ const fv = {
|
|
15746
15746
|
} : {
|
15747
15747
|
isValid: !1,
|
15748
15748
|
message: Me.getMinMaxCharMessage(3, 50)
|
15749
|
-
}, qx = (e) => e?.length >
|
15749
|
+
}, qx = (e) => e?.length > Wo ? {
|
15750
15750
|
isValid: !1,
|
15751
|
-
message: Me.getMaxCharMessage(
|
15751
|
+
message: Me.getMaxCharMessage(Wo)
|
15752
15752
|
} : {
|
15753
15753
|
isValid: !0
|
15754
15754
|
}, Xx = (e, s, n) => e?.length < n ? {
|
@@ -15865,7 +15865,7 @@ const fv = {
|
|
15865
15865
|
} : {
|
15866
15866
|
isValid: !1,
|
15867
15867
|
message: "Please provide a version"
|
15868
|
-
}, Sv = (e) => Xx(e,
|
15868
|
+
}, Sv = (e) => Xx(e, Ko.MAX_LIMIT, Ko.MIN_LIMIT), vv = (e) => {
|
15869
15869
|
try {
|
15870
15870
|
return e && JSON.parse(e), {
|
15871
15871
|
isValid: !0
|
@@ -16169,7 +16169,7 @@ const fa = ({
|
|
16169
16169
|
}
|
16170
16170
|
),
|
16171
16171
|
!m && x === d && /* @__PURE__ */ t.jsx(
|
16172
|
-
|
16172
|
+
Ke,
|
16173
16173
|
{
|
16174
16174
|
dataTestId: "data-table-add-row-button",
|
16175
16175
|
ariaLabel: "Add",
|
@@ -16596,7 +16596,7 @@ const pE = (e) => {
|
|
16596
16596
|
/* @__PURE__ */ t.jsx(Le, { content: n, children: /* @__PURE__ */ t.jsx("span", { className: "fs-12 lh-20 dc__ellipsis-right", children: n }) })
|
16597
16597
|
] }) }),
|
16598
16598
|
!e && /* @__PURE__ */ t.jsx("div", { className: "file-upload__remove-file", children: /* @__PURE__ */ t.jsx(
|
16599
|
-
|
16599
|
+
Ke,
|
16600
16600
|
{
|
16601
16601
|
dataTestId: "file-upload-remove-file-button",
|
16602
16602
|
ariaLabel: "Remove File",
|
@@ -16833,7 +16833,7 @@ const pE = (e) => {
|
|
16833
16833
|
children: e.map((N) => /* @__PURE__ */ t.jsxs("div", { className: "dynamic-data-table__row", children: [
|
16834
16834
|
s.map(({ key: b }, A) => /* @__PURE__ */ t.jsx(vs, { children: I(N, b, A) }, b)),
|
16835
16835
|
!a && !n && /* @__PURE__ */ t.jsx("div", { className: "dynamic-data-table__row-delete-btn bcn-0", children: /* @__PURE__ */ t.jsx(
|
16836
|
-
|
16836
|
+
Ke,
|
16837
16837
|
{
|
16838
16838
|
dataTestId: "dynamic-data-table-row-delete-btn",
|
16839
16839
|
ariaLabel: "Delete Row",
|
@@ -17111,7 +17111,7 @@ function Xn(e, s = !1) {
|
|
17111
17111
|
let n = "";
|
17112
17112
|
try {
|
17113
17113
|
if (e && e.length && e !== qt) {
|
17114
|
-
const a =
|
17114
|
+
const a = he(e);
|
17115
17115
|
s ? n = a.fromNow() : n = a.format(Yi);
|
17116
17116
|
}
|
17117
17117
|
} catch {
|
@@ -17119,11 +17119,12 @@ function Xn(e, s = !1) {
|
|
17119
17119
|
}
|
17120
17120
|
return n;
|
17121
17121
|
}
|
17122
|
-
|
17123
|
-
|
17122
|
+
const Uv = (e, s = "-") => e ? `${he(e).utc().format(tt.TWELVE_HOURS_EXPORT_FORMAT)} (UTC)` : "-";
|
17123
|
+
function Bv() {
|
17124
|
+
const e = Kt(), s = ae(() => new URLSearchParams(e.search), [e]), n = Array.from(s.entries()).reduce((a, r, o) => (a[r[0]] = r[1], a), {});
|
17124
17125
|
return { queryParams: s, searchParams: n };
|
17125
17126
|
}
|
17126
|
-
const
|
17127
|
+
const $v = (e, s) => {
|
17127
17128
|
(e.keyCode === 27 || e.key === "Escape") && s();
|
17128
17129
|
};
|
17129
17130
|
function ei(e, s = 4, n = "json", a = !1) {
|
@@ -17245,7 +17246,7 @@ function Nt(e, s = [], n = !0, a = { resetOnChange: !0 }) {
|
|
17245
17246
|
};
|
17246
17247
|
return [r.loading, r.result, r.error, c, d, r.dependencies];
|
17247
17248
|
}
|
17248
|
-
const
|
17249
|
+
const Fv = (e, s) => e ? Xn(e, !0) : s ? "" : "Not deployed", Ve = (e, s = {}) => {
|
17249
17250
|
const n = new URLSearchParams();
|
17250
17251
|
Object.keys(s).forEach((r) => {
|
17251
17252
|
Pi.includes(s[r]) || (Array.isArray(s[r]) ? s[r].forEach((o) => {
|
@@ -17254,7 +17255,7 @@ const $v = (e, s) => e ? Xn(e, !0) : s ? "" : "Not deployed", Ve = (e, s = {}) =
|
|
17254
17255
|
});
|
17255
17256
|
const a = n.toString();
|
17256
17257
|
return e + (a ? `?${a}` : "");
|
17257
|
-
},
|
17258
|
+
}, Vv = li.bind(window), Gv = {
|
17258
17259
|
control: (e, s) => ({
|
17259
17260
|
...e,
|
17260
17261
|
minHeight: "32px",
|
@@ -17297,7 +17298,7 @@ const $v = (e, s) => e ? Xn(e, !0) : s ? "" : "Not deployed", Ve = (e, s = {}) =
|
|
17297
17298
|
}
|
17298
17299
|
lc(e[n], s[n]);
|
17299
17300
|
});
|
17300
|
-
},
|
17301
|
+
}, Hv = (e) => {
|
17301
17302
|
const s = {};
|
17302
17303
|
return e.forEach((n) => {
|
17303
17304
|
lc(s, n);
|
@@ -17307,7 +17308,7 @@ const $v = (e, s) => e ? Xn(e, !0) : s ? "" : "Not deployed", Ve = (e, s = {}) =
|
|
17307
17308
|
return n;
|
17308
17309
|
const a = s[e], r = Number(a);
|
17309
17310
|
return !Number.isNaN(r) ? [...Array(r).fill(Ui), rr(e + 1, s, n)] : { [ci(a)]: rr(e + 1, s, n) };
|
17310
|
-
},
|
17311
|
+
}, Yv = (e, s) => {
|
17311
17312
|
const n = e.split("/");
|
17312
17313
|
return n.splice(0, 1), rr(0, n, s);
|
17313
17314
|
}, cc = (e, s) => {
|
@@ -17316,12 +17317,12 @@ const $v = (e, s) => e ? Xn(e, !0) : s ? "" : "Not deployed", Ve = (e, s = {}) =
|
|
17316
17317
|
return [];
|
17317
17318
|
const a = e.slice(n + 1);
|
17318
17319
|
return [n, ...cc(a, s).map((r) => r + n + 1)];
|
17319
|
-
},
|
17320
|
+
}, Wv = (e, s) => e.flatMap((n) => {
|
17320
17321
|
const a = [n];
|
17321
17322
|
return cc(n, s).forEach((o) => {
|
17322
17323
|
a.push(n.slice(0, o));
|
17323
17324
|
}), a;
|
17324
|
-
}), Kv = (e) => ci(e.replace(/\/([\*0-9]+)\//g, "[$1].").replace(/\//g, ".").replace(/\./, "$.")),
|
17325
|
+
}), Kv = (e) => ci(e.replace(/\/([\*0-9]+)\//g, "[$1].").replace(/\//g, ".").replace(/\./, "$.")), zv = (e, s, n = "path") => e.flatMap((a) => Lc({ path: a, json: s, resultType: n })), qv = (e, s) => {
|
17325
17326
|
const n = Rc(e, s);
|
17326
17327
|
return wc(Oc(e), n).newDocument;
|
17327
17328
|
}, yE = (e, s = 500) => {
|
@@ -17332,10 +17333,10 @@ const $v = (e, s) => e ? Xn(e, !0) : s ? "" : "Not deployed", Ve = (e, s = {}) =
|
|
17332
17333
|
n = null, e.apply(r, a);
|
17333
17334
|
}, s);
|
17334
17335
|
};
|
17335
|
-
},
|
17336
|
+
}, Xv = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(), Jv = (e, s, n) => {
|
17336
17337
|
const a = new Date(e).getTime(), r = new Date(s).getTime();
|
17337
17338
|
return isNaN(a) && isNaN(r) ? 0 : isNaN(a) ? n === de.ASC ? 1 : -1 : isNaN(r) ? n === de.ASC ? -1 : 1 : n === de.ASC ? r - a : a - r;
|
17338
|
-
}, rn = (e, s) => as.stringify(e, { indent: 2, lineWidth: 0, ...s }),
|
17339
|
+
}, rn = (e, s) => as.stringify(e, { indent: 2, lineWidth: 0, ...s }), Zv = (e, s) => {
|
17339
17340
|
if (e === s)
|
17340
17341
|
return !0;
|
17341
17342
|
const n = Array.isArray(e), a = Array.isArray(s);
|
@@ -17372,7 +17373,7 @@ function dc(e, s) {
|
|
17372
17373
|
}
|
17373
17374
|
}, [s]);
|
17374
17375
|
}
|
17375
|
-
function
|
17376
|
+
function Qv(e) {
|
17376
17377
|
const s = X(null), n = X(0), a = X(null), [r, o] = j(0), [l, i] = j(0), [c, d] = j(!1), u = ye((x) => {
|
17377
17378
|
if (x !== null)
|
17378
17379
|
return s.current = x, a.current = x.addEventListener("wheel", m), n.current = requestAnimationFrame(h), () => {
|
@@ -17424,7 +17425,7 @@ function RE(e, s, n = []) {
|
|
17424
17425
|
const a = X(null);
|
17425
17426
|
P(() => (a.current = setTimeout(e, s), () => clearTimeout(a.current)), n);
|
17426
17427
|
}
|
17427
|
-
function
|
17428
|
+
function e0() {
|
17428
17429
|
const [e, s] = j([]);
|
17429
17430
|
P(() => (document.addEventListener("keydown", a), document.addEventListener("keyup", r), () => {
|
17430
17431
|
document.removeEventListener("keydown", a), document.removeEventListener("keyup", r);
|
@@ -17443,10 +17444,10 @@ const wE = (e) => /* @__PURE__ */ t.jsx(Ie.DropdownIndicator, { ...e, children:
|
|
17443
17444
|
function uc(e, s) {
|
17444
17445
|
return Array.isArray(e) ? e.reduce((n, a) => n.set(a[s], a), /* @__PURE__ */ new Map()) : (console.error(e, "is not array"), /* @__PURE__ */ new Map());
|
17445
17446
|
}
|
17446
|
-
function
|
17447
|
+
function t0(e) {
|
17447
17448
|
return e.then((s) => [null, s]).catch((s) => [s]);
|
17448
17449
|
}
|
17449
|
-
const
|
17450
|
+
const s0 = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, OE = (e, s = 300) => {
|
17450
17451
|
let n = 0;
|
17451
17452
|
return (...a) => {
|
17452
17453
|
const r = Date.now();
|
@@ -17455,12 +17456,12 @@ const t0 = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, OE = (e, s = 300) => {
|
|
17455
17456
|
}, PE = (e, s, n) => e === Et.WEBHOOK ? n === Qs.PULL_REQUEST ? Gd : n === Qs.TAG_CREATION ? Hd : Au : e === Et.BranchRegex || s ? Lu : yu, mc = (e) => na.sanitize(e, {
|
17456
17457
|
ADD_TAGS: ["iframe"],
|
17457
17458
|
ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
|
17458
|
-
}),
|
17459
|
+
}), n0 = (e, s) => {
|
17459
17460
|
const n = document.createElement("div");
|
17460
17461
|
n.innerHTML = mc(e);
|
17461
17462
|
const a = n.querySelector("iframe");
|
17462
17463
|
return a ? (!a.hasAttribute("title") && s && a.setAttribute("title", s), a.hasAttribute("loading") || a.setAttribute("loading", "lazy"), a.hasAttribute("width") || a.setAttribute("width", "100%"), a.hasAttribute("height") || a.setAttribute("height", "100%"), n.innerHTML) : e;
|
17463
|
-
},
|
17464
|
+
}, a0 = (e) => {
|
17464
17465
|
switch (e) {
|
17465
17466
|
case Xs.PRECD:
|
17466
17467
|
return "Pre-deployment";
|
@@ -17469,8 +17470,8 @@ const t0 = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, OE = (e, s = 300) => {
|
|
17469
17470
|
default:
|
17470
17471
|
return "Deployment";
|
17471
17472
|
}
|
17472
|
-
},
|
17473
|
-
const s =
|
17473
|
+
}, r0 = (e) => {
|
17474
|
+
const s = he(), n = s.format(e), a = s.format("Z").replace(/([+/-])(\d{2})[:.](\d{2})/, "$1$2$3");
|
17474
17475
|
return n.replace("Z", a);
|
17475
17476
|
};
|
17476
17477
|
function Jn({ reload: e, className: s = "", heightToDeduct: n = 0 }) {
|
@@ -17501,7 +17502,7 @@ class Nn extends ee.Component {
|
|
17501
17502
|
super(n);
|
17502
17503
|
De(this, "modalRef", document.getElementById("visible-modal"));
|
17503
17504
|
De(this, "handleBodyClick", (n) => {
|
17504
|
-
document.getElementById(
|
17505
|
+
document.getElementById(Wi) || (n.stopPropagation(), this.props.close?.(n));
|
17505
17506
|
});
|
17506
17507
|
this.escFunction = this.escFunction.bind(this);
|
17507
17508
|
}
|
@@ -17582,10 +17583,10 @@ class pc extends ee.Component {
|
|
17582
17583
|
}
|
17583
17584
|
const kE = {
|
17584
17585
|
alias: {}
|
17585
|
-
},
|
17586
|
+
}, o0 = ({ heading: e, isActive: s }) => /* @__PURE__ */ t.jsx("h2", { className: `m-0 fs-16 fw-6 lh-32 ${s ? "cn-9" : "cb-5"}`, children: e }), i0 = ({ children: e }) => {
|
17586
17587
|
const [s, n] = j(kE);
|
17587
17588
|
return /* @__PURE__ */ t.jsx(fc.Provider, { value: { state: s, setState: n }, children: e });
|
17588
|
-
}, fc =
|
17589
|
+
}, fc = Wt({
|
17589
17590
|
state: { alias: {} },
|
17590
17591
|
setState: null
|
17591
17592
|
});
|
@@ -17596,10 +17597,10 @@ function UE() {
|
|
17596
17597
|
return e;
|
17597
17598
|
}
|
17598
17599
|
ee.createContext(null);
|
17599
|
-
function
|
17600
|
+
function l0(e, s) {
|
17600
17601
|
const n = e?.sep || "/";
|
17601
17602
|
s = s || [];
|
17602
|
-
const { url: a, path: r } = yt(), o =
|
17603
|
+
const { url: a, path: r } = yt(), o = nt(), { state: l, setState: i } = UE();
|
17603
17604
|
P(() => {
|
17604
17605
|
if (!(!e || !e.alias))
|
17605
17606
|
return i((p) => ({ ...p, alias: { ...p.alias, ...e.alias } })), () => d(Object.keys(e.alias));
|
@@ -17657,17 +17658,17 @@ const _c = ({
|
|
17657
17658
|
),
|
17658
17659
|
l + 1 !== r.length && o.name && /* @__PURE__ */ t.jsx("span", { className: `${n}__separator cn-5`, children: s })
|
17659
17660
|
] }, l)) });
|
17660
|
-
}, hc =
|
17661
|
+
}, hc = Wt({
|
17661
17662
|
name: "",
|
17662
17663
|
value: "",
|
17663
17664
|
disabled: !1,
|
17664
17665
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
17665
17666
|
onChange: (e) => {
|
17666
17667
|
}
|
17667
|
-
}),
|
17668
|
+
}), c0 = ({ name: e, value: s, disabled: n, onChange: a, className: r, children: o }) => {
|
17668
17669
|
const l = ae(() => ({ name: e, value: s, disabled: n, onChange: a }), [e, s, n, a]);
|
17669
17670
|
return /* @__PURE__ */ t.jsx("div", { className: `form__radio-group ${r || ""}`, children: /* @__PURE__ */ t.jsx(hc.Provider, { value: l, children: o }) });
|
17670
|
-
},
|
17671
|
+
}, d0 = ({ value: e, disabled: s, children: n, dataTestId: a }) => /* @__PURE__ */ t.jsx(hc.Consumer, { children: (r) => (
|
17671
17672
|
// eslint-disable-next-line jsx-a11y/label-has-associated-control
|
17672
17673
|
/* @__PURE__ */ t.jsxs("label", { className: s || r.disabled ? "form__radio-item disabled" : "form__radio-item", children: [
|
17673
17674
|
/* @__PURE__ */ t.jsx(
|
@@ -17765,10 +17766,10 @@ const on = ({
|
|
17765
17766
|
] });
|
17766
17767
|
}, VE = ({ children: e }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: e });
|
17767
17768
|
on.Description = VE;
|
17768
|
-
const or =
|
17769
|
+
const or = Wt({ title: "", isLoading: !1, close: (e) => {
|
17769
17770
|
}, onSave: (e) => {
|
17770
17771
|
} });
|
17771
|
-
class
|
17772
|
+
class u0 extends Zn {
|
17772
17773
|
constructor(s) {
|
17773
17774
|
super(s), this.escFunction = this.escFunction.bind(this);
|
17774
17775
|
}
|
@@ -17814,12 +17815,12 @@ class d0 extends Zn {
|
|
17814
17815
|
);
|
17815
17816
|
}
|
17816
17817
|
}
|
17817
|
-
class
|
17818
|
+
class m0 extends Zn {
|
17818
17819
|
render() {
|
17819
17820
|
return /* @__PURE__ */ t.jsx(or.Consumer, { children: (s) => /* @__PURE__ */ t.jsx("button", { type: "submit", className: "cta dc__align-right", tabIndex: this.props.tabIndex, children: s.isLoading ? /* @__PURE__ */ t.jsx(Te, {}) : this.props.children }) });
|
17820
17821
|
}
|
17821
17822
|
}
|
17822
|
-
function
|
17823
|
+
function p0({
|
17823
17824
|
onClickDelete: e,
|
17824
17825
|
closeDeleteModal: s,
|
17825
17826
|
forceDeleteDialogTitle: n,
|
@@ -18000,8 +18001,8 @@ const gc = ({
|
|
18000
18001
|
}
|
18001
18002
|
) });
|
18002
18003
|
};
|
18003
|
-
var YE = /* @__PURE__ */ ((e) => (e.PRE_CI = "PRE_CI", e.POST_CI = "POST_CI", e.PRE_OR_POST_CI = "PRE_OR_POST_CI", e.PRE_CD = "PRE_CD", e.POST_CD = "POST_CD", e))(YE || {}),
|
18004
|
-
const
|
18004
|
+
var YE = /* @__PURE__ */ ((e) => (e.PRE_CI = "PRE_CI", e.POST_CI = "POST_CI", e.PRE_OR_POST_CI = "PRE_OR_POST_CI", e.PRE_CD = "PRE_CD", e.POST_CD = "POST_CD", e))(YE || {}), WE = /* @__PURE__ */ ((e) => (e.PRE_STAGE = "preBuildStage", e.POST_STAGE = "postBuildStage", e.PRE_OR_POST_STAGE = "PRE_OR_POST_CI", e))(WE || {}), KE = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.ALLOW_UNTIL_TIME = "ALLOW_UNTIL_TIME", e.ALLOW_FOREVER = "ALLOW_FOREVER", e))(KE || {});
|
18005
|
+
const f0 = ({
|
18005
18006
|
setDeleting: e,
|
18006
18007
|
toggleConfirmation: s,
|
18007
18008
|
deleteComponent: n,
|
@@ -18071,7 +18072,7 @@ const p0 = ({
|
|
18071
18072
|
forceReInit: m,
|
18072
18073
|
isSuperAdmin: p
|
18073
18074
|
}) => {
|
18074
|
-
const [f, g] = j(a || []), [_, h] = j(n ? n.comment : ""), [x, E] = j(o || []), [T, S] = j(n ? n.comment : ""), [C, v] = j(!1), [I, N] = j(!1), [b, A] = j(a || []), [R, y] = j(""), [V, D] = j([]), [M, q] = j([]), [ne, F] = j([]), [ce, Ce] = j(""), [me, Ae] = j(""), [B,
|
18075
|
+
const [f, g] = j(a || []), [_, h] = j(n ? n.comment : ""), [x, E] = j(o || []), [T, S] = j(n ? n.comment : ""), [C, v] = j(!1), [I, N] = j(!1), [b, A] = j(a || []), [R, y] = j(""), [V, D] = j([]), [M, q] = j([]), [ne, F] = j([]), [ce, Ce] = j(""), [me, Ae] = j(""), [B, W] = j(!1);
|
18075
18076
|
P(() => {
|
18076
18077
|
ie();
|
18077
18078
|
}, [a, n, i]), P(() => {
|
@@ -18152,7 +18153,7 @@ const p0 = ({
|
|
18152
18153
|
},
|
18153
18154
|
hardDeleteTags: ne
|
18154
18155
|
};
|
18155
|
-
|
18156
|
+
W(!0), Nf(z, e ?? 0, s).then((te) => {
|
18156
18157
|
const we = te.result?.imageReleaseTags?.map((He) => ({
|
18157
18158
|
id: He.id,
|
18158
18159
|
tagName: He.tagName,
|
@@ -18167,7 +18168,7 @@ const p0 = ({
|
|
18167
18168
|
description: te.errors?.[0]?.internalMessage
|
18168
18169
|
}), pe(te.errors)) : Re(te);
|
18169
18170
|
}).finally(() => {
|
18170
|
-
|
18171
|
+
W(!1);
|
18171
18172
|
});
|
18172
18173
|
}, Pe = () => /* @__PURE__ */ t.jsx(
|
18173
18174
|
hn,
|
@@ -18412,7 +18413,7 @@ const p0 = ({
|
|
18412
18413
|
/* @__PURE__ */ t.jsx(ta, { className: "icon-dim-16 cn-6" }),
|
18413
18414
|
/* @__PURE__ */ t.jsx("span", { className: "cn-7", children: "Add labels/comment" })
|
18414
18415
|
] }) });
|
18415
|
-
},
|
18416
|
+
}, _0 = ({
|
18416
18417
|
minHeight: e,
|
18417
18418
|
maxHeight: s,
|
18418
18419
|
value: n,
|
@@ -18481,7 +18482,7 @@ function qE(e, s, n = []) {
|
|
18481
18482
|
};
|
18482
18483
|
}, [s, ...n]);
|
18483
18484
|
}
|
18484
|
-
function
|
18485
|
+
function h0({
|
18485
18486
|
onSearch: e,
|
18486
18487
|
Icon: s,
|
18487
18488
|
children: n,
|
@@ -18530,7 +18531,7 @@ function _0({
|
|
18530
18531
|
n
|
18531
18532
|
] });
|
18532
18533
|
}
|
18533
|
-
function
|
18534
|
+
function g0({
|
18534
18535
|
container: e,
|
18535
18536
|
spacing: s = 0,
|
18536
18537
|
item: n,
|
@@ -18557,10 +18558,10 @@ function h0({
|
|
18557
18558
|
}
|
18558
18559
|
);
|
18559
18560
|
}
|
18560
|
-
const
|
18561
|
+
const x0 = ({ classes: e, parentClasses: s }) => /* @__PURE__ */ t.jsx("div", { className: s || "", children: /* @__PURE__ */ t.jsx(fu, { className: e || "" }) }), E0 = ({ setSelectedChartRefId: e }) => {
|
18561
18562
|
const [s, n] = j([]), [a, r] = j(null), [o, l] = j([]), [i, c] = j([]), [d, u] = j(null);
|
18562
18563
|
P(() => {
|
18563
|
-
|
18564
|
+
jf().then((g) => {
|
18564
18565
|
const _ = g?.result || [];
|
18565
18566
|
n(_);
|
18566
18567
|
const h = [...new Set(_.map((E) => E.chartType))].map((E) => ({
|
@@ -18615,7 +18616,7 @@ const g0 = ({ classes: e, parentClasses: s }) => /* @__PURE__ */ t.jsx("div", {
|
|
18615
18616
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 cn-0 fs-12 fw-6 lh-18", children: "Click to add" }),
|
18616
18617
|
e
|
18617
18618
|
] }) : /* @__PURE__ */ t.jsx("div", { className: "dc__white-space-pre-wrap", children: "Click to add here" });
|
18618
|
-
function
|
18619
|
+
function N0({
|
18619
18620
|
position: e,
|
18620
18621
|
addCDButtons: s,
|
18621
18622
|
endNode: n,
|
@@ -18664,7 +18665,7 @@ function E0({
|
|
18664
18665
|
}
|
18665
18666
|
) : null;
|
18666
18667
|
}
|
18667
|
-
const JE = ({ startNode: e }) => e.type === Ha.WEBHOOK ? wn.WEBHOOK : e.type === Ha.CI ? wn.CI_PIPELINE : wn.CD_PIPELINE,
|
18668
|
+
const JE = ({ startNode: e }) => e.type === Ha.WEBHOOK ? wn.WEBHOOK : e.type === Ha.CI ? wn.CI_PIPELINE : wn.CD_PIPELINE, b0 = ({
|
18668
18669
|
position: e,
|
18669
18670
|
handleCDSelect: s,
|
18670
18671
|
startNode: n,
|
@@ -18680,7 +18681,7 @@ const JE = ({ startNode: e }) => e.type === Ha.WEBHOOK ? wn.WEBHOOK : e.type ===
|
|
18680
18681
|
s(r, o, c, n.id, l, u, d);
|
18681
18682
|
};
|
18682
18683
|
var lr = /* @__PURE__ */ ((e) => (e.PARENT_BOTTOM_CENTER = "PARENT_BOTTOM_CENTER", e.SCREEN_BOTTOM_CENTER = "SCREEN_BOTTOM_CENTER", e.SCREEN_BOTTOM_RIGHT = "SCREEN_BOTTOM_RIGHT", e))(lr || {});
|
18683
|
-
function
|
18684
|
+
function C0({
|
18684
18685
|
children: e,
|
18685
18686
|
zIndex: s = Mu,
|
18686
18687
|
positionVariant: n,
|
@@ -18752,7 +18753,7 @@ function b0({
|
|
18752
18753
|
)
|
18753
18754
|
);
|
18754
18755
|
}
|
18755
|
-
function
|
18756
|
+
function T0({ dragClassName: e }) {
|
18756
18757
|
return /* @__PURE__ */ t.jsx(
|
18757
18758
|
"button",
|
18758
18759
|
{
|
@@ -18799,7 +18800,7 @@ const ai = 5, ZE = [
|
|
18799
18800
|
}, d = () => {
|
18800
18801
|
o(!r);
|
18801
18802
|
}, u = X(null);
|
18802
|
-
|
18803
|
+
Lf(u, c);
|
18803
18804
|
const m = l.find((f) => f.selected), p = r ? "fa fa-caret-up" : "fa fa-caret-down";
|
18804
18805
|
return /* @__PURE__ */ t.jsxs("div", { ref: u, children: [
|
18805
18806
|
r && /* @__PURE__ */ t.jsx("div", { className: "pagination__select-menu", children: l.map((f) => /* @__PURE__ */ t.jsx(
|
@@ -18822,7 +18823,7 @@ const ai = 5, ZE = [
|
|
18822
18823
|
n(e);
|
18823
18824
|
};
|
18824
18825
|
return /* @__PURE__ */ t.jsx("li", { className: "page", children: /* @__PURE__ */ t.jsx("button", { className: a, onClick: r, type: "button", children: e }) });
|
18825
|
-
},
|
18826
|
+
}, S0 = ({
|
18826
18827
|
size: e,
|
18827
18828
|
pageSize: s,
|
18828
18829
|
offset: n,
|
@@ -18997,7 +18998,7 @@ const ft = {
|
|
18997
18998
|
"unordered-list": "Add a bulleted list",
|
18998
18999
|
"ordered-list": "Add a numbered list",
|
18999
19000
|
"checked-list": "Add a task list"
|
19000
|
-
}, rN = "Readme cannot be empty. Please add some information or cancel the changes.", oN = "Are you sure you want to discard your changes?",
|
19001
|
+
}, rN = "Readme cannot be empty. Please add some information or cancel the changes.", oN = "Are you sure you want to discard your changes?", v0 = ({
|
19001
19002
|
text: e,
|
19002
19003
|
updatedBy: s,
|
19003
19004
|
updatedOn: n,
|
@@ -19011,7 +19012,7 @@ const ft = {
|
|
19011
19012
|
P(() => {
|
19012
19013
|
f(e);
|
19013
19014
|
}, [e]);
|
19014
|
-
const E =
|
19015
|
+
const E = he(n), T = E.isValid() ? E.format(tt.TWELVE_HOURS_FORMAT) : n, S = (N) => {
|
19015
19016
|
let b = !0;
|
19016
19017
|
return N.length === 0 && ($e.showToast({
|
19017
19018
|
variant: be.error,
|
@@ -19295,7 +19296,7 @@ const ft = {
|
|
19295
19296
|
const s = e?.toUpperCase();
|
19296
19297
|
return s === G.ABORTED || s === G.DEGRADED ? "Failed" : s === G.HEALTHY ? "Succeeded" : s === G.INPROGRESS ? "Inprogress" : e;
|
19297
19298
|
};
|
19298
|
-
function
|
19299
|
+
function I0({
|
19299
19300
|
appStatus: e,
|
19300
19301
|
isDeploymentStatus: s = !1,
|
19301
19302
|
isJobView: n = !1,
|
@@ -19325,7 +19326,7 @@ function v0({
|
|
19325
19326
|
] });
|
19326
19327
|
}
|
19327
19328
|
var Nc = /* @__PURE__ */ ((e) => (e.GRAY_ON_WHITE = "gui-yaml-switch", e.WHITE_ON_GRAY = "gui-yaml-switch-window-bg", e))(Nc || {});
|
19328
|
-
const
|
19329
|
+
const A0 = ({
|
19329
19330
|
tabs: e,
|
19330
19331
|
initialTab: s,
|
19331
19332
|
onChange: n,
|
@@ -19361,7 +19362,7 @@ export {
|
|
19361
19362
|
sT as A,
|
19362
19363
|
_c as B,
|
19363
19364
|
Ot as C,
|
19364
|
-
|
19365
|
+
f0 as D,
|
19365
19366
|
pa as E,
|
19366
19367
|
wu as F,
|
19367
19368
|
ze as G,
|
@@ -19376,9 +19377,9 @@ export {
|
|
19376
19377
|
Fe as P,
|
19377
19378
|
Mu as Q,
|
19378
19379
|
Jn as R,
|
19379
|
-
|
19380
|
+
i0 as S,
|
19380
19381
|
Le as T,
|
19381
|
-
|
19382
|
+
ge as U,
|
19382
19383
|
oT as V,
|
19383
19384
|
de as W,
|
19384
19385
|
Ba as X,
|
@@ -19398,7 +19399,7 @@ export {
|
|
19398
19399
|
Mr as a8,
|
19399
19400
|
Di as a9,
|
19400
19401
|
bs as aA,
|
19401
|
-
|
19402
|
+
Ku as aB,
|
19402
19403
|
wn as aC,
|
19403
19404
|
Ha as aD,
|
19404
19405
|
Js as aE,
|
@@ -19428,7 +19429,7 @@ export {
|
|
19428
19429
|
Mi as ab,
|
19429
19430
|
ki as ac,
|
19430
19431
|
dT as ad,
|
19431
|
-
|
19432
|
+
tt as ae,
|
19432
19433
|
uT as af,
|
19433
19434
|
kr as ag,
|
19434
19435
|
Va as ah,
|
@@ -19443,183 +19444,183 @@ export {
|
|
19443
19444
|
$s as aq,
|
19444
19445
|
Xs as ar,
|
19445
19446
|
la as as,
|
19446
|
-
|
19447
|
+
Ws as at,
|
19447
19448
|
Gu as au,
|
19448
19449
|
Hu as av,
|
19449
19450
|
Ga as aw,
|
19450
19451
|
Yu as ax,
|
19451
19452
|
Bi as ay,
|
19452
|
-
|
19453
|
+
Wu as az,
|
19453
19454
|
DE as b,
|
19454
|
-
|
19455
|
+
YS as b$,
|
19455
19456
|
Xn as b0,
|
19456
19457
|
Uv as b1,
|
19457
19458
|
Bv as b2,
|
19458
|
-
|
19459
|
-
|
19460
|
-
|
19461
|
-
|
19462
|
-
|
19463
|
-
|
19464
|
-
|
19459
|
+
$v as b3,
|
19460
|
+
ei as b4,
|
19461
|
+
ti as b5,
|
19462
|
+
jE as b6,
|
19463
|
+
Nt as b7,
|
19464
|
+
Fv as b8,
|
19465
|
+
Ve as b9,
|
19465
19466
|
n0 as bA,
|
19466
19467
|
a0 as bB,
|
19467
|
-
|
19468
|
-
|
19469
|
-
|
19470
|
-
|
19471
|
-
|
19472
|
-
|
19473
|
-
|
19474
|
-
|
19475
|
-
|
19476
|
-
|
19477
|
-
|
19478
|
-
|
19479
|
-
|
19480
|
-
|
19481
|
-
|
19482
|
-
|
19483
|
-
|
19484
|
-
|
19468
|
+
r0 as bC,
|
19469
|
+
Te as bD,
|
19470
|
+
NT as bE,
|
19471
|
+
ME as bF,
|
19472
|
+
$l as bG,
|
19473
|
+
Nn as bH,
|
19474
|
+
pc as bI,
|
19475
|
+
El as bJ,
|
19476
|
+
uE as bK,
|
19477
|
+
pE as bL,
|
19478
|
+
fE as bM,
|
19479
|
+
Rv as bN,
|
19480
|
+
Jo as bO,
|
19481
|
+
_a as bP,
|
19482
|
+
mE as bQ,
|
19483
|
+
ht as bR,
|
19484
|
+
p0 as bS,
|
19485
|
+
on as bT,
|
19485
19486
|
u0 as bU,
|
19486
|
-
|
19487
|
-
|
19488
|
-
|
19489
|
-
|
19490
|
-
|
19491
|
-
|
19487
|
+
m0 as bV,
|
19488
|
+
Q_ as bW,
|
19489
|
+
VS as bX,
|
19490
|
+
GS as bY,
|
19491
|
+
HS as bZ,
|
19492
|
+
eh as b_,
|
19492
19493
|
Vv as ba,
|
19493
|
-
|
19494
|
-
|
19495
|
-
|
19494
|
+
Gv as bb,
|
19495
|
+
si as bc,
|
19496
|
+
ni as bd,
|
19496
19497
|
Hv as be,
|
19497
|
-
|
19498
|
-
|
19498
|
+
Yv as bf,
|
19499
|
+
cc as bg,
|
19499
19500
|
Wv as bh,
|
19500
19501
|
zv as bi,
|
19501
|
-
|
19502
|
-
|
19502
|
+
qv as bj,
|
19503
|
+
yE as bk,
|
19503
19504
|
Xv as bl,
|
19504
|
-
|
19505
|
-
|
19506
|
-
|
19507
|
-
|
19508
|
-
|
19505
|
+
Jv as bm,
|
19506
|
+
rn as bn,
|
19507
|
+
Zv as bo,
|
19508
|
+
LE as bp,
|
19509
|
+
dc as bq,
|
19509
19510
|
Qv as br,
|
19510
|
-
|
19511
|
-
|
19512
|
-
|
19511
|
+
e0 as bs,
|
19512
|
+
wE as bt,
|
19513
|
+
uc as bu,
|
19513
19514
|
t0 as bv,
|
19514
|
-
|
19515
|
-
|
19516
|
-
|
19517
|
-
|
19515
|
+
s0 as bw,
|
19516
|
+
OE as bx,
|
19517
|
+
PE as by,
|
19518
|
+
mc as bz,
|
19518
19519
|
Kv as c,
|
19519
|
-
|
19520
|
-
|
19521
|
-
|
19522
|
-
|
19523
|
-
|
19524
|
-
|
19525
|
-
|
19526
|
-
|
19527
|
-
|
19528
|
-
|
19529
|
-
|
19530
|
-
|
19531
|
-
|
19520
|
+
I0 as c$,
|
19521
|
+
WS as c0,
|
19522
|
+
th as c1,
|
19523
|
+
KS as c2,
|
19524
|
+
gf as c3,
|
19525
|
+
Et as c4,
|
19526
|
+
Ef as c5,
|
19527
|
+
Nf as c6,
|
19528
|
+
vf as c7,
|
19529
|
+
If as c8,
|
19530
|
+
BT as c9,
|
19531
|
+
WE as cA,
|
19532
|
+
KE as cB,
|
19532
19533
|
Ec as cC,
|
19533
19534
|
ir as cD,
|
19534
|
-
|
19535
|
+
_0 as cE,
|
19535
19536
|
ml as cF,
|
19536
|
-
|
19537
|
+
Lf as cG,
|
19537
19538
|
pl as cH,
|
19538
19539
|
br as cI,
|
19539
19540
|
_n as cJ,
|
19540
19541
|
_l as cK,
|
19541
|
-
|
19542
|
-
|
19543
|
-
|
19544
|
-
|
19542
|
+
Pf as cL,
|
19543
|
+
x0 as cM,
|
19544
|
+
N0 as cN,
|
19545
|
+
b0 as cO,
|
19545
19546
|
xn as cP,
|
19546
|
-
|
19547
|
-
|
19547
|
+
C0 as cQ,
|
19548
|
+
T0 as cR,
|
19548
19549
|
lr as cS,
|
19549
|
-
|
19550
|
+
S0 as cT,
|
19550
19551
|
ri as cU,
|
19551
|
-
|
19552
|
+
v0 as cV,
|
19552
19553
|
xs as cW,
|
19553
19554
|
nl as cX,
|
19554
19555
|
Pt as cY,
|
19555
19556
|
Ns as cZ,
|
19556
19557
|
Rg as c_,
|
19557
|
-
|
19558
|
-
|
19559
|
-
|
19560
|
-
|
19561
|
-
|
19562
|
-
|
19563
|
-
|
19564
|
-
|
19565
|
-
|
19566
|
-
|
19567
|
-
|
19568
|
-
|
19569
|
-
|
19570
|
-
|
19571
|
-
|
19572
|
-
|
19573
|
-
|
19574
|
-
|
19575
|
-
|
19576
|
-
|
19577
|
-
|
19578
|
-
|
19579
|
-
|
19580
|
-
|
19581
|
-
|
19558
|
+
Yn as ca,
|
19559
|
+
fn as cb,
|
19560
|
+
jf as cc,
|
19561
|
+
$T as cd,
|
19562
|
+
FT as ce,
|
19563
|
+
VT as cf,
|
19564
|
+
GT as cg,
|
19565
|
+
HT as ch,
|
19566
|
+
to as ci,
|
19567
|
+
yf as cj,
|
19568
|
+
YT as ck,
|
19569
|
+
ps as cl,
|
19570
|
+
xc as cm,
|
19571
|
+
tp as cn,
|
19572
|
+
LT as co,
|
19573
|
+
ul as cp,
|
19574
|
+
lf as cq,
|
19575
|
+
cf as cr,
|
19576
|
+
df as cs,
|
19577
|
+
uf as ct,
|
19578
|
+
mf as cu,
|
19579
|
+
pf as cv,
|
19580
|
+
ff as cw,
|
19581
|
+
_f as cx,
|
19582
|
+
hf as cy,
|
19582
19583
|
YE as cz,
|
19583
19584
|
qs as d,
|
19584
|
-
|
19585
|
+
iS as d$,
|
19585
19586
|
lN as d0,
|
19586
19587
|
bT as d1,
|
19587
19588
|
Nc as d2,
|
19588
|
-
|
19589
|
+
A0 as d3,
|
19589
19590
|
kT as d4,
|
19590
19591
|
UT as d5,
|
19591
|
-
|
19592
|
-
|
19593
|
-
|
19594
|
-
|
19595
|
-
|
19596
|
-
|
19597
|
-
|
19598
|
-
|
19599
|
-
|
19600
|
-
|
19601
|
-
|
19602
|
-
|
19603
|
-
|
19604
|
-
|
19605
|
-
|
19606
|
-
|
19607
|
-
|
19608
|
-
|
19609
|
-
|
19610
|
-
|
19611
|
-
|
19612
|
-
|
19613
|
-
|
19614
|
-
|
19615
|
-
|
19616
|
-
|
19617
|
-
|
19618
|
-
|
19619
|
-
|
19620
|
-
|
19621
|
-
|
19622
|
-
|
19592
|
+
KT as d6,
|
19593
|
+
Vf as d7,
|
19594
|
+
Gf as d8,
|
19595
|
+
Hf as d9,
|
19596
|
+
XT as dA,
|
19597
|
+
JT as dB,
|
19598
|
+
Qf as dC,
|
19599
|
+
ZT as dD,
|
19600
|
+
QT as dE,
|
19601
|
+
Vs as dF,
|
19602
|
+
a_ as dG,
|
19603
|
+
eS as dH,
|
19604
|
+
tS as dI,
|
19605
|
+
n_ as dJ,
|
19606
|
+
r_ as dK,
|
19607
|
+
o_ as dL,
|
19608
|
+
sS as dM,
|
19609
|
+
nS as dN,
|
19610
|
+
lS as dO,
|
19611
|
+
p_ as dP,
|
19612
|
+
oS as dQ,
|
19613
|
+
c_ as dR,
|
19614
|
+
Cr as dS,
|
19615
|
+
i_ as dT,
|
19616
|
+
l_ as dU,
|
19617
|
+
aS as dV,
|
19618
|
+
rS as dW,
|
19619
|
+
gs as dX,
|
19620
|
+
d_ as dY,
|
19621
|
+
u_ as dZ,
|
19622
|
+
m_ as d_,
|
19623
|
+
Yf as da,
|
19623
19624
|
An as db,
|
19624
19625
|
zT as dc,
|
19625
19626
|
qT as dd,
|
@@ -19632,371 +19633,372 @@ export {
|
|
19632
19633
|
js as dk,
|
19633
19634
|
Oe as dl,
|
19634
19635
|
MT as dm,
|
19635
|
-
|
19636
|
+
Wr as dn,
|
19636
19637
|
Qa as dp,
|
19637
19638
|
Vp as dq,
|
19638
19639
|
Gp as dr,
|
19639
19640
|
Hp as ds,
|
19640
19641
|
Yp as dt,
|
19641
|
-
|
19642
|
-
|
19643
|
-
|
19644
|
-
|
19645
|
-
|
19646
|
-
|
19647
|
-
|
19648
|
-
|
19649
|
-
|
19650
|
-
|
19651
|
-
|
19652
|
-
|
19653
|
-
|
19654
|
-
|
19655
|
-
|
19656
|
-
|
19657
|
-
|
19658
|
-
|
19659
|
-
|
19660
|
-
|
19661
|
-
|
19662
|
-
|
19663
|
-
|
19664
|
-
|
19665
|
-
|
19666
|
-
|
19667
|
-
|
19668
|
-
|
19669
|
-
|
19670
|
-
|
19671
|
-
|
19672
|
-
|
19673
|
-
|
19674
|
-
|
19675
|
-
|
19676
|
-
|
19677
|
-
|
19678
|
-
|
19679
|
-
|
19680
|
-
|
19681
|
-
|
19682
|
-
|
19683
|
-
|
19684
|
-
|
19685
|
-
|
19686
|
-
|
19687
|
-
|
19688
|
-
|
19689
|
-
|
19690
|
-
|
19691
|
-
|
19692
|
-
|
19693
|
-
|
19694
|
-
|
19695
|
-
|
19696
|
-
|
19697
|
-
|
19698
|
-
|
19699
|
-
|
19700
|
-
|
19701
|
-
|
19702
|
-
|
19703
|
-
|
19704
|
-
|
19705
|
-
|
19706
|
-
|
19707
|
-
|
19708
|
-
|
19709
|
-
|
19710
|
-
|
19711
|
-
|
19712
|
-
|
19713
|
-
|
19714
|
-
|
19715
|
-
|
19716
|
-
|
19717
|
-
|
19718
|
-
|
19719
|
-
|
19720
|
-
|
19721
|
-
|
19722
|
-
|
19723
|
-
|
19724
|
-
|
19725
|
-
|
19726
|
-
|
19727
|
-
|
19728
|
-
|
19729
|
-
|
19730
|
-
|
19731
|
-
|
19732
|
-
|
19733
|
-
|
19734
|
-
|
19735
|
-
|
19736
|
-
|
19737
|
-
|
19738
|
-
|
19739
|
-
|
19740
|
-
|
19741
|
-
|
19742
|
-
|
19743
|
-
|
19744
|
-
|
19745
|
-
|
19746
|
-
|
19747
|
-
|
19748
|
-
|
19749
|
-
|
19750
|
-
|
19751
|
-
|
19752
|
-
|
19753
|
-
|
19754
|
-
|
19755
|
-
|
19756
|
-
|
19757
|
-
|
19758
|
-
|
19759
|
-
|
19760
|
-
|
19761
|
-
|
19762
|
-
|
19763
|
-
|
19764
|
-
|
19765
|
-
|
19766
|
-
|
19767
|
-
|
19768
|
-
|
19769
|
-
|
19770
|
-
|
19771
|
-
|
19772
|
-
|
19773
|
-
|
19774
|
-
|
19775
|
-
|
19776
|
-
|
19777
|
-
|
19778
|
-
|
19779
|
-
|
19780
|
-
|
19781
|
-
|
19782
|
-
|
19783
|
-
|
19784
|
-
|
19785
|
-
|
19786
|
-
|
19787
|
-
|
19788
|
-
|
19789
|
-
|
19790
|
-
|
19791
|
-
|
19792
|
-
|
19793
|
-
|
19794
|
-
|
19795
|
-
|
19796
|
-
|
19797
|
-
|
19798
|
-
|
19799
|
-
|
19800
|
-
|
19801
|
-
|
19802
|
-
|
19803
|
-
|
19804
|
-
|
19805
|
-
|
19806
|
-
|
19807
|
-
|
19808
|
-
|
19809
|
-
|
19810
|
-
|
19811
|
-
|
19812
|
-
|
19813
|
-
|
19814
|
-
|
19815
|
-
|
19816
|
-
|
19817
|
-
|
19818
|
-
|
19819
|
-
|
19820
|
-
|
19821
|
-
|
19822
|
-
|
19823
|
-
|
19824
|
-
|
19825
|
-
|
19826
|
-
|
19827
|
-
|
19828
|
-
|
19829
|
-
|
19830
|
-
|
19831
|
-
|
19832
|
-
|
19833
|
-
|
19834
|
-
|
19835
|
-
|
19836
|
-
|
19837
|
-
|
19838
|
-
|
19839
|
-
|
19840
|
-
|
19841
|
-
|
19642
|
+
Kr as du,
|
19643
|
+
Xf as dv,
|
19644
|
+
lo as dw,
|
19645
|
+
Kf as dx,
|
19646
|
+
zf as dy,
|
19647
|
+
qf as dz,
|
19648
|
+
o0 as e,
|
19649
|
+
dh as e$,
|
19650
|
+
cS as e0,
|
19651
|
+
dS as e1,
|
19652
|
+
f_ as e2,
|
19653
|
+
uS as e3,
|
19654
|
+
mS as e4,
|
19655
|
+
pS as e5,
|
19656
|
+
fS as e6,
|
19657
|
+
_S as e7,
|
19658
|
+
hS as e8,
|
19659
|
+
gS as e9,
|
19660
|
+
P_ as eA,
|
19661
|
+
yS as eB,
|
19662
|
+
ms as eC,
|
19663
|
+
LS as eD,
|
19664
|
+
zs as eE,
|
19665
|
+
hn as eF,
|
19666
|
+
RS as eG,
|
19667
|
+
z_ as eH,
|
19668
|
+
kS as eI,
|
19669
|
+
W_ as eJ,
|
19670
|
+
ua as eK,
|
19671
|
+
US as eL,
|
19672
|
+
BS as eM,
|
19673
|
+
$S as eN,
|
19674
|
+
Sl as eO,
|
19675
|
+
FS as eP,
|
19676
|
+
Z_ as eQ,
|
19677
|
+
zS as eR,
|
19678
|
+
jl as eS,
|
19679
|
+
rv as eT,
|
19680
|
+
Gh as eU,
|
19681
|
+
Zh as eV,
|
19682
|
+
qh as eW,
|
19683
|
+
Qh as eX,
|
19684
|
+
Vh as eY,
|
19685
|
+
Ne as eZ,
|
19686
|
+
Ft as e_,
|
19687
|
+
qi as ea,
|
19688
|
+
Xi as eb,
|
19689
|
+
Ji as ec,
|
19690
|
+
CT as ed,
|
19691
|
+
Zi as ee,
|
19692
|
+
Om as ef,
|
19693
|
+
Qi as eg,
|
19694
|
+
Pm as eh,
|
19695
|
+
Dm as ei,
|
19696
|
+
TT as ej,
|
19697
|
+
jT as ek,
|
19698
|
+
qm as el,
|
19699
|
+
AT as em,
|
19700
|
+
Be as en,
|
19701
|
+
tl as eo,
|
19702
|
+
Wm as ep,
|
19703
|
+
ba as eq,
|
19704
|
+
Ds as er,
|
19705
|
+
Km as es,
|
19706
|
+
zm as et,
|
19707
|
+
Hr as eu,
|
19708
|
+
yT as ev,
|
19709
|
+
Jm as ew,
|
19710
|
+
AS as ex,
|
19711
|
+
jS as ey,
|
19712
|
+
da as ez,
|
19713
|
+
c0 as f,
|
19714
|
+
Ox as f$,
|
19715
|
+
uh as f0,
|
19716
|
+
at as f1,
|
19717
|
+
sn as f2,
|
19718
|
+
bo as f3,
|
19719
|
+
Ts as f4,
|
19720
|
+
mh as f5,
|
19721
|
+
ph as f6,
|
19722
|
+
yh as f7,
|
19723
|
+
Lh as f8,
|
19724
|
+
Rh as f9,
|
19725
|
+
Hh as fA,
|
19726
|
+
Jl as fB,
|
19727
|
+
Jh as fC,
|
19728
|
+
Xh as fD,
|
19729
|
+
iv as fE,
|
19730
|
+
uv as fF,
|
19731
|
+
cv as fG,
|
19732
|
+
dv as fH,
|
19733
|
+
gx as fI,
|
19734
|
+
Un as fJ,
|
19735
|
+
Ex as fK,
|
19736
|
+
Nx as fL,
|
19737
|
+
bx as fM,
|
19738
|
+
lv as fN,
|
19739
|
+
Zl as fO,
|
19740
|
+
px as fP,
|
19741
|
+
fx as fQ,
|
19742
|
+
_x as fR,
|
19743
|
+
rs as fS,
|
19744
|
+
ov as fT,
|
19745
|
+
jo as fU,
|
19746
|
+
Ll as fV,
|
19747
|
+
mv as fW,
|
19748
|
+
Cx as fX,
|
19749
|
+
pv as fY,
|
19750
|
+
gv as fZ,
|
19751
|
+
Px as f_,
|
19752
|
+
wh as fa,
|
19753
|
+
Oh as fb,
|
19754
|
+
Ph as fc,
|
19755
|
+
ZS as fd,
|
19756
|
+
QS as fe,
|
19757
|
+
Dh as ff,
|
19758
|
+
Mh as fg,
|
19759
|
+
kh as fh,
|
19760
|
+
nn as fi,
|
19761
|
+
ev as fj,
|
19762
|
+
tv as fk,
|
19763
|
+
sv as fl,
|
19764
|
+
av as fm,
|
19765
|
+
qg as fn,
|
19766
|
+
Xg as fo,
|
19767
|
+
fh as fp,
|
19768
|
+
_h as fq,
|
19769
|
+
Co as fr,
|
19770
|
+
To as fs,
|
19771
|
+
hh as ft,
|
19772
|
+
gh as fu,
|
19773
|
+
Il as fv,
|
19774
|
+
cx as fw,
|
19775
|
+
Yg as fx,
|
19776
|
+
Tg as fy,
|
19777
|
+
Al as fz,
|
19778
|
+
d0 as g,
|
19779
|
+
Yo as g$,
|
19780
|
+
Ql as g0,
|
19781
|
+
Sx as g1,
|
19782
|
+
_v as g2,
|
19783
|
+
tc as g3,
|
19784
|
+
Rx as g4,
|
19785
|
+
hv as g5,
|
19786
|
+
ec as g6,
|
19787
|
+
jx as g7,
|
19788
|
+
yx as g8,
|
19789
|
+
Lx as g9,
|
19790
|
+
Fp as gA,
|
19791
|
+
O_ as gB,
|
19792
|
+
L_ as gC,
|
19793
|
+
R_ as gD,
|
19794
|
+
IS as gE,
|
19795
|
+
w_ as gF,
|
19796
|
+
Bp as gG,
|
19797
|
+
RT as gH,
|
19798
|
+
OT as gI,
|
19799
|
+
wT as gJ,
|
19800
|
+
ip as gK,
|
19801
|
+
PT as gL,
|
19802
|
+
ll as gM,
|
19803
|
+
Ca as gN,
|
19804
|
+
$p as gO,
|
19805
|
+
pp as gP,
|
19806
|
+
fp as gQ,
|
19807
|
+
_p as gR,
|
19808
|
+
Ke as gS,
|
19809
|
+
Ze as gT,
|
19810
|
+
it as gU,
|
19811
|
+
qa as gV,
|
19812
|
+
aE as gW,
|
19813
|
+
sE as gX,
|
19814
|
+
rc as gY,
|
19815
|
+
yv as gZ,
|
19816
|
+
Lv as g_,
|
19817
|
+
fv as ga,
|
19818
|
+
vx as gb,
|
19819
|
+
Ix as gc,
|
19820
|
+
xv as gd,
|
19821
|
+
jt as ge,
|
19822
|
+
WT as gf,
|
19823
|
+
tn as gg,
|
19824
|
+
Ht as gh,
|
19825
|
+
yl as gi,
|
19826
|
+
eg as gj,
|
19827
|
+
fg as gk,
|
19828
|
+
mt as gl,
|
19829
|
+
rg as gm,
|
19830
|
+
Po as gn,
|
19831
|
+
ig as go,
|
19832
|
+
mg as gp,
|
19833
|
+
nv as gq,
|
19834
|
+
Ul as gr,
|
19835
|
+
Pl as gs,
|
19836
|
+
Hs as gt,
|
19837
|
+
Rn as gu,
|
19838
|
+
Dl as gv,
|
19839
|
+
vl as gw,
|
19840
|
+
Ev as gx,
|
19841
|
+
jv as gy,
|
19842
|
+
Ol as gz,
|
19842
19843
|
GE as h,
|
19843
|
-
|
19844
|
-
|
19845
|
-
|
19846
|
-
|
19847
|
-
|
19848
|
-
|
19849
|
-
|
19850
|
-
|
19851
|
-
|
19852
|
-
|
19853
|
-
|
19854
|
-
|
19855
|
-
|
19856
|
-
|
19857
|
-
|
19858
|
-
|
19859
|
-
|
19860
|
-
|
19861
|
-
|
19862
|
-
|
19863
|
-
|
19864
|
-
|
19865
|
-
|
19866
|
-
|
19867
|
-
|
19868
|
-
|
19869
|
-
|
19870
|
-
|
19871
|
-
|
19872
|
-
|
19873
|
-
|
19874
|
-
|
19875
|
-
|
19876
|
-
|
19877
|
-
|
19878
|
-
|
19879
|
-
|
19880
|
-
|
19881
|
-
|
19882
|
-
|
19883
|
-
|
19884
|
-
|
19885
|
-
|
19886
|
-
|
19887
|
-
|
19888
|
-
|
19889
|
-
|
19890
|
-
|
19891
|
-
|
19892
|
-
|
19893
|
-
|
19894
|
-
|
19895
|
-
|
19896
|
-
|
19897
|
-
|
19898
|
-
|
19899
|
-
|
19900
|
-
|
19901
|
-
|
19902
|
-
|
19903
|
-
|
19904
|
-
|
19905
|
-
|
19906
|
-
|
19844
|
+
sm as h$,
|
19845
|
+
ys as h0,
|
19846
|
+
kl as h1,
|
19847
|
+
EE as h2,
|
19848
|
+
Ye as h3,
|
19849
|
+
wv as h4,
|
19850
|
+
bE as h5,
|
19851
|
+
Zo as h6,
|
19852
|
+
hE as h7,
|
19853
|
+
Me as h8,
|
19854
|
+
Nv as h9,
|
19855
|
+
N_ as hA,
|
19856
|
+
CS as hB,
|
19857
|
+
TS as hC,
|
19858
|
+
SS as hD,
|
19859
|
+
mo as hE,
|
19860
|
+
b_ as hF,
|
19861
|
+
po as hG,
|
19862
|
+
fo as hH,
|
19863
|
+
T_ as hI,
|
19864
|
+
S_ as hJ,
|
19865
|
+
Tr as hK,
|
19866
|
+
v_ as hL,
|
19867
|
+
I_ as hM,
|
19868
|
+
A_ as hN,
|
19869
|
+
vS as hO,
|
19870
|
+
j_ as hP,
|
19871
|
+
y_ as hQ,
|
19872
|
+
Sr as hR,
|
19873
|
+
xl as hS,
|
19874
|
+
Zu as hT,
|
19875
|
+
J as hU,
|
19876
|
+
Wa as hV,
|
19877
|
+
Qu as hW,
|
19878
|
+
Zs as hX,
|
19879
|
+
hs as hY,
|
19880
|
+
em as hZ,
|
19881
|
+
tm as h_,
|
19882
|
+
zx as ha,
|
19883
|
+
qx as hb,
|
19884
|
+
Xx as hc,
|
19885
|
+
zo as hd,
|
19886
|
+
Jx as he,
|
19887
|
+
nc as hf,
|
19888
|
+
bv as hg,
|
19889
|
+
Qx as hh,
|
19890
|
+
Cv as hi,
|
19891
|
+
Tv as hj,
|
19892
|
+
Sv as hk,
|
19893
|
+
vv as hl,
|
19894
|
+
Iv as hm,
|
19895
|
+
Av as hn,
|
19896
|
+
h_ as ho,
|
19897
|
+
xS as hp,
|
19898
|
+
Yt as hq,
|
19899
|
+
co as hr,
|
19900
|
+
ES as hs,
|
19901
|
+
NS as ht,
|
19902
|
+
ke as hu,
|
19903
|
+
x_ as hv,
|
19904
|
+
gl as hw,
|
19905
|
+
bS as hx,
|
19906
|
+
uo as hy,
|
19907
|
+
E_ as hz,
|
19907
19908
|
vt as i,
|
19908
|
-
|
19909
|
-
|
19910
|
-
|
19911
|
-
|
19912
|
-
|
19913
|
-
|
19914
|
-
|
19915
|
-
|
19916
|
-
|
19917
|
-
|
19918
|
-
|
19919
|
-
|
19920
|
-
|
19921
|
-
|
19922
|
-
|
19923
|
-
|
19924
|
-
|
19925
|
-
|
19926
|
-
|
19927
|
-
|
19928
|
-
|
19929
|
-
|
19930
|
-
|
19931
|
-
|
19932
|
-
|
19933
|
-
|
19934
|
-
|
19935
|
-
|
19936
|
-
|
19937
|
-
|
19938
|
-
|
19939
|
-
|
19940
|
-
|
19941
|
-
|
19942
|
-
|
19943
|
-
|
19944
|
-
|
19945
|
-
|
19946
|
-
|
19947
|
-
|
19948
|
-
|
19949
|
-
|
19950
|
-
|
19951
|
-
|
19952
|
-
|
19953
|
-
|
19954
|
-
|
19955
|
-
|
19956
|
-
|
19957
|
-
|
19958
|
-
|
19959
|
-
|
19960
|
-
|
19961
|
-
|
19962
|
-
|
19963
|
-
|
19964
|
-
|
19965
|
-
|
19966
|
-
|
19967
|
-
|
19968
|
-
|
19969
|
-
|
19970
|
-
|
19971
|
-
|
19972
|
-
|
19973
|
-
|
19974
|
-
|
19975
|
-
|
19976
|
-
|
19977
|
-
|
19978
|
-
|
19979
|
-
|
19980
|
-
|
19981
|
-
|
19982
|
-
|
19983
|
-
|
19984
|
-
|
19985
|
-
|
19986
|
-
|
19987
|
-
|
19988
|
-
|
19909
|
+
Vr as i$,
|
19910
|
+
Vi as i0,
|
19911
|
+
We as i1,
|
19912
|
+
gr as i2,
|
19913
|
+
nm as i3,
|
19914
|
+
Qs as i4,
|
19915
|
+
_t as i5,
|
19916
|
+
am as i6,
|
19917
|
+
rm as i7,
|
19918
|
+
On as i8,
|
19919
|
+
om as i9,
|
19920
|
+
Ks as iA,
|
19921
|
+
fm as iB,
|
19922
|
+
Ka as iC,
|
19923
|
+
G as iD,
|
19924
|
+
ve as iE,
|
19925
|
+
ot as iF,
|
19926
|
+
Sn as iG,
|
19927
|
+
le as iH,
|
19928
|
+
_m as iI,
|
19929
|
+
za as iJ,
|
19930
|
+
hm as iK,
|
19931
|
+
gm as iL,
|
19932
|
+
xm as iM,
|
19933
|
+
$r as iN,
|
19934
|
+
Em as iO,
|
19935
|
+
Fr as iP,
|
19936
|
+
U as iQ,
|
19937
|
+
Wi as iR,
|
19938
|
+
Nm as iS,
|
19939
|
+
hT as iT,
|
19940
|
+
gT as iU,
|
19941
|
+
xT as iV,
|
19942
|
+
ET as iW,
|
19943
|
+
Fn as iX,
|
19944
|
+
bm as iY,
|
19945
|
+
Cm as iZ,
|
19946
|
+
Tm as i_,
|
19947
|
+
Gi as ia,
|
19948
|
+
fT as ib,
|
19949
|
+
im as ic,
|
19950
|
+
lm as id,
|
19951
|
+
cm as ie,
|
19952
|
+
ma as ig,
|
19953
|
+
wS as ih,
|
19954
|
+
bl as ii,
|
19955
|
+
OS as ij,
|
19956
|
+
PS as ik,
|
19957
|
+
Tl as il,
|
19958
|
+
DS as im,
|
19959
|
+
MS as io,
|
19960
|
+
Tn as ip,
|
19961
|
+
dm as iq,
|
19962
|
+
ca as ir,
|
19963
|
+
Hi as is,
|
19964
|
+
Br as it,
|
19965
|
+
um as iu,
|
19966
|
+
_T as iv,
|
19967
|
+
Yi as iw,
|
19968
|
+
en as ix,
|
19969
|
+
mm as iy,
|
19970
|
+
pm as iz,
|
19971
|
+
h0 as j,
|
19972
|
+
km as j0,
|
19973
|
+
Fs as j1,
|
19974
|
+
Um as j2,
|
19975
|
+
Ut as j3,
|
19976
|
+
xt as j4,
|
19977
|
+
Xa as j5,
|
19978
|
+
Ue as j6,
|
19979
|
+
Bm as j7,
|
19980
|
+
$m as j8,
|
19981
|
+
Fm as j9,
|
19982
|
+
Vm as ja,
|
19983
|
+
ST as jb,
|
19984
|
+
vT as jc,
|
19985
|
+
$e as jd,
|
19986
|
+
IT as je,
|
19987
|
+
be as jf,
|
19988
|
+
vr as jg,
|
19989
|
+
Yh as jh,
|
19989
19990
|
Wh as ji,
|
19990
|
-
|
19991
|
-
|
19992
|
-
|
19993
|
-
|
19994
|
-
|
19995
|
-
|
19996
|
-
|
19997
|
-
|
19991
|
+
Kh as jj,
|
19992
|
+
zh as jk,
|
19993
|
+
wl as jl,
|
19994
|
+
qS as jm,
|
19995
|
+
XS as jn,
|
19996
|
+
Ah as jo,
|
19997
|
+
JS as jp,
|
19998
|
+
Ov as jq,
|
19999
|
+
g0 as k,
|
19998
20000
|
St as l,
|
19999
|
-
|
20001
|
+
E0 as m,
|
20000
20002
|
_s as n,
|
20001
20003
|
Ps as o,
|
20002
20004
|
hr as p,
|
@@ -20004,7 +20006,7 @@ export {
|
|
20004
20006
|
As as r,
|
20005
20007
|
$n as s,
|
20006
20008
|
H as t,
|
20007
|
-
|
20009
|
+
l0 as u,
|
20008
20010
|
eT as v,
|
20009
20011
|
Se as w,
|
20010
20012
|
Pu as x,
|