@devtron-labs/devtron-fe-common-lib 1.9.9 → 1.10.0-patch-1

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.
Files changed (52) hide show
  1. package/dist/{@code-editor-CHoIAnAq.js → @code-editor-BuBwMXLu.js} +125 -123
  2. package/dist/{@common-rjsf-BALKWZzq.js → @common-rjsf-DNb5M_NL.js} +1 -1
  3. package/dist/Shared/Components/CICDHistory/service.d.ts +1 -1
  4. package/dist/assets/ic-app-group.068791a2.svg +19 -0
  5. package/dist/assets/ic-arrow-right.96f4142a.svg +19 -0
  6. package/dist/assets/{ic-azure.49ec3dad.svg → ic-azure.a01ce3b4.svg} +16 -0
  7. package/dist/assets/ic-browser.f77a9d59.svg +19 -0
  8. package/dist/assets/ic-card-stack.0de57a3a.svg +19 -0
  9. package/dist/assets/ic-code.3af36d5c.svg +19 -0
  10. package/dist/assets/ic-copy.c4b628de.svg +19 -0
  11. package/dist/assets/{ic-crown.868ff2a9.svg → ic-crown.24ca27fc.svg} +16 -0
  12. package/dist/assets/ic-cube.be637e97.svg +19 -0
  13. package/dist/assets/{ic-dockerhub.19023887.svg → ic-dockerhub.03bd09a9.svg} +16 -0
  14. package/dist/assets/{ic-ecr.022619e3.svg → ic-ecr.302d6ccb.svg} +16 -0
  15. package/dist/assets/{ic-gear.51261b97.svg → ic-gear.7116a8bf.svg} +16 -0
  16. package/dist/assets/{ic-google-artifact-registry.536fe6c7.svg → ic-google-artifact-registry.2a167c8b.svg} +16 -0
  17. package/dist/assets/{ic-google-container-registry.20eeef45.svg → ic-google-container-registry.320c53ee.svg} +16 -0
  18. package/dist/assets/{ic-google.adce3079.svg → ic-google.475640a4.svg} +16 -0
  19. package/dist/assets/ic-grid-view.13207b99.svg +19 -0
  20. package/dist/assets/ic-helm.20583d75.svg +19 -0
  21. package/dist/assets/ic-k8s-job.c4f9ccc7.svg +19 -0
  22. package/dist/assets/{ic-ldap.1742ec39.svg → ic-ldap.0c5633d9.svg} +16 -0
  23. package/dist/assets/ic-logout.f0a8b488.svg +19 -0
  24. package/dist/assets/{ic-medium-paintbucket.38ef52c1.svg → ic-medium-paintbucket.45544bb9.svg} +16 -0
  25. package/dist/assets/ic-microsoft.7c7bcaeb.svg +22 -0
  26. package/dist/assets/{ic-monitoring.6e5acb4a.svg → ic-monitoring.30910a3c.svg} +16 -0
  27. package/dist/assets/ic-new.1907a03f.svg +19 -0
  28. package/dist/assets/ic-oidc.5e06656d.svg +20 -0
  29. package/dist/assets/{ic-open-box.e672fe67.svg → ic-open-box.b15fcbbd.svg} +16 -0
  30. package/dist/assets/{ic-openshift.afcfadec.svg → ic-openshift.3886b54f.svg} +16 -0
  31. package/dist/assets/{ic-quay.19eb5574.svg → ic-quay.d622b34f.svg} +16 -0
  32. package/dist/assets/ic-shield-check.c26854d2.svg +19 -0
  33. package/dist/assets/ic-stack.fbd3aea5.svg +19 -0
  34. package/dist/assets/{ic-user-key.523f6939.svg → ic-user-key.5dc44524.svg} +16 -0
  35. package/dist/index.js +2 -2
  36. package/package.json +1 -1
  37. package/dist/assets/ic-app-group.892e71ff.svg +0 -3
  38. package/dist/assets/ic-arrow-right.06ad55f3.svg +0 -3
  39. package/dist/assets/ic-browser.b8afdf0d.svg +0 -3
  40. package/dist/assets/ic-card-stack.efd37c91.svg +0 -3
  41. package/dist/assets/ic-code.29c36e44.svg +0 -3
  42. package/dist/assets/ic-copy.416d85f3.svg +0 -3
  43. package/dist/assets/ic-cube.643b8b57.svg +0 -3
  44. package/dist/assets/ic-grid-view.a1ff2479.svg +0 -3
  45. package/dist/assets/ic-helm.49cb43a3.svg +0 -3
  46. package/dist/assets/ic-k8s-job.d3310821.svg +0 -3
  47. package/dist/assets/ic-logout.e7e6bef0.svg +0 -3
  48. package/dist/assets/ic-microsoft.4767e309.svg +0 -6
  49. package/dist/assets/ic-new.2c179139.svg +0 -3
  50. package/dist/assets/ic-oidc.27839a0d.svg +0 -4
  51. package/dist/assets/ic-shield-check.5c033f06.svg +0 -3
  52. package/dist/assets/ic-stack.8b3b1bdd.svg +0 -3
@@ -6,7 +6,7 @@ var Ip = (e, s, n) => s in e ? vp(e, s, { enumerable: !0, configurable: !0, writ
6
6
  var pe = (e, s, n) => Ip(e, typeof s != "symbol" ? s + "" : s, n), Zi = (e, s, n) => s.has(e) || Ji("Cannot " + n);
7
7
  var Ds = (e, s, n) => (Zi(e, s, "read from private field"), n ? n.call(e) : s.get(e)), Ea = (e, s, n) => s.has(e) ? Ji("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), Na = (e, s, n, a) => (Zi(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
8
  import { j as t, i as he, n as Ap, Q as Kr, k as yp, D as Va, d as id, h as Rp, A as jp, R as Op, s as Lp, c as wp, S as Qi, a as Dp, b as Pp, y as Mp, l as Ga, e as kp, f as Up, g as Bp, m as $p, o as ec, p as Fp, q as tc, r as Vp, t as Gp, u as Hp, v as Yp, T as sc, w as si, x as Kp, z as nc, B as cd, C as ld, E as ni, F as Wp, V as zp, G as qp, H as Xp, I as dd, J as Jp, K as Zp, L as ud, M as ac, N as Qp, O as e_, P as rc, U as t_, W as s_, X as Gn, Y as n_, Z as oc, _ as Fe, $ as a_, a0 as r_, a1 as ic, a2 as o_, a3 as i_, a4 as Wr, a5 as cc, a6 as c_, a7 as l_, a8 as d_, a9 as u_, aa as m_, ab as p_, ac as __, ad as f_, ae as md, af as h_, ag as lc, ah as dc, ai as g_, aj as x_, ak as E_, al as N_, am as C_, an as b_, ao as pd, ap as _d, aq as T_, ar as S_, as as v_, at as I_, au as ks } from "./@vendor-DXbFZ041.js";
9
- import Te, { useState as R, cloneElement as Hn, useRef as Y, useEffect as k, Component as xr, Children as uc, createElement as ai, useMemo as X, useCallback as qe, createContext as Pt, useContext as ps, Fragment as Hs, memo as gt, useReducer as A_, createRef as Cs } from "react";
9
+ import Te, { useState as R, cloneElement as Hn, useRef as Y, useEffect as k, Component as xr, Children as uc, createElement as ai, useMemo as X, useCallback as Xe, createContext as Pt, useContext as ps, Fragment as Hs, memo as gt, useReducer as A_, createRef as Cs } from "react";
10
10
  import ri, { components as Be } from "react-select";
11
11
  import y_, { ReactComponent as cs } from "./assets/ic-chevron-down.fc70d7a7.svg";
12
12
  import { ReactComponent as sa } from "./assets/ic-warning.ecf7ff97.svg";
@@ -44,7 +44,7 @@ import { ReactComponent as K_ } from "./assets/ic-charts.f41e185f.svg";
44
44
  import { ReactComponent as Cr } from "./assets/ic-add.cfaa779b.svg";
45
45
  import { ReactComponent as W_ } from "./assets/ic-k8s-job.f4414c10.svg";
46
46
  import ls from "react-ga4";
47
- import { ReactComponent as Nd } from "./assets/ic-medium-paintbucket.38ef52c1.svg";
47
+ import { ReactComponent as Nd } from "./assets/ic-medium-paintbucket.45544bb9.svg";
48
48
  import { ReactComponent as hn } from "./assets/ic-help-outline.9c012a0c.svg";
49
49
  import z_ from "./assets/lifebuoy.7d8fdf27.png";
50
50
  import { SliderButton as q_ } from "@typeform/embed-react";
@@ -188,69 +188,69 @@ import { ReactComponent as wh } from "./assets/delete-medium.897114e0.svg";
188
188
  import { ReactComponent as Wd } from "./assets/ic-open-in-new.6aea09d0.svg";
189
189
  import { ReactComponent as Dh } from "./assets/ic-aborted.d162b12b.svg";
190
190
  import { ReactComponent as Ph } from "./assets/ic-add.18a93616.svg";
191
- import { ReactComponent as Mh } from "./assets/ic-app-group.892e71ff.svg";
192
- import { ReactComponent as kh } from "./assets/ic-arrow-right.06ad55f3.svg";
193
- import { ReactComponent as Uh } from "./assets/ic-azure.49ec3dad.svg";
194
- import { ReactComponent as Bh } from "./assets/ic-browser.b8afdf0d.svg";
191
+ import { ReactComponent as Mh } from "./assets/ic-app-group.068791a2.svg";
192
+ import { ReactComponent as kh } from "./assets/ic-arrow-right.96f4142a.svg";
193
+ import { ReactComponent as Uh } from "./assets/ic-azure.a01ce3b4.svg";
194
+ import { ReactComponent as Bh } from "./assets/ic-browser.f77a9d59.svg";
195
195
  import { ReactComponent as $h } from "./assets/ic-build-color.37484d39.svg";
196
196
  import { ReactComponent as Fh } from "./assets/ic-cancelled.3cd048aa.svg";
197
- import { ReactComponent as Vh } from "./assets/ic-card-stack.efd37c91.svg";
197
+ import { ReactComponent as Vh } from "./assets/ic-card-stack.0de57a3a.svg";
198
198
  import { ReactComponent as Gh } from "./assets/ic-cd.165ef184.svg";
199
199
  import { ReactComponent as Hh } from "./assets/ic-ci-linked.b25fbb2f.svg";
200
200
  import { ReactComponent as Yh } from "./assets/ic-ci-webhook.a2ab6db6.svg";
201
201
  import { ReactComponent as Kh } from "./assets/ic-circle-loader.9472965b.svg";
202
202
  import { ReactComponent as Wh } from "./assets/ic-clock.4109c84f.svg";
203
203
  import { ReactComponent as zh } from "./assets/ic-close-small.ee9fe1c3.svg";
204
- import { ReactComponent as qh } from "./assets/ic-code.29c36e44.svg";
204
+ import { ReactComponent as qh } from "./assets/ic-code.3af36d5c.svg";
205
205
  import { ReactComponent as Xh } from "./assets/ic-container.4e1e6455.svg";
206
- import { ReactComponent as Jh } from "./assets/ic-copy.416d85f3.svg";
207
- import { ReactComponent as Zh } from "./assets/ic-crown.868ff2a9.svg";
208
- import { ReactComponent as Qh } from "./assets/ic-cube.643b8b57.svg";
206
+ import { ReactComponent as Jh } from "./assets/ic-copy.c4b628de.svg";
207
+ import { ReactComponent as Zh } from "./assets/ic-crown.24ca27fc.svg";
208
+ import { ReactComponent as Qh } from "./assets/ic-cube.be637e97.svg";
209
209
  import { ReactComponent as eg } from "./assets/ic-delete.a6e8d3ad.svg";
210
- import { ReactComponent as tg } from "./assets/ic-dockerhub.19023887.svg";
211
- import { ReactComponent as sg } from "./assets/ic-ecr.022619e3.svg";
210
+ import { ReactComponent as tg } from "./assets/ic-dockerhub.03bd09a9.svg";
211
+ import { ReactComponent as sg } from "./assets/ic-ecr.302d6ccb.svg";
212
212
  import { ReactComponent as ng } from "./assets/ic-env.c0634f19.svg";
213
213
  import { ReactComponent as ag } from "./assets/ic-error.3ec5d5ef.svg";
214
214
  import { ReactComponent as rg } from "./assets/ic-failure.0220b612.svg";
215
- import { ReactComponent as og } from "./assets/ic-gear.51261b97.svg";
215
+ import { ReactComponent as og } from "./assets/ic-gear.7116a8bf.svg";
216
216
  import { ReactComponent as ig } from "./assets/ic-git.bb72e063.svg";
217
217
  import { ReactComponent as cg } from "./assets/ic-github.b6e9d0f3.svg";
218
- import { ReactComponent as lg } from "./assets/ic-google-artifact-registry.536fe6c7.svg";
219
- import { ReactComponent as dg } from "./assets/ic-google-container-registry.20eeef45.svg";
220
- import { ReactComponent as ug } from "./assets/ic-google.adce3079.svg";
221
- import { ReactComponent as mg } from "./assets/ic-grid-view.a1ff2479.svg";
218
+ import { ReactComponent as lg } from "./assets/ic-google-artifact-registry.2a167c8b.svg";
219
+ import { ReactComponent as dg } from "./assets/ic-google-container-registry.320c53ee.svg";
220
+ import { ReactComponent as ug } from "./assets/ic-google.475640a4.svg";
221
+ import { ReactComponent as mg } from "./assets/ic-grid-view.13207b99.svg";
222
222
  import { ReactComponent as pg } from "./assets/ic-heart-green.6d3bb9cf.svg";
223
223
  import { ReactComponent as _g } from "./assets/ic-heart-red-animated.62caae80.svg";
224
224
  import { ReactComponent as fg } from "./assets/ic-heart-red.ae773db3.svg";
225
- import { ReactComponent as hg } from "./assets/ic-helm.49cb43a3.svg";
225
+ import { ReactComponent as hg } from "./assets/ic-helm.20583d75.svg";
226
226
  import { ReactComponent as gg } from "./assets/ic-help-outline.4b30e33c.svg";
227
227
  import { ReactComponent as xg } from "./assets/ic-hibernate.988d2323.svg";
228
228
  import { ReactComponent as Eg } from "./assets/ic-in-progress.73f9ca1e.svg";
229
229
  import { ReactComponent as Ng } from "./assets/ic-info-filled.9277eb13.svg";
230
230
  import { ReactComponent as Cg } from "./assets/ic-info-outline.d29630b4.svg";
231
231
  import { ReactComponent as bg } from "./assets/ic-job-color.bb826301.svg";
232
- import { ReactComponent as Tg } from "./assets/ic-k8s-job.d3310821.svg";
233
- import { ReactComponent as Sg } from "./assets/ic-ldap.1742ec39.svg";
232
+ import { ReactComponent as Tg } from "./assets/ic-k8s-job.c4f9ccc7.svg";
233
+ import { ReactComponent as Sg } from "./assets/ic-ldap.0c5633d9.svg";
234
234
  import { ReactComponent as vg } from "./assets/ic-login-devtron-logo.702a1d04.svg";
235
- import { ReactComponent as Ig } from "./assets/ic-logout.e7e6bef0.svg";
236
- import { ReactComponent as Ag } from "./assets/ic-microsoft.4767e309.svg";
235
+ import { ReactComponent as Ig } from "./assets/ic-logout.f0a8b488.svg";
236
+ import { ReactComponent as Ag } from "./assets/ic-microsoft.7c7bcaeb.svg";
237
237
  import { ReactComponent as yg } from "./assets/ic-missing.917a1291.svg";
238
- import { ReactComponent as Rg } from "./assets/ic-monitoring.6e5acb4a.svg";
239
- import { ReactComponent as jg } from "./assets/ic-new.2c179139.svg";
238
+ import { ReactComponent as Rg } from "./assets/ic-monitoring.30910a3c.svg";
239
+ import { ReactComponent as jg } from "./assets/ic-new.1907a03f.svg";
240
240
  import { ReactComponent as Og } from "./assets/ic-node-script.88af3604.svg";
241
- import { ReactComponent as Lg } from "./assets/ic-oidc.27839a0d.svg";
242
- import { ReactComponent as wg } from "./assets/ic-open-box.e672fe67.svg";
243
- import { ReactComponent as Dg } from "./assets/ic-openshift.afcfadec.svg";
241
+ import { ReactComponent as Lg } from "./assets/ic-oidc.5e06656d.svg";
242
+ import { ReactComponent as wg } from "./assets/ic-open-box.b15fcbbd.svg";
243
+ import { ReactComponent as Dg } from "./assets/ic-openshift.3886b54f.svg";
244
244
  import { ReactComponent as Pg } from "./assets/ic-out-of-sync.824fb5c6.svg";
245
245
  import { ReactComponent as Mg } from "./assets/ic-paper-plane-color.b290f604.svg";
246
- import { ReactComponent as kg } from "./assets/ic-quay.19eb5574.svg";
247
- import { ReactComponent as Ug } from "./assets/ic-shield-check.5c033f06.svg";
248
- import { ReactComponent as Bg } from "./assets/ic-stack.8b3b1bdd.svg";
246
+ import { ReactComponent as kg } from "./assets/ic-quay.d622b34f.svg";
247
+ import { ReactComponent as Ug } from "./assets/ic-shield-check.c26854d2.svg";
248
+ import { ReactComponent as Bg } from "./assets/ic-stack.fbd3aea5.svg";
249
249
  import { ReactComponent as $g } from "./assets/ic-success.bcd5b258.svg";
250
250
  import { ReactComponent as Fg } from "./assets/ic-suspended.8a62c6bc.svg";
251
251
  import { ReactComponent as Vg } from "./assets/ic-timeout-two-dash.9a580698.svg";
252
252
  import { ReactComponent as Gg } from "./assets/ic-unknown.89dc351a.svg";
253
- import { ReactComponent as Hg } from "./assets/ic-user-key.523f6939.svg";
253
+ import { ReactComponent as Hg } from "./assets/ic-user-key.5dc44524.svg";
254
254
  import { ReactComponent as Yg } from "./assets/ic-warning.414e37e3.svg";
255
255
  const Kg = 6e4, Wa = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Qs = "https://docs.devtron.ai", Sn = "/v/v0.7", hi = "https://discord.devtron.ai/", zd = "https://json-schema.org/draft/2020-12/schema", pn = {
256
256
  APP_METRICS: `${Qs}${Sn}/usage/applications/app-details/app-metrics`,
@@ -390,7 +390,7 @@ var Ve = /* @__PURE__ */ ((e) => (e[e.BAD_REQUEST = 400] = "BAD_REQUEST", e[e.UN
390
390
  const Wg = {
391
391
  TITLE: "Access denied",
392
392
  SUBTITLE: "You do not have required access to perform this action"
393
- }, We = {
393
+ }, ze = {
394
394
  PAGE_NOT_FOUND: "Not found",
395
395
  PAGE_NOT_EXIST: "Error 404: The requested resource could not be found. Please check the URL and try again.",
396
396
  TAKE_BACK_HOME: "Go back home",
@@ -702,7 +702,7 @@ const pt = (e, s, n, a) => aa(e, "POST", s, n, a), gi = (e, s, n) => aa(e, "PUT"
702
702
  // The 0 code is common for aborted and blocked requests
703
703
  e && e.code === 0 && e.message.search("abort|aborted") > -1
704
704
  );
705
- var px = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(px || {}), re = /* @__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))(re || {}), Ro = /* @__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))(Ro || {}), ze = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(ze || {}), xi = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(xi || {}), en = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(en || {}), _x = /* @__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))(_x || {}), fx = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(fx || {}), nu = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(nu || {}), ct = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(ct || {}), yr = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(yr || {}), hx = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(hx || {}), zn = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(zn || {}), Ut = /* @__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))(Ut || {}), gx = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(gx || {}), xx = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(xx || {}), wa = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(wa || {}), Ex = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(Ex || {}), au = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(au || {});
705
+ var px = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(px || {}), re = /* @__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))(re || {}), Ro = /* @__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))(Ro || {}), qe = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(qe || {}), xi = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(xi || {}), en = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(en || {}), _x = /* @__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))(_x || {}), fx = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(fx || {}), nu = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(nu || {}), ct = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(ct || {}), yr = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(yr || {}), hx = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(hx || {}), zn = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(zn || {}), Ut = /* @__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))(Ut || {}), gx = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(gx || {}), xx = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(xx || {}), wa = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(wa || {}), Ex = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(Ex || {}), au = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(au || {});
706
706
  const XL = [
707
707
  {
708
708
  label: "GUI",
@@ -3131,7 +3131,7 @@ const RE = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
3131
3131
  null,
3132
3132
  K
3133
3133
  ) && !_n(be, gs, null, K);
3134
- }, tt = qe(
3134
+ }, tt = Xe(
3135
3135
  (we) => /* @__PURE__ */ t.jsx(
3136
3136
  DE,
3137
3137
  {
@@ -3141,10 +3141,10 @@ const RE = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
3141
3141
  }
3142
3142
  ),
3143
3143
  [l, y]
3144
- ), jt = qe(
3144
+ ), jt = Xe(
3145
3145
  (we) => /* @__PURE__ */ t.jsx(ME, { ...we, disableDescriptionEllipsis: x }),
3146
3146
  [x]
3147
- ), Yr = (we) => /* @__PURE__ */ t.jsx(UE, { ...we, getIsOptionValid: xt }), hp = qe(
3147
+ ), Yr = (we) => /* @__PURE__ */ t.jsx(UE, { ...we, getIsOptionValid: xt }), hp = Xe(
3148
3148
  (we) => /* @__PURE__ */ t.jsx($E, { ...we, isGroupHeadingSelectable: Ie }),
3149
3149
  [Ie]
3150
3150
  ), gp = () => u ? /* @__PURE__ */ t.jsx(Js, { reload: m }) : O ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: ie?.({
@@ -3539,16 +3539,16 @@ const Su = (e) => ({
3539
3539
  let i;
3540
3540
  switch (e) {
3541
3541
  case Ao.ROLLBACK:
3542
- i = Xe(
3542
+ i = We(
3543
3543
  `${G.CD_MATERIAL_GET}/${s}/material/rollback`,
3544
3544
  o
3545
3545
  );
3546
3546
  break;
3547
3547
  case Ao.IMAGE_PROMOTION:
3548
- i = Xe(G.APP_ARTIFACT_PROMOTE_MATERIAL, r);
3548
+ i = We(G.APP_ARTIFACT_PROMOTE_MATERIAL, r);
3549
3549
  break;
3550
3550
  default:
3551
- i = Xe(`${G.CD_MATERIAL_GET}/${s}/material`, {
3551
+ i = We(`${G.CD_MATERIAL_GET}/${s}/material`, {
3552
3552
  ...o,
3553
3553
  stage: Du[n]
3554
3554
  });
@@ -3613,7 +3613,7 @@ const dN = (e, s) => {
3613
3613
  }) => {
3614
3614
  try {
3615
3615
  const { result: a } = await ue(
3616
- Xe(G.PLUGIN_GLOBAL_VARIABLES, { appId: e }),
3616
+ We(G.PLUGIN_GLOBAL_VARIABLES, { appId: e }),
3617
3617
  {
3618
3618
  abortControllerRef: n
3619
3619
  }
@@ -3698,7 +3698,7 @@ const Bc = () => ({
3698
3698
  const j = localStorage.getItem(n);
3699
3699
  if (j)
3700
3700
  try {
3701
- const v = Xe("", JSON.parse(j)), O = new URLSearchParams(v.split("?")[1] ?? "");
3701
+ const v = We("", JSON.parse(j)), O = new URLSearchParams(v.split("?")[1] ?? "");
3702
3702
  return o.replace({ search: O.toString() }), O;
3703
3703
  } catch {
3704
3704
  localStorage.removeItem(n);
@@ -3776,7 +3776,7 @@ const Bc = () => ({
3776
3776
  shortcutTimeout: n,
3777
3777
  children: a
3778
3778
  }) => {
3779
- const r = Y(!1), o = Y({}), i = Y(/* @__PURE__ */ new Set()), c = Y(-1), l = e ?? pN, d = qe(
3779
+ const r = Y(!1), o = Y({}), i = Y(/* @__PURE__ */ new Set()), c = Y(-1), l = e ?? pN, d = Xe(
3780
3780
  ({ keys: g, callback: f, description: N = "" }) => {
3781
3781
  const { keys: C, id: A } = va(g);
3782
3782
  if (typeof f != "function")
@@ -3789,21 +3789,21 @@ const Bc = () => ({
3789
3789
  o.current[A] = { keys: C, callbackStack: [f], description: N };
3790
3790
  },
3791
3791
  []
3792
- ), u = qe((g) => {
3792
+ ), u = Xe((g) => {
3793
3793
  const { id: f } = va(g);
3794
3794
  if (!o.current[f])
3795
3795
  return;
3796
3796
  const { callbackStack: N } = o.current[f];
3797
3797
  Ia(N), N.pop(), N.length || delete o.current[f];
3798
- }, []), m = qe((g) => {
3798
+ }, []), m = Xe((g) => {
3799
3799
  r.current = g;
3800
- }, []), p = qe((g) => {
3800
+ }, []), p = Xe((g) => {
3801
3801
  const { id: f } = va(g);
3802
3802
  if (!o.current[f])
3803
3803
  return;
3804
3804
  const { callbackStack: N } = o.current[f];
3805
3805
  Ia(N), N[N.length - 1]();
3806
- }, []), _ = qe(() => {
3806
+ }, []), _ = Xe(() => {
3807
3807
  if (!i.current.size)
3808
3808
  return;
3809
3809
  const { id: g } = va(Array.from(i.current.values()));
@@ -3812,11 +3812,11 @@ const Bc = () => ({
3812
3812
  Ia(f), f[f.length - 1]();
3813
3813
  }
3814
3814
  i.current.clear(), c.current > -1 && (clearTimeout(c.current), c.current = -1);
3815
- }, []), x = qe((g) => {
3815
+ }, []), x = Xe((g) => {
3816
3816
  s && g.preventDefault(), !(l.map((f) => f.toUpperCase()).indexOf(g.target.tagName.toUpperCase()) > -1 || g.target?.role === "textbox" || r.current) && (i.current.add(g.key.toUpperCase()), g.ctrlKey && i.current.add("CONTROL"), g.metaKey && i.current.add("META"), g.altKey && i.current.add("ALT"), g.shiftKey && i.current.add("SHIFT"), c.current === -1 && (c.current = setTimeout(() => {
3817
3817
  _();
3818
3818
  }, n ?? _N)));
3819
- }, []), E = qe(() => {
3819
+ }, []), E = Xe(() => {
3820
3820
  i.current.clear();
3821
3821
  }, []);
3822
3822
  k(() => (window.addEventListener("keydown", x), window.addEventListener("keyup", _), window.addEventListener("blur", E), () => {
@@ -4900,7 +4900,7 @@ const Yw = (e, s = !1) => {
4900
4900
  try {
4901
4901
  const a = { name: e }, {
4902
4902
  result: { configurationUnits: r, defaultConfigurations: o, profile: i }
4903
- } = await ue(Xe(Ii(), a));
4903
+ } = await ue(We(Ii(), a));
4904
4904
  return $N({
4905
4905
  configurationUnits: r,
4906
4906
  defaultConfigurations: o,
@@ -4920,7 +4920,7 @@ const Yw = (e, s = !1) => {
4920
4920
  if (a) {
4921
4921
  const i = { name: e };
4922
4922
  return await gi(
4923
- Xe(Ii(), i),
4923
+ We(Ii(), i),
4924
4924
  r
4925
4925
  );
4926
4926
  }
@@ -5813,7 +5813,7 @@ const pC = (e) => {
5813
5813
  i.append("file", e[0]);
5814
5814
  try {
5815
5815
  const { result: c } = await pt(
5816
- Xe(`${G.CD_CONFIG}/${s}/${n}/${G.FILE_UPLOAD}`, {
5816
+ We(`${G.CD_CONFIG}/${s}/${n}/${G.FILE_UPLOAD}`, {
5817
5817
  allowedExtensions: a,
5818
5818
  maxUploadSize: r
5819
5819
  }),
@@ -5858,7 +5858,7 @@ const pC = (e) => {
5858
5858
  c.append("file", e[0]);
5859
5859
  try {
5860
5860
  const { result: l } = await pt(
5861
- Xe(`${G.CI_CONFIG_GET}/${s}/${n}/${G.FILE_UPLOAD}`, {
5861
+ We(`${G.CI_CONFIG_GET}/${s}/${n}/${G.FILE_UPLOAD}`, {
5862
5862
  envId: a,
5863
5863
  allowedExtensions: r,
5864
5864
  maxUploadSize: o
@@ -6001,7 +6001,7 @@ const pC = (e) => {
6001
6001
  id: a,
6002
6002
  ...e
6003
6003
  }
6004
- }) : Xe(G.CONFIG_DATA, e);
6004
+ }) : We(G.CONFIG_DATA, e);
6005
6005
  return ue(r, { signal: s });
6006
6006
  }, xC = async (e) => {
6007
6007
  const s = {
@@ -6009,7 +6009,7 @@ const pC = (e) => {
6009
6009
  }, n = Array(e.length).fill(null), {
6010
6010
  result: { comparisonItemResponse: a }
6011
6011
  } = await ue(
6012
- Xe(G.CONFIG_COMPARE_SECRET, {
6012
+ We(G.CONFIG_COMPARE_SECRET, {
6013
6013
  compareConfig: JSON.stringify(s)
6014
6014
  })
6015
6015
  );
@@ -6021,7 +6021,7 @@ var It = /* @__PURE__ */ ((e) => (e.light = "light", e.dark = "dark", e))(It ||
6021
6021
  const is = {
6022
6022
  ...It,
6023
6023
  auto: "auto"
6024
- }, Mu = "userPreferences", EC = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => Xe(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), jD = ({ kind: e, version: s, queryParams: n, suffix: a }) => Xe(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), NC = (e, { isTemplateView: s }) => {
6024
+ }, Mu = "userPreferences", EC = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => We(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), jD = ({ kind: e, version: s, queryParams: n, suffix: a }) => We(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), NC = (e, { isTemplateView: s }) => {
6025
6025
  const n = s ? wr({
6026
6026
  type: da.CD_PIPELINE,
6027
6027
  queryParams: {
@@ -6033,7 +6033,7 @@ const is = {
6033
6033
  const e = {
6034
6034
  key: Mu
6035
6035
  }, { result: s } = await ue(
6036
- Xe(`${G.ATTRIBUTES_USER}/${G.GET}`, e)
6036
+ We(`${G.ATTRIBUTES_USER}/${G.GET}`, e)
6037
6037
  );
6038
6038
  if (!s?.value)
6039
6039
  return null;
@@ -6179,7 +6179,7 @@ const $s = class $s {
6179
6179
  ln = new WeakMap(), // eslint-disable-next-line no-use-before-define
6180
6180
  Ea($s, ln);
6181
6181
  let Fo = $s;
6182
- const DD = () => /* @__PURE__ */ t.jsx(yp, { ...CC }), De = Fo.instance, wr = ({ type: e, queryParams: { id: s, ...n } }) => Xe(
6182
+ const DD = () => /* @__PURE__ */ t.jsx(yp, { ...CC }), De = Fo.instance, wr = ({ type: e, queryParams: { id: s, ...n } }) => We(
6183
6183
  `${EC({
6184
6184
  baseUrl: G.RESOURCE_TEMPLATE,
6185
6185
  kind: ct.devtronApplication,
@@ -6367,18 +6367,18 @@ const SC = "bulk-selection-pop-up-menu", ao = {
6367
6367
  )) })
6368
6368
  ] });
6369
6369
  }, yC = {
6370
- [ze.GIT]: "ic-git",
6371
- [ze.GITHUB]: "ic-github",
6372
- [ze.GITLAB]: "ic-gitlab",
6373
- [ze.BITBUCKET]: "ic-bitbucket",
6374
- [ze.DOCKER]: "ic-dockerhub",
6375
- [ze.DOCKER_HUB]: "ic-dockerhub",
6376
- [ze.ACR]: "ic-azure",
6377
- [ze.QUAY]: "ic-quay",
6378
- [ze.ECR]: "ic-ecr",
6379
- [ze.ARTIFACT_REGISTRY]: "ic-google-artifact-registry",
6380
- [ze.GCR]: "ic-google-container-registry",
6381
- [ze.OTHER]: "ic-container"
6370
+ [qe.GIT]: "ic-git",
6371
+ [qe.GITHUB]: "ic-github",
6372
+ [qe.GITLAB]: "ic-gitlab",
6373
+ [qe.BITBUCKET]: "ic-bitbucket",
6374
+ [qe.DOCKER]: "ic-dockerhub",
6375
+ [qe.DOCKER_HUB]: "ic-dockerhub",
6376
+ [qe.ACR]: "ic-azure",
6377
+ [qe.QUAY]: "ic-quay",
6378
+ [qe.ECR]: "ic-ecr",
6379
+ [qe.ARTIFACT_REGISTRY]: "ic-google-artifact-registry",
6380
+ [qe.GCR]: "ic-google-container-registry",
6381
+ [qe.OTHER]: "ic-container"
6382
6382
  }, ss = ({ registryType: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(Ke, { name: yC[e] || "ic-container", size: s, color: null }), kD = {
6383
6383
  ecr: {
6384
6384
  value: "ecr",
@@ -6402,7 +6402,7 @@ const SC = "bulk-selection-pop-up-menu", ao = {
6402
6402
  defaultValue: "",
6403
6403
  placeholder: ""
6404
6404
  },
6405
- startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: ze.ECR })
6405
+ startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: qe.ECR })
6406
6406
  },
6407
6407
  "docker-hub": {
6408
6408
  value: "docker-hub",
@@ -6426,7 +6426,7 @@ const SC = "bulk-selection-pop-up-menu", ao = {
6426
6426
  defaultValue: "",
6427
6427
  placeholder: ""
6428
6428
  },
6429
- startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: ze.DOCKER_HUB })
6429
+ startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: qe.DOCKER_HUB })
6430
6430
  },
6431
6431
  acr: {
6432
6432
  value: "acr",
@@ -6450,7 +6450,7 @@ const SC = "bulk-selection-pop-up-menu", ao = {
6450
6450
  defaultValue: "",
6451
6451
  placeholder: ""
6452
6452
  },
6453
- startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: ze.ACR })
6453
+ startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: qe.ACR })
6454
6454
  },
6455
6455
  "artifact-registry": {
6456
6456
  value: "artifact-registry",
@@ -6474,7 +6474,7 @@ const SC = "bulk-selection-pop-up-menu", ao = {
6474
6474
  defaultValue: "",
6475
6475
  placeholder: "Paste json file content here"
6476
6476
  },
6477
- startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: ze.ARTIFACT_REGISTRY })
6477
+ startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: qe.ARTIFACT_REGISTRY })
6478
6478
  },
6479
6479
  gcr: {
6480
6480
  value: "gcr",
@@ -6498,7 +6498,7 @@ const SC = "bulk-selection-pop-up-menu", ao = {
6498
6498
  defaultValue: "",
6499
6499
  placeholder: "Paste json file content here"
6500
6500
  },
6501
- startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: ze.GCR })
6501
+ startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: qe.GCR })
6502
6502
  },
6503
6503
  quay: {
6504
6504
  value: "quay",
@@ -6522,7 +6522,7 @@ const SC = "bulk-selection-pop-up-menu", ao = {
6522
6522
  defaultValue: "",
6523
6523
  placeholder: ""
6524
6524
  },
6525
- startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: ze.QUAY })
6525
+ startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: qe.QUAY })
6526
6526
  },
6527
6527
  other: {
6528
6528
  value: "other",
@@ -6546,7 +6546,7 @@ const SC = "bulk-selection-pop-up-menu", ao = {
6546
6546
  defaultValue: "",
6547
6547
  placeholder: ""
6548
6548
  },
6549
- startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: ze.OTHER })
6549
+ startIcon: /* @__PURE__ */ t.jsx(ss, { registryType: qe.OTHER })
6550
6550
  }
6551
6551
  }, RC = ({ imagePath: e, registryName: s }) => /* @__PURE__ */ t.jsxs("div", { children: [
6552
6552
  /* @__PURE__ */ t.jsx("div", { className: "fw-6", children: s }),
@@ -6764,7 +6764,7 @@ const SC = "bulk-selection-pop-up-menu", ao = {
6764
6764
  installedAppId: n,
6765
6765
  artifactId: a,
6766
6766
  installedAppVersionHistoryId: r
6767
- }, i = Xe(G.SCAN_RESULT, o);
6767
+ }, i = We(G.SCAN_RESULT, o);
6768
6768
  return await ue(i);
6769
6769
  }, el = {
6770
6770
  color: "var(--N300)",
@@ -9176,12 +9176,12 @@ const Pb = (e) => pt(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Mb = ({ className:
9176
9176
  FEATURE_PROMO_EMBEDDED_BUTTON_TEXT: n,
9177
9177
  FEATURE_PROMO_EMBEDDED_MODAL_TITLE: a,
9178
9178
  FEATURE_PROMO_EMBEDDED_IFRAME_URL: r
9179
- } = window._env_, o = qe(() => {
9179
+ } = window._env_, o = Xe(() => {
9180
9180
  s(!0), ls.event({
9181
9181
  category: "PRIMARY_HEADER",
9182
9182
  action: "HEADER_IFRAME_BUTTON_CLICKED"
9183
9183
  });
9184
- }, []), i = qe(() => s(!1), []), c = () => /* @__PURE__ */ t.jsx(bn, { close: i, children: /* @__PURE__ */ t.jsxs(
9184
+ }, []), i = Xe(() => s(!1), []), c = () => /* @__PURE__ */ t.jsx(bn, { close: i, children: /* @__PURE__ */ t.jsxs(
9185
9185
  "div",
9186
9186
  {
9187
9187
  className: "modal-body--ci-material h-100 dc__overflow-hidden dc__border-left flex column dc__content-space w-100",
@@ -10993,7 +10993,7 @@ const uT = (e, s) => {
10993
10993
  ] });
10994
10994
  }
10995
10995
  ), jT = ({ shouldPrompt: e }) => {
10996
- const s = qe(
10996
+ const s = Xe(
10997
10997
  (n) => {
10998
10998
  e && n.preventDefault();
10999
10999
  },
@@ -11504,9 +11504,11 @@ const GT = (e) => {
11504
11504
  }, HT = (e, s) => {
11505
11505
  const n = `${G.CI_CONFIG_GET}/${e.pipelineId}/workflow/${e.workflowId}?forceAbort=${s}`;
11506
11506
  return Ar(n);
11507
- }, YT = (e, s) => {
11508
- const n = `${G.CD_MATERIAL_GET}/${e}/workflowRunner/${s}`;
11509
- return Ar(n);
11507
+ }, YT = (e, s, n) => {
11508
+ const a = We(`${G.CD_MATERIAL_GET}/${e}/workflowRunner/${s}`, {
11509
+ forceAbort: n
11510
+ });
11511
+ return Ar(a);
11510
11512
  };
11511
11513
  function KT(e, s, n, a, r, o) {
11512
11514
  let i;
@@ -11591,7 +11593,7 @@ const EP = (e, s, n) => ue(`app/history/deployed-configuration/${e}/${s}/${n}`),
11591
11593
  n
11592
11594
  ), r.values = a, r;
11593
11595
  }, CP = (e, s, n, a) => {
11594
- const r = Xe(
11596
+ const r = We(
11595
11597
  `${G.RESOURCE_HISTORY_DEPLOYMENT}/${G.CONFIG_CD_PIPELINE}/${yr.v1}`,
11596
11598
  {
11597
11599
  baseConfigurationId: n,
@@ -11608,7 +11610,7 @@ const EP = (e, s, n) => ue(`app/history/deployed-configuration/${e}/${s}/${n}`),
11608
11610
  releaseId: a,
11609
11611
  showCurrentReleaseDeployments: r = !1
11610
11612
  }) => {
11611
- const o = Xe(
11613
+ const o = We(
11612
11614
  `${G.RESOURCE_HISTORY_DEPLOYMENT}/${ct.cdPipeline}/${yr.v1}`,
11613
11615
  {
11614
11616
  filterCriteria: gT({ appId: e, envId: s, releaseId: a, showCurrentReleaseDeployments: r }),
@@ -11872,7 +11874,7 @@ const EP = (e, s, n) => ue(`app/history/deployed-configuration/${e}/${s}/${n}`),
11872
11874
  const H = w(E);
11873
11875
  p(H);
11874
11876
  }, [l, O]);
11875
- const L = qe(() => {
11877
+ const L = Xe(() => {
11876
11878
  p(
11877
11879
  (H) => H.map((F) => ({
11878
11880
  ...F,
@@ -13170,13 +13172,13 @@ const fm = {
13170
13172
  case Ve.NOT_FOUND:
13171
13173
  return {
13172
13174
  onClick: l,
13173
- renderButtonText: We.TAKE_BACK_HOME,
13175
+ renderButtonText: ze.TAKE_BACK_HOME,
13174
13176
  isButtonAvailable: !0
13175
13177
  };
13176
13178
  case Ve.INTERNAL_SERVER_ERROR:
13177
13179
  return {
13178
13180
  onClick: Ty,
13179
- renderButtonText: We.REPORT_ISSUE,
13181
+ renderButtonText: ze.REPORT_ISSUE,
13180
13182
  isButtonAvailable: !0
13181
13183
  };
13182
13184
  case Ve.BAD_REQUEST:
@@ -13184,7 +13186,7 @@ const fm = {
13184
13186
  case Ve.SERVICE_TEMPORARY_UNAVAILABLE:
13185
13187
  return {
13186
13188
  onClick: i ?? Qm,
13187
- renderButtonText: We.TRY_AGAIN,
13189
+ renderButtonText: ze.TRY_AGAIN,
13188
13190
  isButtonAvailable: !0
13189
13191
  };
13190
13192
  default:
@@ -13220,8 +13222,8 @@ const fm = {
13220
13222
  Ms,
13221
13223
  {
13222
13224
  code: Ve.BAD_REQUEST,
13223
- title: We.BAD_REQUEST,
13224
- subTitle: n || We.BAD_REQUEST_MESSAGE,
13225
+ title: ze.BAD_REQUEST,
13226
+ subTitle: n || ze.BAD_REQUEST_MESSAGE,
13225
13227
  image: wn,
13226
13228
  imageType: o,
13227
13229
  reload: s
@@ -13232,8 +13234,8 @@ const fm = {
13232
13234
  Ms,
13233
13235
  {
13234
13236
  code: Ve.UNAUTHORIZED,
13235
- title: We.UNAUTHORIZED,
13236
- subTitle: n || We.UNAUTHORIZED_MESSAGE,
13237
+ title: ze.UNAUTHORIZED,
13238
+ subTitle: n || ze.UNAUTHORIZED_MESSAGE,
13237
13239
  image: vo,
13238
13240
  imageType: o
13239
13241
  }
@@ -13243,8 +13245,8 @@ const fm = {
13243
13245
  Ms,
13244
13246
  {
13245
13247
  code: Ve.PERMISSION_DENIED,
13246
- title: We.FORBIDDEN,
13247
- subTitle: n || We.FORBIDDEN_MESSAGE,
13248
+ title: ze.FORBIDDEN,
13249
+ subTitle: n || ze.FORBIDDEN_MESSAGE,
13248
13250
  image: vo,
13249
13251
  imageType: o
13250
13252
  }
@@ -13254,8 +13256,8 @@ const fm = {
13254
13256
  Ms,
13255
13257
  {
13256
13258
  code: Ve.NOT_FOUND,
13257
- title: We.PAGE_NOT_FOUND,
13258
- subTitle: n || We.PAGE_NOT_EXIST,
13259
+ title: ze.PAGE_NOT_FOUND,
13260
+ subTitle: n || ze.PAGE_NOT_EXIST,
13259
13261
  image: Vf,
13260
13262
  imageType: o,
13261
13263
  redirectURL: r
@@ -13266,8 +13268,8 @@ const fm = {
13266
13268
  Ms,
13267
13269
  {
13268
13270
  code: Ve.INTERNAL_SERVER_ERROR,
13269
- title: We.INTERNAL_SERVER_ERROR,
13270
- subTitle: n || We.INTERNAL_SERVER_ERROR_MESSAGE,
13271
+ title: ze.INTERNAL_SERVER_ERROR,
13272
+ subTitle: n || ze.INTERNAL_SERVER_ERROR_MESSAGE,
13271
13273
  image: wn,
13272
13274
  imageType: o,
13273
13275
  reload: s
@@ -13278,8 +13280,8 @@ const fm = {
13278
13280
  Ms,
13279
13281
  {
13280
13282
  code: Ve.BAD_GATEWAY,
13281
- title: We.BAD_GATEWAY,
13282
- subTitle: n || We.BAD_GATEWAY_MESSAGE,
13283
+ title: ze.BAD_GATEWAY,
13284
+ subTitle: n || ze.BAD_GATEWAY_MESSAGE,
13283
13285
  image: wn,
13284
13286
  imageType: o,
13285
13287
  reload: s
@@ -13290,8 +13292,8 @@ const fm = {
13290
13292
  Ms,
13291
13293
  {
13292
13294
  code: Ve.SERVICE_TEMPORARY_UNAVAILABLE,
13293
- title: We.SERVICE_TEMPORARY_UNAVAILABLE,
13294
- subTitle: n || We.SERVICE_TEMPORARY_UNAVAILABLE_MESSAGE,
13295
+ title: ze.SERVICE_TEMPORARY_UNAVAILABLE,
13296
+ subTitle: n || ze.SERVICE_TEMPORARY_UNAVAILABLE_MESSAGE,
13295
13297
  image: wn,
13296
13298
  imageType: o,
13297
13299
  reload: s
@@ -16841,7 +16843,7 @@ const tI = ({
16841
16843
  fullScreenView: n,
16842
16844
  setFullScreenView: a
16843
16845
  }) => {
16844
- const { pathname: r } = Ls(), { registerShortcut: o, unregisterShortcut: i } = ia(), c = qe(() => {
16846
+ const { pathname: r } = Ls(), { registerShortcut: o, unregisterShortcut: i } = ia(), c = Xe(() => {
16845
16847
  a(!n);
16846
16848
  }, [n]), l = !s || r.includes("/logs");
16847
16849
  return k(() => (l && e.length && o({ callback: c, keys: e }), () => {
@@ -16994,7 +16996,7 @@ const tI = ({
16994
16996
  className: `display-grid dc__align-items-center dc__select-text image-chip-cell__container ${l ? "image-chip-cell__container--expanded" : ""} bcn-1 br-6 dc__transparent py-0 px-6 cursor max-w-100`,
16995
16997
  onClick: n || c,
16996
16998
  children: [
16997
- /* @__PURE__ */ t.jsx(ss, { registryType: s || ze.DOCKER, size: 14 }),
16999
+ /* @__PURE__ */ t.jsx(ss, { registryType: s || qe.DOCKER, size: 14 }),
16998
17000
  l ? /* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left", children: e }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
16999
17001
  /* @__PURE__ */ t.jsx("div", { children: "…" }),
17000
17002
  /* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left text-overflow-clip", children: e.split(":").slice(-1)[0] ?? "" })
@@ -17182,7 +17184,7 @@ const lI = (e) => {
17182
17184
  }) => {
17183
17185
  const { registerShortcut: m, unregisterShortcut: p } = ia(), [_, x] = R(""), E = o?.identifier, h = o?.confirmationKeyword, { primaryButtonConfig: g, secondaryButtonConfig: f } = r, N = n ?? lI(a), C = a === Kt.custom && !n, A = "disabled" in g && g.disabled || h && _.trim() !== h, S = () => {
17184
17186
  g && !A && g.onClick();
17185
- }, I = qe(() => {
17187
+ }, I = Xe(() => {
17186
17188
  !g?.isLoading && !f?.disabled && c();
17187
17189
  }, [g, f]);
17188
17190
  k(() => (m({ keys: ["Enter"], callback: S }), () => {
@@ -17423,7 +17425,7 @@ const lI = (e) => {
17423
17425
  message: ""
17424
17426
  }), { buildId: d, triggerId: u, pipelineId: m } = Tt();
17425
17427
  let p = null;
17426
- s === Pe.CI ? p = (h) => HT({ pipelineId: m, workflowId: d }, h) : e !== rs.DEPLOY && (p = () => YT(m, u));
17428
+ s === Pe.CI ? p = (h) => HT({ pipelineId: m, workflowId: d }, h) : e !== rs.DEPLOY && (p = (h) => YT(m, u, h));
17427
17429
  async function _() {
17428
17430
  r(!0);
17429
17431
  try {
@@ -18743,7 +18745,7 @@ const kP = {
18743
18745
  appId: n,
18744
18746
  size: 20,
18745
18747
  tag: s
18746
- }, { result: i } = await ue(Xe(G.PLUGIN_GLOBAL_LIST_V2, o), {
18748
+ }, { result: i } = await ue(We(G.PLUGIN_GLOBAL_LIST_V2, o), {
18747
18749
  signal: r
18748
18750
  }), c = Fm(i?.parentPlugins);
18749
18751
  return {
@@ -18758,7 +18760,7 @@ const kP = {
18758
18760
  try {
18759
18761
  const s = {
18760
18762
  appId: e
18761
- }, { result: n } = await ue(Xe(G.PLUGIN_GLOBAL_LIST_TAGS, s));
18763
+ }, { result: n } = await ue(We(G.PLUGIN_GLOBAL_LIST_TAGS, s));
18762
18764
  if (!n?.tagNames)
18763
18765
  return [];
18764
18766
  const a = new Set(n.tagNames);
@@ -18767,7 +18769,7 @@ const kP = {
18767
18769
  throw ke(s), s;
18768
18770
  }
18769
18771
  }, BP = async (e) => {
18770
- const s = await ue(Xe(G.PLUGIN_LIST_MIN, e));
18772
+ const s = await ue(We(G.PLUGIN_LIST_MIN, e));
18771
18773
  return {
18772
18774
  ...s,
18773
18775
  result: (s?.result ?? []).sort((n, a) => rt(n.name, a.name))
@@ -21462,7 +21464,7 @@ const EA = (e) => {
21462
21464
  x: f.width - Es.width - C.x,
21463
21465
  y: f.height - Es.height - C.y
21464
21466
  }), d(!0);
21465
- }, S = qe((b) => {
21467
+ }, S = Xe((b) => {
21466
21468
  b.stopPropagation(), d(!1);
21467
21469
  }, []), I = (b, T) => {
21468
21470
  const j = {
@@ -21654,7 +21656,7 @@ const ZA = ({
21654
21656
  );
21655
21657
  const _ = (f) => () => {
21656
21658
  d(f);
21657
- }, x = qe(
21659
+ }, x = Xe(
21658
21660
  (f, N) => {
21659
21661
  const C = go.some((S) => S.label === u), A = JA[u] ?? ((S) => S);
21660
21662
  if (!C) {
@@ -22615,7 +22617,7 @@ const py = (e) => e === Zm.NONE ? "" : "dc__border-n1", a1 = ({
22615
22617
  function ke(e, s = !0, n = !1) {
22616
22618
  e instanceof Dt && Array.isArray(e.errors) ? e.errors.map(({ userMessage: a, internalMessage: r }) => {
22617
22619
  const o = a?.toLowerCase();
22618
- e.code === 403 && (o === We.UNAUTHORIZED.toLowerCase() || o === We.FORBIDDEN.toLowerCase()) ? n || De.showToast({
22620
+ e.code === 403 && (o === ze.UNAUTHORIZED.toLowerCase() || o === ze.FORBIDDEN.toLowerCase()) ? n || De.showToast({
22619
22621
  variant: Ne.notAuthorized,
22620
22622
  description: Wg.SUBTITLE
22621
22623
  }) : De.showToast({
@@ -22843,7 +22845,7 @@ function Wt(e, s = [], n = !0, a = { resetOnChange: !0 }) {
22843
22845
  };
22844
22846
  return [r.loading, r.result, r.error, l, d, r.dependencies];
22845
22847
  }
22846
- const m1 = (e, s) => e ? fr(e, !0) : s ? "" : "Not deployed", Xe = (e, s = {}) => {
22848
+ const m1 = (e, s) => e ? fr(e, !0) : s ? "" : "Not deployed", We = (e, s = {}) => {
22847
22849
  const n = new URLSearchParams();
22848
22850
  Object.keys(s).forEach((r) => {
22849
22851
  qd.includes(s[r]) || (Array.isArray(s[r]) ? s[r].forEach((o) => {
@@ -22971,7 +22973,7 @@ function ap(e, s) {
22971
22973
  }, [s]);
22972
22974
  }
22973
22975
  function T1(e) {
22974
- const s = Y(null), n = Y(0), a = Y(null), [r, o] = R(0), [i, c] = R(0), [l, d] = R(!1), u = qe((g) => {
22976
+ const s = Y(null), n = Y(0), a = Y(null), [r, o] = R(0), [i, c] = R(0), [l, d] = R(!1), u = Xe((g) => {
22975
22977
  if (g !== null)
22976
22978
  return s.current = g, a.current = g.addEventListener("wheel", m), n.current = requestAnimationFrame(h), () => {
22977
22979
  g.removeEventListener("wheel", m), cancelAnimationFrame(n.current);
@@ -23096,8 +23098,8 @@ const Oy = ({ subtitle: e, title: s }) => /* @__PURE__ */ t.jsx(
23096
23098
  Qe,
23097
23099
  {
23098
23100
  image: vo,
23099
- title: s ?? We.NOT_AUTHORIZED,
23100
- subTitle: e ?? We.ONLY_FOR_SUPERADMIN
23101
+ title: s ?? ze.NOT_AUTHORIZED,
23102
+ subTitle: e ?? ze.ONLY_FOR_SUPERADMIN
23101
23103
  }
23102
23104
  );
23103
23105
  class bn extends Te.Component {
@@ -23482,7 +23484,7 @@ const Xi = ({
23482
23484
  noBackgroundAndBorder: l = !1,
23483
23485
  size: d = P.medium
23484
23486
  }) => {
23485
- const [u, m] = R(!!e), p = Y(), _ = qe(np(s, i), [
23487
+ const [u, m] = R(!!e), p = Y(), _ = Xe(np(s, i), [
23486
23488
  s,
23487
23489
  i
23488
23490
  ]);
@@ -23564,7 +23566,7 @@ const Xi = ({
23564
23566
  function _() {
23565
23567
  r || p((g) => !g);
23566
23568
  }
23567
- const x = qe(Ry(_, 500), [r]), E = () => {
23569
+ const x = Xe(Ry(_, 500), [r]), E = () => {
23568
23570
  if (l) {
23569
23571
  x();
23570
23572
  return;
@@ -24900,7 +24902,7 @@ export {
24900
24902
  Xi as I,
24901
24903
  Wg as J,
24902
24904
  ns as K,
24903
- We as L,
24905
+ ze as L,
24904
24906
  UL as M,
24905
24907
  BL as N,
24906
24908
  $L as O,
@@ -25026,7 +25028,7 @@ export {
25026
25028
  ep as bd,
25027
25029
  Wt as be,
25028
25030
  m1 as bf,
25029
- Xe as bg,
25031
+ We as bg,
25030
25032
  Fa as bh,
25031
25033
  p1 as bi,
25032
25034
  nd as bj,
@@ -25566,7 +25568,7 @@ export {
25566
25568
  D1 as k,
25567
25569
  ts as k$,
25568
25570
  Ro as k0,
25569
- ze as k1,
25571
+ qe as k1,
25570
25572
  xi as k2,
25571
25573
  en as k3,
25572
25574
  _x as k4,