@devtron-labs/devtron-fe-common-lib 1.15.2-beta-2 → 1.15.2-beta-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-Ba7cdZhj.js → @code-editor-CnbRIzWf.js} +176 -152
- package/dist/{@common-rjsf-BTWzdiP_.js → @common-rjsf-oaE75sgB.js} +2 -2
- package/dist/{@framer-motion-Dchiw-Rb.js → @framer-motion-C5Xvz7Lq.js} +1 -1
- package/dist/{@react-dates-D5kydtW-.js → @react-dates-B6q1sdbJ.js} +14 -14
- package/dist/{@react-select-Cmser7OI.js → @react-select-LSvqtVJj.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-DMnFy9PE.js → @react-virtualized-sticky-tree-BpJty95h.js} +1 -1
- package/dist/{@vendor-STJ9h0oI.js → @vendor-DC3JvJ9U.js} +9667 -9657
- package/dist/index.js +3 -3
- package/package.json +1 -1
@@ -5,7 +5,7 @@ var vc = (e) => {
|
|
5
5
|
var T_ = (e, s, n) => s in e ? b_(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
|
6
6
|
var ie = (e, s, n) => T_(e, typeof s != "symbol" ? s + "" : s, n), Ic = (e, s, n) => s.has(e) || vc("Cannot " + n);
|
7
7
|
var Gs = (e, s, n) => (Ic(e, s, "read from private field"), n ? n.call(e) : s.get(e)), Oa = (e, s, n) => s.has(e) ? vc("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), La = (e, s, n, a) => (Ic(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
|
8
|
-
import { j as t, i as Te, Q as io, k as S_, n as v_, D as ar, t as We, E as Jn, g as I_, a as A_, S as Xd, b as vi, r as Jd, s as R_, o as y_, c as Ac, d as j_, e as O_, y as L_, l as rr, f as w_, h as D_, m as P_, p as M_, q as Rc, u as k_, v as yc, w as U_, x as $_, z as F_, A as B_, T as jc, B as Ii, C as V_, F as Oc, G as Zd, H as G_, I as H_, J as Qd, K as Lc, L as Y_, M as K_, N as wc, O as W_, P as z_, R as q_, V as X_, U as J_, W as Dc, X as Z_, Y as Pc, Z as Q_, _ as co, $ as Mc, a0 as ef, a1 as tf, a2 as sf, a3 as nf, a4 as af, a5 as rf, a6 as of, a7 as cf, a8 as lf, a9 as df, aa as eu, ab as uf, ac as mf, ad as pf, ae as _f, af as ff, ag as kc, ah as Uc, ai as hf, aj as gf, ak as Ef, al as xf, am as Nf, an as Cf, ao as bf, ap as Tf, aq as tu, ar as su, as as Sf, at as vf, au as If, av as Af, aw as Ys } from "./@vendor-
|
8
|
+
import { j as t, i as Te, Q as io, k as S_, n as v_, D as ar, t as We, E as Jn, g as I_, a as A_, S as Xd, b as vi, r as Jd, s as R_, o as y_, c as Ac, d as j_, e as O_, y as L_, l as rr, f as w_, h as D_, m as P_, p as M_, q as Rc, u as k_, v as yc, w as U_, x as $_, z as F_, A as B_, T as jc, B as Ii, C as V_, F as Oc, G as Zd, H as G_, I as H_, J as Qd, K as Lc, L as Y_, M as K_, N as wc, O as W_, P as z_, R as q_, V as X_, U as J_, W as Dc, X as Z_, Y as Pc, Z as Q_, _ as co, $ as Mc, a0 as ef, a1 as tf, a2 as sf, a3 as nf, a4 as af, a5 as rf, a6 as of, a7 as cf, a8 as lf, a9 as df, aa as eu, ab as uf, ac as mf, ad as pf, ae as _f, af as ff, ag as kc, ah as Uc, ai as hf, aj as gf, ak as Ef, al as xf, am as Nf, an as Cf, ao as bf, ap as Tf, aq as tu, ar as su, as as Sf, at as vf, au as If, av as Af, aw as Ys } from "./@vendor-DC3JvJ9U.js";
|
9
9
|
import Le, { createContext as Kt, useContext as Es, useMemo as X, useState as O, useEffect as P, cloneElement as Zn, useRef as U, createElement as Ai, Children as $c, useCallback as Be, useLayoutEffect as Rf, createRef as or, Fragment as Ms, memo as vt, Component as Ri } from "react";
|
10
10
|
import { ReactComponent as yf } from "./assets/ic-info-filled-override.99e8094a.svg";
|
11
11
|
import * as jf from "yaml";
|
@@ -20,12 +20,12 @@ import { ReactComponent as wr } from "./assets/ic-tag.1613fc59.svg";
|
|
20
20
|
import { ReactComponent as au } from "./assets/ic-timer.b62145ec.svg";
|
21
21
|
import { ReactComponent as ru } from "./assets/ic-cpu.07ca0915.svg";
|
22
22
|
import { ReactComponent as ou } from "./assets/ic-memory.82ba7e9b.svg";
|
23
|
-
import
|
23
|
+
import rs from "react-ga4";
|
24
24
|
import { h as Ve } from "./@moment-C_WeV3Af.js";
|
25
25
|
import { ReactComponent as Uf } from "./assets/ic-visibility-off.d91d3844.svg";
|
26
26
|
import { ReactComponent as $f } from "./assets/ic-visibility-on.7505dd12.svg";
|
27
27
|
import Ff from "./assets/DeployAudio.566e45df.mp3";
|
28
|
-
import { a as ir, m as ke, A as Dr, u as ko, b as ln, c as Fc } from "./@framer-motion-
|
28
|
+
import { a as ir, m as ke, A as Dr, u as ko, b as ln, c as Fc } from "./@framer-motion-C5Xvz7Lq.js";
|
29
29
|
import ji, { components as Ge } from "react-select";
|
30
30
|
import Bf, { ReactComponent as _s } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
31
31
|
import { ReactComponent as Vf } from "./assets/ic-arrow-backward.d951202a.svg";
|
@@ -95,7 +95,7 @@ import { ReactComponent as Eu } from "./assets/ic-regex.e14a4ea3.svg";
|
|
95
95
|
import { ReactComponent as xh } from "./assets/ic-replace-all-text.a87fd342.svg";
|
96
96
|
import { ReactComponent as Nh } from "./assets/ic-replace-text.cc5433be.svg";
|
97
97
|
import { ReactComponent as xu } from "./assets/ic-world.1f6a5eaf.svg";
|
98
|
-
import { r as Nu, C as Ch, a as bh } from "./@react-dates-
|
98
|
+
import { r as Nu, C as Ch, a as bh } from "./@react-dates-B6q1sdbJ.js";
|
99
99
|
import { ReactComponent as Mi } from "./assets/ic-clock.c21a2d14.svg";
|
100
100
|
import Th from "./assets/ic-calender-blank.963e3423.svg";
|
101
101
|
import Sh, { ReactComponent as Cs } from "./assets/ic-cross.01e03666.svg";
|
@@ -142,14 +142,14 @@ import { ReactComponent as zh } from "./assets/ic-check-square.2a3d3fb9.svg";
|
|
142
142
|
import { customizeValidator as Ou } from "@rjsf/validator-ajv8";
|
143
143
|
import { ReactComponent as qh } from "./assets/ic-file-text.f9563710.svg";
|
144
144
|
import { ReactComponent as Xh } from "./assets/ic-upload-arrow-animated.3db85855.svg";
|
145
|
-
import { A as Jh } from "./@react-virtualized-sticky-tree-
|
145
|
+
import { A as Jh } from "./@react-virtualized-sticky-tree-BpJty95h.js";
|
146
146
|
import Zh from "./assets/change-source.abc9d12f.png";
|
147
147
|
import Qh from "./assets/select-image-source.fb911f42.png";
|
148
148
|
import eg from "./assets/ic-source-build.7d776b10.svg";
|
149
149
|
import tg from "./assets/ic-source-job.a40f06cf.svg";
|
150
150
|
import sg from "./assets/ic-source-linked-build.f24ecbed.svg";
|
151
151
|
import ng from "./assets/ic-source-webhook.ee64a29a.svg";
|
152
|
-
import { C as ag } from "./@react-select-
|
152
|
+
import { C as ag } from "./@react-select-LSvqtVJj.js";
|
153
153
|
import { ReactComponent as rg } from "./assets/ic-medium-info.b59d7676.svg";
|
154
154
|
import { ReactComponent as og } from "./assets/delete-medium.897114e0.svg";
|
155
155
|
import { deepEquals as Lu } from "@rjsf/utils";
|
@@ -562,7 +562,7 @@ var ze = /* @__PURE__ */ ((e) => (e[e.BAD_REQUEST = 400] = "BAD_REQUEST", e[e.UN
|
|
562
562
|
const JN = {
|
563
563
|
TITLE: "Access denied",
|
564
564
|
SUBTITLE: "You do not have required access to perform this action"
|
565
|
-
},
|
565
|
+
}, st = {
|
566
566
|
PAGE_NOT_FOUND: "Not found",
|
567
567
|
PAGE_NOT_EXIST: "Error 404: The requested resource could not be found. Please check the URL and try again.",
|
568
568
|
TAKE_BACK_HOME: "Go back home",
|
@@ -701,7 +701,7 @@ const iC = async (e, s) => {
|
|
701
701
|
} catch {
|
702
702
|
}
|
703
703
|
};
|
704
|
-
var Vu = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(Vu || {}), Ui = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Ui || {}), cC = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(cC || {}), de = /* @__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))(de || {}), ht = /* @__PURE__ */ ((e) => (e.DEVTRON_APP = "devtron_app", e.DEVTRON_HELM_CHART = "devtron_helm_chart", e.EXTERNAL_HELM_CHART = "external_helm_chart", e.EXTERNAL_ARGO_APP = "external_argo_app", e.EXTERNAL_FLUX_APP = "external_flux_app", e))(ht || {}),
|
704
|
+
var Vu = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(Vu || {}), Ui = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Ui || {}), cC = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(cC || {}), de = /* @__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))(de || {}), ht = /* @__PURE__ */ ((e) => (e.DEVTRON_APP = "devtron_app", e.DEVTRON_HELM_CHART = "devtron_helm_chart", e.EXTERNAL_HELM_CHART = "external_helm_chart", e.EXTERNAL_ARGO_APP = "external_argo_app", e.EXTERNAL_FLUX_APP = "external_flux_app", e))(ht || {}), Qe = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(Qe || {}), $i = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))($i || {}), dn = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(dn || {}), lC = /* @__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))(lC || {}), dC = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(dC || {}), Gu = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(Gu || {}), qe = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.infrastructureInstallation = "installations", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(qe || {}), Br = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(Br || {}), uC = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(uC || {}), na = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(na || {}), qt = /* @__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))(qt || {}), mC = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(mC || {}), pC = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(pC || {}), Ka = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(Ka || {}), _C = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(_C || {}), Hu = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(Hu || {});
|
705
705
|
const wU = [
|
706
706
|
{
|
707
707
|
label: "GUI",
|
@@ -781,7 +781,7 @@ const Ku = (e, s, n, a, r) => {
|
|
781
781
|
SECURITY_CLAIR: "security.clair"
|
782
782
|
}, IC = "ddd DD MMM YYYY HH:mm:ss", ur = "API-TOKEN:", fn = "••••••••";
|
783
783
|
var AC = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(AC || {}), ms = /* @__PURE__ */ ((e) => (e.PRE = "PRE", e.DEPLOY = "DEPLOY", e.POST = "POST", e))(ms || {}), Wa = /* @__PURE__ */ ((e) => (e.LAST_SAVED_CONFIG = "LAST_SAVED_CONFIG", e.LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG", e.SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG", e))(Wa || {}), Ko = /* @__PURE__ */ ((e) => (e.production = "Production", e.nonProduction = "Non-Production", e))(Ko || {});
|
784
|
-
const Wo = "No matching results", RC = "Type 3 chars to see matching results", MU = "Type to see matching results",
|
784
|
+
const Wo = "No matching results", RC = "Type 3 chars to see matching results", MU = "Type to see matching results", tt = {
|
785
785
|
DATA_NOT_AVAILABLE: "Data not available",
|
786
786
|
API_TOKEN: {
|
787
787
|
TITLE: Wo,
|
@@ -1050,7 +1050,7 @@ const Wo = "No matching results", RC = "Type 3 chars to see matching results", M
|
|
1050
1050
|
var OC = /* @__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))(OC || {});
|
1051
1051
|
const Wc = /\x1B\[.*?m/g;
|
1052
1052
|
var L = /* @__PURE__ */ ((e) => (e.xxs_small_icon = "xxs-small-icon", e.xxs = "xxs", e.xs = "xs", e.small = "small", e.medium = "medium", e.large = "large", e.xl = "xl", e))(L || {});
|
1053
|
-
const
|
1053
|
+
const ls = {
|
1054
1054
|
"xxs-small-icon": "py-1 fs-12 lh-20",
|
1055
1055
|
xxs: "py-1 fs-12 lh-20",
|
1056
1056
|
xs: "py-1 fs-12 lh-20",
|
@@ -1146,7 +1146,7 @@ const Ls = {
|
|
1146
1146
|
"gtag" in window && window.gtag && typeof window.gtag == "function" && (window.gtag("set", "user_properties", {
|
1147
1147
|
appTheme: e,
|
1148
1148
|
themePreference: s
|
1149
|
-
}),
|
1149
|
+
}), rs.send("pageview")), rs.event({
|
1150
1150
|
category: "application-theme",
|
1151
1151
|
action: `theme-changed-to-${n}`
|
1152
1152
|
});
|
@@ -1323,13 +1323,13 @@ const Ls = {
|
|
1323
1323
|
};
|
1324
1324
|
var J = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(J || {}), ue = /* @__PURE__ */ ((e) => (e.default = "default", e.negative = "negative", e.negativeGrey = "negative-grey", e.positive = "positive", e.warning = "warning", e.neutral = "neutral", e.neutralN0 = "neutral-n0", e.neutralWhite = "neutral-white", e))(ue || {}), gt = /* @__PURE__ */ ((e) => (e.button = "button", e.link = "link", e.anchor = "anchor", e))(gt || {});
|
1325
1325
|
const eb = {
|
1326
|
-
[L.xxs_small_icon]: `${
|
1327
|
-
[L.xxs]: `${
|
1328
|
-
[L.xs]: `${
|
1329
|
-
[L.small]: `${
|
1330
|
-
[L.medium]: `${
|
1331
|
-
[L.large]: `${
|
1332
|
-
[L.xl]: `${
|
1326
|
+
[L.xxs_small_icon]: `${ls[L.xxs]} px-9 dc__gap-6 mw-48`,
|
1327
|
+
[L.xxs]: `${ls[L.xxs]} px-9 dc__gap-6 mw-48`,
|
1328
|
+
[L.xs]: `${ls[L.xs]} px-9 dc__gap-6 mw-48`,
|
1329
|
+
[L.small]: `${ls[L.small]} px-9 dc__gap-8 mw-48`,
|
1330
|
+
[L.medium]: `${ls[L.medium]} px-11 dc__gap-8 mw-48`,
|
1331
|
+
[L.large]: `${ls[L.large]} px-13 dc__gap-8 mw-64`,
|
1332
|
+
[L.xl]: `${ls[L.xl]} px-15 dc__gap-12 mw-64`
|
1333
1333
|
}, tb = {
|
1334
1334
|
bold: "fw-6",
|
1335
1335
|
normal: "fw-4"
|
@@ -3641,7 +3641,7 @@ const fl = () => ({
|
|
3641
3641
|
noOptionsMessage: Wt
|
3642
3642
|
} = Q, {
|
3643
3643
|
isGroupHeadingSelectable: ut = !1,
|
3644
|
-
getIsOptionValid:
|
3644
|
+
getIsOptionValid: os = () => !0,
|
3645
3645
|
customDisplayText: $ = null
|
3646
3646
|
} = x, ge = Ae && !$, G = g && ge ? L.large : i, pe = !g && o, Re = !N && C, mt = X(
|
3647
3647
|
() => Kb({
|
@@ -3649,7 +3649,7 @@ const fl = () => ({
|
|
3649
3649
|
size: G,
|
3650
3650
|
menuSize: d,
|
3651
3651
|
variant: f,
|
3652
|
-
getIsOptionValid:
|
3652
|
+
getIsOptionValid: os,
|
3653
3653
|
isGroupHeadingSelectable: ut,
|
3654
3654
|
shouldMenuAlignRight: I
|
3655
3655
|
}),
|
@@ -3675,7 +3675,7 @@ const fl = () => ({
|
|
3675
3675
|
), Ts = Be(
|
3676
3676
|
(Oe) => /* @__PURE__ */ t.jsx(Qb, { ...Oe, disableDescriptionEllipsis: h }),
|
3677
3677
|
[h]
|
3678
|
-
), ja = (Oe) => /* @__PURE__ */ t.jsx(tT, { ...Oe, getIsOptionValid:
|
3678
|
+
), ja = (Oe) => /* @__PURE__ */ t.jsx(tT, { ...Oe, getIsOptionValid: os }), p_ = Be(
|
3679
3679
|
(Oe) => /* @__PURE__ */ t.jsx(nT, { ...Oe, isGroupHeadingSelectable: ut }),
|
3680
3680
|
[ut]
|
3681
3681
|
), __ = () => u ? /* @__PURE__ */ t.jsx(yn, { reload: m }) : j ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: Wt?.({
|
@@ -5486,7 +5486,7 @@ var lS = /* @__PURE__ */ ((e) => (e.YAML = "yaml", e.SAVED = "variables", e.ENVI
|
|
5486
5486
|
const dS = {
|
5487
5487
|
value: "all",
|
5488
5488
|
label: "All namespaces"
|
5489
|
-
},
|
5489
|
+
}, is = {
|
5490
5490
|
DrainIcon: DN,
|
5491
5491
|
GracePeriod: {
|
5492
5492
|
heading: "Grace period",
|
@@ -5536,23 +5536,23 @@ const dS = {
|
|
5536
5536
|
}, uS = [
|
5537
5537
|
{
|
5538
5538
|
key: "deleteEmptyDirData",
|
5539
|
-
infoText:
|
5540
|
-
label:
|
5539
|
+
infoText: is.DeleteEmptyDirectoryData.infoText,
|
5540
|
+
label: is.DeleteEmptyDirectoryData.heading
|
5541
5541
|
},
|
5542
5542
|
{
|
5543
5543
|
key: "disableEviction",
|
5544
|
-
infoText:
|
5545
|
-
label:
|
5544
|
+
infoText: is.DisableEviction.infoText,
|
5545
|
+
label: is.DisableEviction.heading
|
5546
5546
|
},
|
5547
5547
|
{
|
5548
5548
|
key: "force",
|
5549
|
-
infoText:
|
5550
|
-
label:
|
5549
|
+
infoText: is.ForceDrain.infoText,
|
5550
|
+
label: is.ForceDrain.heading
|
5551
5551
|
},
|
5552
5552
|
{
|
5553
5553
|
key: "ignoreAllDaemonSets",
|
5554
|
-
infoText:
|
5555
|
-
label:
|
5554
|
+
infoText: is.IgnoreDaemonSets.infoText,
|
5555
|
+
label: is.IgnoreDaemonSets.heading
|
5556
5556
|
}
|
5557
5557
|
], eF = ({
|
5558
5558
|
optionsData: e,
|
@@ -5692,7 +5692,7 @@ const tF = (e, s, n, a) => ({
|
|
5692
5692
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
5693
5693
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center px-8 py-2", children: [
|
5694
5694
|
/* @__PURE__ */ t.jsx(au, { className: "icon-dim-20 dc__no-shrink scn-7" }),
|
5695
|
-
/* @__PURE__ */ t.jsx(Z, { content:
|
5695
|
+
/* @__PURE__ */ t.jsx(Z, { content: is.GracePeriod.infoText, alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 cn-9 lh-20 dc__underline-dotted", children: "Grace period" }) }),
|
5696
5696
|
/* @__PURE__ */ t.jsxs("span", { className: "flex left dc__border br-4 cn-9 fw-4 fs-13 lh-20 dc__overflow-hidden", children: [
|
5697
5697
|
/* @__PURE__ */ t.jsx(
|
5698
5698
|
"input",
|
@@ -6173,7 +6173,7 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
|
|
6173
6173
|
"ic-wifi-slash": yN
|
6174
6174
|
}, H = (e) => /* @__PURE__ */ t.jsx(wS, { ...e, iconMap: DS }), PS = ({ isFELibAvailable: e }) => {
|
6175
6175
|
const { currentServerInfo: s, isEnterprise: n } = nn(), a = s?.serverInfo?.currentVersion, r = e === n, o = () => {
|
6176
|
-
|
6176
|
+
rs.event({
|
6177
6177
|
category: "about-devtron",
|
6178
6178
|
action: "ABOUT_DEVTRON_LICENSE_AGREEMENT_CLICKED"
|
6179
6179
|
});
|
@@ -6349,7 +6349,7 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
|
|
6349
6349
|
onKeyDown: v,
|
6350
6350
|
type: h,
|
6351
6351
|
ref: A,
|
6352
|
-
className: `${
|
6352
|
+
className: `${ls[u]} ${Wu[u]} ${Wr({ borderConfig: p, borderRadiusConfig: f })} ${g ? `custom-input__with-icon-button--${u}` : ""} w-100 dc__overflow-auto`
|
6353
6353
|
}
|
6354
6354
|
),
|
6355
6355
|
g && /* @__PURE__ */ t.jsx("div", { className: `dc__no-shrink dc__position-abs custom-input__icon-button--${u}`, children: /* @__PURE__ */ t.jsx(
|
@@ -8113,8 +8113,8 @@ const Gv = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8113
8113
|
Je,
|
8114
8114
|
{
|
8115
8115
|
SvgImage: du,
|
8116
|
-
title:
|
8117
|
-
subTitle:
|
8116
|
+
title: tt.CI_PROGRESS_VIEW.TITLE,
|
8117
|
+
subTitle: tt.CI_PROGRESS_VIEW.SUBTITLE
|
8118
8118
|
}
|
8119
8119
|
), oi = ({
|
8120
8120
|
type: e,
|
@@ -8217,16 +8217,16 @@ const Gv = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8217
8217
|
return /* @__PURE__ */ t.jsx(
|
8218
8218
|
Je,
|
8219
8219
|
{
|
8220
|
-
title: c ?
|
8221
|
-
subTitle: c ?
|
8220
|
+
title: c ? tt.ARTIFACTS_EMPTY_STATE_TEXTS.FailedToFetchArtifacts : tt.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsGenerated,
|
8221
|
+
subTitle: c ? tt.ARTIFACTS_EMPTY_STATE_TEXTS.FailedToFetchArtifactsError : tt.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsError
|
8222
8222
|
}
|
8223
8223
|
);
|
8224
8224
|
if (C === ye.SUCCEEDED)
|
8225
8225
|
return /* @__PURE__ */ t.jsx(
|
8226
8226
|
Je,
|
8227
8227
|
{
|
8228
|
-
title:
|
8229
|
-
subTitle:
|
8228
|
+
title: tt.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsFound,
|
8229
|
+
subTitle: tt.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsFoundError,
|
8230
8230
|
image: kr
|
8231
8231
|
}
|
8232
8232
|
);
|
@@ -8277,12 +8277,12 @@ const Gv = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8277
8277
|
] }),
|
8278
8278
|
!n && /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__position-abs-b-20 dc__content-center w-100", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox pt-8 pr-12 pb-8 pl-12 bcv-1 ev-2 bw-1 br-4", children: [
|
8279
8279
|
/* @__PURE__ */ t.jsx(ma, { className: "icon-dim-20 fcv-5" }),
|
8280
|
-
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 mr-8 ml-8", children:
|
8280
|
+
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 mr-8 ml-8", children: tt.ARTIFACTS_EMPTY_STATE_TEXTS.StoreFiles }),
|
8281
8281
|
/* @__PURE__ */ t.jsx(
|
8282
8282
|
Ta,
|
8283
8283
|
{
|
8284
8284
|
docLinkKey: "BLOB_STORAGE",
|
8285
|
-
text:
|
8285
|
+
text: tt.ARTIFACTS_EMPTY_STATE_TEXTS.ConfigureBlobStorage,
|
8286
8286
|
dataTestId: "configure-blob-storage"
|
8287
8287
|
}
|
8288
8288
|
),
|
@@ -8319,8 +8319,8 @@ const Gv = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8319
8319
|
{
|
8320
8320
|
image: e || uu,
|
8321
8321
|
classname: "fs-16",
|
8322
|
-
title: s ||
|
8323
|
-
subTitle: n ||
|
8322
|
+
title: s || tt.CD_EMPTY_STATE.TITLE,
|
8323
|
+
subTitle: n || tt.CD_EMPTY_STATE.SUBTITLE,
|
8324
8324
|
isButtonAvailable: !0,
|
8325
8325
|
imageType: Bs.Large,
|
8326
8326
|
renderButton: d
|
@@ -8856,13 +8856,13 @@ const iI = (e, s) => {
|
|
8856
8856
|
) : /* @__PURE__ */ t.jsx("span", { className: "dc__truncate", children: f })
|
8857
8857
|
] })
|
8858
8858
|
] });
|
8859
|
-
}, At = new Pr({}),
|
8860
|
-
let
|
8859
|
+
}, At = new Pr({}), cs = new Pr([]), qa = new Pr([]), So = new Pr({});
|
8860
|
+
let as = {
|
8861
8861
|
filterType: "",
|
8862
8862
|
searchString: ""
|
8863
8863
|
};
|
8864
8864
|
const Ml = () => {
|
8865
|
-
const e =
|
8865
|
+
const e = cs.getValue().filter((s) => !!(!as.filterType && !as.searchString || as.filterType === "ALL" || as.filterType.toLowerCase() === s.health?.status?.toLowerCase() || as.filterType.toLowerCase() === qr.drifted && s.hasDrift));
|
8866
8866
|
qa.next([...e]);
|
8867
8867
|
};
|
8868
8868
|
function ac(e, s, n) {
|
@@ -8936,7 +8936,7 @@ const AI = (e, s) => {
|
|
8936
8936
|
}, RI = {
|
8937
8937
|
setEnvDetails: (e, s, n) => {
|
8938
8938
|
const a = {};
|
8939
|
-
a.envType = e, a.appId = s, a.envId = n,
|
8939
|
+
a.envType = e, a.appId = s, a.envId = n, as = {
|
8940
8940
|
filterType: "",
|
8941
8941
|
searchString: ""
|
8942
8942
|
}, So.next({ ...a });
|
@@ -8949,31 +8949,31 @@ const AI = (e, s) => {
|
|
8949
8949
|
n,
|
8950
8950
|
n.filter((r) => (r.parentRefs ?? []).length == 0).map((r) => r),
|
8951
8951
|
a
|
8952
|
-
), At.next({ ...e, appType: s }),
|
8952
|
+
), At.next({ ...e, appType: s }), cs.next([...n]), qa.next([...n]);
|
8953
8953
|
},
|
8954
8954
|
clearAppDetails() {
|
8955
8955
|
this.publishAppDetails({}, null);
|
8956
8956
|
},
|
8957
8957
|
getAppDetails: () => At.getValue(),
|
8958
8958
|
getAppDetailsObservable: () => At.asObservable(),
|
8959
|
-
getAppDetailsNodes: () =>
|
8960
|
-
getAppDetailsNodesObservable: () =>
|
8959
|
+
getAppDetailsNodes: () => cs.getValue(),
|
8960
|
+
getAppDetailsNodesObservable: () => cs.asObservable(),
|
8961
8961
|
getAppDetailsFilteredNodes: () => qa.getValue(),
|
8962
8962
|
getAppDetailsNodesFilteredObservable: () => qa.asObservable(),
|
8963
8963
|
getiNodesByKind: (e) => {
|
8964
|
-
const s =
|
8964
|
+
const s = cs.getValue();
|
8965
8965
|
return vI(s, e);
|
8966
8966
|
},
|
8967
|
-
getNodesByKind: (e) =>
|
8967
|
+
getNodesByKind: (e) => cs.getValue().filter((n) => n.kind.toLowerCase() === e.toLowerCase()),
|
8968
8968
|
getMetaDataForPod: (e) => At.getValue().resourceTree?.podMetadata?.filter((s) => s.name === e)[0] || {},
|
8969
8969
|
getPodMetaData: () => At.getValue().resourceTree.podMetadata,
|
8970
8970
|
getPodsForRootNode: (e) => {
|
8971
|
-
const s =
|
8971
|
+
const s = cs.getValue();
|
8972
8972
|
return AI(e, s);
|
8973
8973
|
},
|
8974
|
-
getAllPodNames: () =>
|
8974
|
+
getAllPodNames: () => cs.getValue().filter((e) => e.kind === de.Pod).map((e) => e.name),
|
8975
8975
|
getPodsRootParentNameAndStatus: () => {
|
8976
|
-
const e =
|
8976
|
+
const e = cs.getValue();
|
8977
8977
|
return II(e);
|
8978
8978
|
},
|
8979
8979
|
getAllContainersForPod: (e) => At.getValue().resourceTree?.podMetadata?.find((s) => s.name === e)?.containers,
|
@@ -9013,10 +9013,10 @@ const AI = (e, s) => {
|
|
9013
9013
|
}), s;
|
9014
9014
|
},
|
9015
9015
|
updateFilterType: (e) => {
|
9016
|
-
|
9016
|
+
as = { ...as, filterType: e }, Ml();
|
9017
9017
|
},
|
9018
9018
|
updateFilterSearch: (e) => {
|
9019
|
-
e.length && e.length < 4 || (
|
9019
|
+
e.length && e.length < 4 || (as = { ...as, searchString: e }, Ml());
|
9020
9020
|
}
|
9021
9021
|
};
|
9022
9022
|
var Nt = /* @__PURE__ */ ((e) => (e.PROGRESSING = "Progressing", e.ABORTED = "Aborted", e.FAILED = "Failed", e.SUCCEEDED = "Succeeded", e.TIMED_OUT = "TimedOut", e.UNABLE_TO_FETCH = "UnableToFetch", e.STARTING = "Starting", e.QUEUED = "Queued", e.INITIATING = "Initiating", e.HEALTHY = "Healthy", e.DEGRADED = "Degraded", e.MISSING = "Missing", e.UNKNOWN = "Unknown", e.SUSPENDED = "Suspended", e))(Nt || {});
|
@@ -9757,12 +9757,12 @@ const XI = ({
|
|
9757
9757
|
}, y = () => !_.current && !S?.deploymentStatusBreakdown?.APP_HEALTH?.isCollapsed ? /* @__PURE__ */ t.jsx("div", { className: "h-100 flex", children: /* @__PURE__ */ t.jsx(
|
9758
9758
|
oI,
|
9759
9759
|
{
|
9760
|
-
title:
|
9760
|
+
title: tt.DEPLOYMENT_DETAILS_SETPS_PROGRESSING.TITLE,
|
9761
9761
|
imgSource: Hf,
|
9762
9762
|
actionButtonClass: "bcb-5 cn-0",
|
9763
9763
|
ActionButtonIcon: lu,
|
9764
9764
|
actionHandler: v,
|
9765
|
-
subtitle:
|
9765
|
+
subtitle: tt.DEPLOYMENT_DETAILS_SETPS_PROGRESSING.SUBTITLE,
|
9766
9766
|
actionButtonText: "Check live status",
|
9767
9767
|
actionButtonIconRight: !0,
|
9768
9768
|
dataTestId: "deployment-progress"
|
@@ -9788,8 +9788,8 @@ const XI = ({
|
|
9788
9788
|
children: /* @__PURE__ */ t.jsx(
|
9789
9789
|
Je,
|
9790
9790
|
{
|
9791
|
-
title:
|
9792
|
-
subTitle:
|
9791
|
+
title: tt.DEPLOYMENT_DETAILS_SETPS_FAILED.TITLE,
|
9792
|
+
subTitle: tt.DEPLOYMENT_DETAILS_SETPS_FAILED.SUBTITLE
|
9793
9793
|
}
|
9794
9794
|
)
|
9795
9795
|
}
|
@@ -9873,13 +9873,13 @@ const XI = ({
|
|
9873
9873
|
case ze.NOT_FOUND:
|
9874
9874
|
return {
|
9875
9875
|
onClick: l,
|
9876
|
-
renderButtonText:
|
9876
|
+
renderButtonText: st.TAKE_BACK_HOME,
|
9877
9877
|
isButtonAvailable: !0
|
9878
9878
|
};
|
9879
9879
|
case ze.INTERNAL_SERVER_ERROR:
|
9880
9880
|
return {
|
9881
9881
|
onClick: aL,
|
9882
|
-
renderButtonText:
|
9882
|
+
renderButtonText: st.REPORT_ISSUE,
|
9883
9883
|
isButtonAvailable: !0
|
9884
9884
|
};
|
9885
9885
|
case ze.BAD_REQUEST:
|
@@ -9887,7 +9887,7 @@ const XI = ({
|
|
9887
9887
|
case ze.SERVICE_TEMPORARY_UNAVAILABLE:
|
9888
9888
|
return {
|
9889
9889
|
onClick: i ?? Kp,
|
9890
|
-
renderButtonText:
|
9890
|
+
renderButtonText: st.TRY_AGAIN,
|
9891
9891
|
isButtonAvailable: !0
|
9892
9892
|
};
|
9893
9893
|
default:
|
@@ -9938,8 +9938,8 @@ const Ln = ({
|
|
9938
9938
|
Hs,
|
9939
9939
|
{
|
9940
9940
|
code: ze.BAD_REQUEST,
|
9941
|
-
title:
|
9942
|
-
subTitle: n ||
|
9941
|
+
title: st.BAD_REQUEST,
|
9942
|
+
subTitle: n || st.BAD_REQUEST_MESSAGE,
|
9943
9943
|
image: _n,
|
9944
9944
|
imageType: o,
|
9945
9945
|
reload: s
|
@@ -9950,8 +9950,8 @@ const Ln = ({
|
|
9950
9950
|
Hs,
|
9951
9951
|
{
|
9952
9952
|
code: ze.UNAUTHORIZED,
|
9953
|
-
title:
|
9954
|
-
subTitle: n ||
|
9953
|
+
title: st.UNAUTHORIZED,
|
9954
|
+
subTitle: n || st.UNAUTHORIZED_MESSAGE,
|
9955
9955
|
image: Vo,
|
9956
9956
|
imageType: o
|
9957
9957
|
}
|
@@ -9961,8 +9961,8 @@ const Ln = ({
|
|
9961
9961
|
Hs,
|
9962
9962
|
{
|
9963
9963
|
code: ze.PERMISSION_DENIED,
|
9964
|
-
title:
|
9965
|
-
subTitle: n ||
|
9964
|
+
title: st.FORBIDDEN,
|
9965
|
+
subTitle: n || st.FORBIDDEN_MESSAGE,
|
9966
9966
|
image: Vo,
|
9967
9967
|
imageType: o
|
9968
9968
|
}
|
@@ -9972,8 +9972,8 @@ const Ln = ({
|
|
9972
9972
|
Hs,
|
9973
9973
|
{
|
9974
9974
|
code: ze.NOT_FOUND,
|
9975
|
-
title:
|
9976
|
-
subTitle: n ||
|
9975
|
+
title: st.PAGE_NOT_FOUND,
|
9976
|
+
subTitle: n || st.PAGE_NOT_EXIST,
|
9977
9977
|
image: Hh,
|
9978
9978
|
imageType: o,
|
9979
9979
|
redirectURL: r
|
@@ -9984,8 +9984,8 @@ const Ln = ({
|
|
9984
9984
|
Hs,
|
9985
9985
|
{
|
9986
9986
|
code: ze.INTERNAL_SERVER_ERROR,
|
9987
|
-
title:
|
9988
|
-
subTitle: n ||
|
9987
|
+
title: st.INTERNAL_SERVER_ERROR,
|
9988
|
+
subTitle: n || st.INTERNAL_SERVER_ERROR_MESSAGE,
|
9989
9989
|
image: _n,
|
9990
9990
|
imageType: o,
|
9991
9991
|
reload: s
|
@@ -9996,8 +9996,8 @@ const Ln = ({
|
|
9996
9996
|
Hs,
|
9997
9997
|
{
|
9998
9998
|
code: ze.BAD_GATEWAY,
|
9999
|
-
title:
|
10000
|
-
subTitle: n ||
|
9999
|
+
title: st.BAD_GATEWAY,
|
10000
|
+
subTitle: n || st.BAD_GATEWAY_MESSAGE,
|
10001
10001
|
image: _n,
|
10002
10002
|
imageType: o,
|
10003
10003
|
reload: s
|
@@ -10008,8 +10008,8 @@ const Ln = ({
|
|
10008
10008
|
Hs,
|
10009
10009
|
{
|
10010
10010
|
code: ze.SERVICE_TEMPORARY_UNAVAILABLE,
|
10011
|
-
title:
|
10012
|
-
subTitle: n ||
|
10011
|
+
title: st.SERVICE_TEMPORARY_UNAVAILABLE,
|
10012
|
+
subTitle: n || st.SERVICE_TEMPORARY_UNAVAILABLE_MESSAGE,
|
10013
10013
|
image: _n,
|
10014
10014
|
imageType: o,
|
10015
10015
|
reload: s
|
@@ -11201,7 +11201,7 @@ const Ln = ({
|
|
11201
11201
|
...He(),
|
11202
11202
|
Io,
|
11203
11203
|
co.readOnly.of(j)
|
11204
|
-
],
|
11204
|
+
], os = [
|
11205
11205
|
te,
|
11206
11206
|
Mc({
|
11207
11207
|
...se,
|
@@ -11238,7 +11238,7 @@ const Ln = ({
|
|
11238
11238
|
originalViewExtensions: Wt,
|
11239
11239
|
modifiedViewExtensions: ut,
|
11240
11240
|
extensions: ct,
|
11241
|
-
diffMinimapExtensions:
|
11241
|
+
diffMinimapExtensions: os,
|
11242
11242
|
collapseUnchanged: v,
|
11243
11243
|
disableMinimap: v
|
11244
11244
|
}
|
@@ -12947,8 +12947,8 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12947
12947
|
return /* @__PURE__ */ t.jsx(
|
12948
12948
|
Je,
|
12949
12949
|
{
|
12950
|
-
title:
|
12951
|
-
subTitle:
|
12950
|
+
title: tt.DATA_NOT_AVAILABLE,
|
12951
|
+
subTitle: tt.DEVTRON_APP_DEPLOYMENT_HISTORY_SOURCE_CODE.SUBTITLE
|
12952
12952
|
}
|
12953
12953
|
);
|
12954
12954
|
const C = _r(n);
|
@@ -14097,7 +14097,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14097
14097
|
const { pipelineId: u, appId: m, envId: p } = wt(), { push: f } = Lr(), { path: h } = Ns(), x = (I) => {
|
14098
14098
|
e === Fe.CI ? (r({ offset: 0, size: 20 }), f(Xs(h, { appId: m, pipelineId: I.value }))) : e === Fe.GROUP_CI ? (r({ offset: 0, size: 20 }), f(Xs(h, { envId: p, pipelineId: I.pipelineId }))) : e === Fe.GROUP_CD ? (r({ offset: 0, size: 20 }), f(Xs(h, { envId: p, appId: I.value, pipelineId: I.pipelineId }))) : (r({ offset: 0, size: 20 }), f(Xs(h, { appId: m, envId: I.value, pipelineId: I.pipelineId })));
|
14099
14099
|
}, g = () => {
|
14100
|
-
|
14100
|
+
rs.event({
|
14101
14101
|
category: "pagination",
|
14102
14102
|
action: "auto",
|
14103
14103
|
label: `${e.toLowerCase()}-history`,
|
@@ -14252,19 +14252,19 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14252
14252
|
] })
|
14253
14253
|
] });
|
14254
14254
|
}, jR = {
|
14255
|
-
[
|
14256
|
-
[
|
14257
|
-
[
|
14258
|
-
[
|
14259
|
-
[
|
14260
|
-
[
|
14261
|
-
[
|
14262
|
-
[
|
14263
|
-
[
|
14264
|
-
[
|
14265
|
-
[
|
14266
|
-
[
|
14267
|
-
},
|
14255
|
+
[Qe.GIT]: "ic-git",
|
14256
|
+
[Qe.GITHUB]: "ic-github",
|
14257
|
+
[Qe.GITLAB]: "ic-gitlab",
|
14258
|
+
[Qe.BITBUCKET]: "ic-bitbucket",
|
14259
|
+
[Qe.DOCKER]: "ic-dockerhub",
|
14260
|
+
[Qe.DOCKER_HUB]: "ic-dockerhub",
|
14261
|
+
[Qe.ACR]: "ic-azure",
|
14262
|
+
[Qe.QUAY]: "ic-quay",
|
14263
|
+
[Qe.ECR]: "ic-ecr",
|
14264
|
+
[Qe.ARTIFACT_REGISTRY]: "ic-google-artifact-registry",
|
14265
|
+
[Qe.GCR]: "ic-google-container-registry",
|
14266
|
+
[Qe.OTHER]: "ic-container"
|
14267
|
+
}, ns = ({ registryType: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(H, { name: jR[e] || "ic-container", size: s, color: null }), QF = {
|
14268
14268
|
ecr: {
|
14269
14269
|
value: "ecr",
|
14270
14270
|
label: "ECR",
|
@@ -14287,7 +14287,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14287
14287
|
defaultValue: "",
|
14288
14288
|
placeholder: ""
|
14289
14289
|
},
|
14290
|
-
startIcon: /* @__PURE__ */ t.jsx(
|
14290
|
+
startIcon: /* @__PURE__ */ t.jsx(ns, { registryType: Qe.ECR })
|
14291
14291
|
},
|
14292
14292
|
"docker-hub": {
|
14293
14293
|
value: "docker-hub",
|
@@ -14311,7 +14311,31 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14311
14311
|
defaultValue: "",
|
14312
14312
|
placeholder: ""
|
14313
14313
|
},
|
14314
|
-
startIcon: /* @__PURE__ */ t.jsx(
|
14314
|
+
startIcon: /* @__PURE__ */ t.jsx(ns, { registryType: Qe.DOCKER_HUB })
|
14315
|
+
},
|
14316
|
+
gitlab: {
|
14317
|
+
value: "gitlab",
|
14318
|
+
label: "GitLab",
|
14319
|
+
desiredFormat: "(desired format: username/repo-name)",
|
14320
|
+
placeholderText: "Eg. username/repo_name",
|
14321
|
+
gettingStartedLink: "https://docs.gitlab.com/ee/user/packages/container_registry/",
|
14322
|
+
defaultRegistryURL: "",
|
14323
|
+
registryURL: {
|
14324
|
+
label: "Registry URL",
|
14325
|
+
defaultValue: "registry.gitlab.com",
|
14326
|
+
placeholder: "Eg. registry.gitlab.com"
|
14327
|
+
},
|
14328
|
+
id: {
|
14329
|
+
label: "Username",
|
14330
|
+
defaultValue: "",
|
14331
|
+
placeholder: ""
|
14332
|
+
},
|
14333
|
+
password: {
|
14334
|
+
label: "Password/Token (Recommended: Token)",
|
14335
|
+
defaultValue: "",
|
14336
|
+
placeholder: ""
|
14337
|
+
},
|
14338
|
+
startIcon: /* @__PURE__ */ t.jsx(ns, { registryType: Qe.GITLAB })
|
14315
14339
|
},
|
14316
14340
|
acr: {
|
14317
14341
|
value: "acr",
|
@@ -14335,7 +14359,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14335
14359
|
defaultValue: "",
|
14336
14360
|
placeholder: ""
|
14337
14361
|
},
|
14338
|
-
startIcon: /* @__PURE__ */ t.jsx(
|
14362
|
+
startIcon: /* @__PURE__ */ t.jsx(ns, { registryType: Qe.ACR })
|
14339
14363
|
},
|
14340
14364
|
"artifact-registry": {
|
14341
14365
|
value: "artifact-registry",
|
@@ -14359,7 +14383,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14359
14383
|
defaultValue: "",
|
14360
14384
|
placeholder: "Paste json file content here"
|
14361
14385
|
},
|
14362
|
-
startIcon: /* @__PURE__ */ t.jsx(
|
14386
|
+
startIcon: /* @__PURE__ */ t.jsx(ns, { registryType: Qe.ARTIFACT_REGISTRY })
|
14363
14387
|
},
|
14364
14388
|
gcr: {
|
14365
14389
|
value: "gcr",
|
@@ -14383,7 +14407,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14383
14407
|
defaultValue: "",
|
14384
14408
|
placeholder: "Paste json file content here"
|
14385
14409
|
},
|
14386
|
-
startIcon: /* @__PURE__ */ t.jsx(
|
14410
|
+
startIcon: /* @__PURE__ */ t.jsx(ns, { registryType: Qe.GCR })
|
14387
14411
|
},
|
14388
14412
|
quay: {
|
14389
14413
|
value: "quay",
|
@@ -14407,7 +14431,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14407
14431
|
defaultValue: "",
|
14408
14432
|
placeholder: ""
|
14409
14433
|
},
|
14410
|
-
startIcon: /* @__PURE__ */ t.jsx(
|
14434
|
+
startIcon: /* @__PURE__ */ t.jsx(ns, { registryType: Qe.QUAY })
|
14411
14435
|
},
|
14412
14436
|
other: {
|
14413
14437
|
value: "other",
|
@@ -14431,7 +14455,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14431
14455
|
defaultValue: "",
|
14432
14456
|
placeholder: ""
|
14433
14457
|
},
|
14434
|
-
startIcon: /* @__PURE__ */ t.jsx(
|
14458
|
+
startIcon: /* @__PURE__ */ t.jsx(ns, { registryType: Qe.OTHER })
|
14435
14459
|
}
|
14436
14460
|
}, ic = ({
|
14437
14461
|
imagePath: e,
|
@@ -14450,7 +14474,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14450
14474
|
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`,
|
14451
14475
|
onClick: n || c,
|
14452
14476
|
children: [
|
14453
|
-
/* @__PURE__ */ t.jsx(
|
14477
|
+
/* @__PURE__ */ t.jsx(ns, { registryType: s || Qe.DOCKER, size: 14 }),
|
14454
14478
|
l ? /* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left", children: e }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
14455
14479
|
/* @__PURE__ */ t.jsx("div", { children: "…" }),
|
14456
14480
|
/* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left text-overflow-clip", children: e.split(":").slice(-1)[0] ?? "" })
|
@@ -15442,8 +15466,8 @@ const LR = (e) => {
|
|
15442
15466
|
return Xp(D, ve), !W && j && !T || !b || W && (oe || j) && !T ? /* @__PURE__ */ t.jsx(Ze, { pageLoader: !0 }) : M?.code === 404 ? /* @__PURE__ */ t.jsx(
|
15443
15467
|
Je,
|
15444
15468
|
{
|
15445
|
-
title:
|
15446
|
-
subTitle:
|
15469
|
+
title: tt.TRIGGER_NOT_FOUND.TITLE,
|
15470
|
+
subTitle: tt.TRIGGER_NOT_FOUND.SUBTITLE
|
15447
15471
|
}
|
15448
15472
|
) : !W && !j && !T ? /* @__PURE__ */ t.jsx(ia, {}) : W && !(oe || j) && !T ? /* @__PURE__ */ t.jsx(ia, {}) : T?.id !== +b ? null : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
15449
15473
|
!e && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
@@ -17879,8 +17903,8 @@ const p0 = {
|
|
17879
17903
|
Je,
|
17880
17904
|
{
|
17881
17905
|
SvgImage: hu,
|
17882
|
-
title:
|
17883
|
-
subTitle:
|
17906
|
+
title: tt.CI_DEATILS_NO_VULNERABILITY_FOUND.TITLE,
|
17907
|
+
subTitle: tt.CI_DEATILS_NO_VULNERABILITY_FOUND.SUBTITLE
|
17884
17908
|
}
|
17885
17909
|
);
|
17886
17910
|
const m = _p({
|
@@ -19578,7 +19602,7 @@ const pB = ({
|
|
19578
19602
|
error: a
|
19579
19603
|
}
|
19580
19604
|
), Ly = "33px", wy = "33px";
|
19581
|
-
var
|
19605
|
+
var et = /* @__PURE__ */ ((e) => (e.TEXT = "text", e.DROPDOWN = "dropdown", e.SELECT_TEXT = "select-text", e.BUTTON = "button", e.FILE_UPLOAD = "file-upload", e))(et || {});
|
19582
19606
|
const so = ({
|
19583
19607
|
headers: e,
|
19584
19608
|
actionButtonConfig: s
|
@@ -19589,10 +19613,10 @@ const so = ({
|
|
19589
19613
|
const a = so({ headers: e, actionButtonConfig: s }), r = s?.width || "32px", o = s?.position, i = e.map(({ width: c }, l) => l === a ? o === "end" ? `${c} ${r}` : `${r} ${c}` : c);
|
19590
19614
|
return n || i.push("32px"), i.join(" ").trim();
|
19591
19615
|
}, My = (e) => [
|
19592
|
-
|
19593
|
-
|
19594
|
-
|
19595
|
-
].includes(e ||
|
19616
|
+
et.TEXT,
|
19617
|
+
et.SELECT_TEXT,
|
19618
|
+
et.DROPDOWN
|
19619
|
+
].includes(e || et.TEXT), ky = ({
|
19596
19620
|
headers: e,
|
19597
19621
|
rows: s,
|
19598
19622
|
sortingConfig: n,
|
@@ -20230,14 +20254,14 @@ const Yy = ({
|
|
20230
20254
|
let M = "";
|
20231
20255
|
const D = { selectedValue: null, files: [] };
|
20232
20256
|
switch (T.data[j].type) {
|
20233
|
-
case
|
20234
|
-
case
|
20257
|
+
case et.DROPDOWN:
|
20258
|
+
case et.SELECT_TEXT:
|
20235
20259
|
M = w?.value || "", D.selectedValue = w;
|
20236
20260
|
break;
|
20237
|
-
case
|
20261
|
+
case et.FILE_UPLOAD:
|
20238
20262
|
M = w[0]?.name || "", D.files = w;
|
20239
20263
|
break;
|
20240
|
-
case
|
20264
|
+
case et.TEXT:
|
20241
20265
|
default:
|
20242
20266
|
M = w.target.value;
|
20243
20267
|
break;
|
@@ -20248,7 +20272,7 @@ const Yy = ({
|
|
20248
20272
|
}, I = (T, j, w) => {
|
20249
20273
|
const M = n || T.data[j].disabled, D = E.current && j === (m ?? s[0].key) && w === 0;
|
20250
20274
|
switch (!p && !E.current && w === 0 && _?.current?.[T.id]?.[j].current && (E.current = !0), T.data[j].type) {
|
20251
|
-
case
|
20275
|
+
case et.DROPDOWN:
|
20252
20276
|
return /* @__PURE__ */ t.jsx("div", { className: "w-100 h-100 flex top dc__align-self-start", children: /* @__PURE__ */ t.jsx(
|
20253
20277
|
Vt,
|
20254
20278
|
{
|
@@ -20267,7 +20291,7 @@ const Yy = ({
|
|
20267
20291
|
fullWidth: !0
|
20268
20292
|
}
|
20269
20293
|
) });
|
20270
|
-
case
|
20294
|
+
case et.SELECT_TEXT: {
|
20271
20295
|
const { value: B, props: q } = T.data[j], { isCreatable: W = !0 } = q;
|
20272
20296
|
return /* @__PURE__ */ t.jsx("div", { className: "w-100 h-100 flex top dc__align-self-start", children: /* @__PURE__ */ t.jsx(
|
20273
20297
|
PT,
|
@@ -20295,7 +20319,7 @@ const Yy = ({
|
|
20295
20319
|
}
|
20296
20320
|
) });
|
20297
20321
|
}
|
20298
|
-
case
|
20322
|
+
case et.BUTTON:
|
20299
20323
|
return /* @__PURE__ */ t.jsx("div", { className: "w-100 h-100 flex top", children: /* @__PURE__ */ t.jsx(
|
20300
20324
|
Et,
|
20301
20325
|
{
|
@@ -20314,7 +20338,7 @@ const Yy = ({
|
|
20314
20338
|
)
|
20315
20339
|
}
|
20316
20340
|
) });
|
20317
|
-
case
|
20341
|
+
case et.FILE_UPLOAD:
|
20318
20342
|
return /* @__PURE__ */ t.jsx(
|
20319
20343
|
"div",
|
20320
20344
|
{
|
@@ -20353,7 +20377,7 @@ const Yy = ({
|
|
20353
20377
|
return M?.[j]?.(T) ? /* @__PURE__ */ t.jsx(
|
20354
20378
|
"div",
|
20355
20379
|
{
|
20356
|
-
className: `flex h-100 dc__align-self-start ${T.data[j].type !==
|
20380
|
+
className: `flex h-100 dc__align-self-start ${T.data[j].type !== et.TEXT ? `py-8 ${w ? "pl-8" : "pr-8"}` : ""}`,
|
20357
20381
|
children: M[j](T)
|
20358
20382
|
}
|
20359
20383
|
) : null;
|
@@ -20361,7 +20385,7 @@ const Yy = ({
|
|
20361
20385
|
/* @__PURE__ */ t.jsx(H, { name: "ic-close-small", color: "R500" }),
|
20362
20386
|
/* @__PURE__ */ t.jsx("p", { className: "fs-12 lh-16 cn-7 m-0", children: T })
|
20363
20387
|
] }, T), v = (T, j) => {
|
20364
|
-
const { isValid: w, errorMessages: M } = !T.data[j].disabled && r[T.id]?.[j] ? r[T.id][j] : { isValid: !0, errorMessages: [] }, D = T.data[j].type ===
|
20388
|
+
const { isValid: w, errorMessages: M } = !T.data[j].disabled && r[T.id]?.[j] ? r[T.id][j] : { isValid: !0, errorMessages: [] }, D = T.data[j].type === et.SELECT_TEXT || T.data[j].type === et.DROPDOWN;
|
20365
20389
|
return w ? null : /* @__PURE__ */ t.jsx(
|
20366
20390
|
"div",
|
20367
20391
|
{
|
@@ -20531,7 +20555,7 @@ const Yy = ({
|
|
20531
20555
|
onChange: R,
|
20532
20556
|
onBlur: b,
|
20533
20557
|
onKeyDown: v,
|
20534
|
-
className: `${
|
20558
|
+
className: `${ls[u]} ${Wu[u]} ${Wr({ borderConfig: E, borderRadiusConfig: p })} w-100 dc__overflow-auto textarea`,
|
20535
20559
|
ref: N,
|
20536
20560
|
style: {
|
20537
20561
|
// No max height when user is expanding
|
@@ -21932,12 +21956,12 @@ const Rj = async (e, s) => {
|
|
21932
21956
|
)
|
21933
21957
|
] }), Pj = ({ serverInfo: e, fetchingServerInfo: s, onClick: n }) => {
|
21934
21958
|
const [a, r] = O(!1), { handleOpenLicenseInfoDialog: o, licenseData: i, setGettingStartedClicked: c, isEnterprise: l, setSidePanelConfig: d } = nn(), u = U(null), m = `UheGN3KJ#source=${window.location.hostname}`, p = (_) => {
|
21935
|
-
|
21959
|
+
rs.event({
|
21936
21960
|
category: "Help Nav",
|
21937
21961
|
action: `${_.label} Clicked`
|
21938
21962
|
});
|
21939
21963
|
}, f = () => {
|
21940
|
-
|
21964
|
+
rs.event({
|
21941
21965
|
category: "help-nav__about-devtron",
|
21942
21966
|
action: "ABOUT_DEVTRON_CLICKED"
|
21943
21967
|
}), o();
|
@@ -22027,7 +22051,7 @@ const Rj = async (e, s) => {
|
|
22027
22051
|
FEATURE_PROMO_EMBEDDED_MODAL_TITLE: a,
|
22028
22052
|
FEATURE_PROMO_EMBEDDED_IFRAME_URL: r
|
22029
22053
|
} = window._env_, o = Be(() => {
|
22030
|
-
s(!0),
|
22054
|
+
s(!0), rs.event({
|
22031
22055
|
category: "PRIMARY_HEADER",
|
22032
22056
|
action: "HEADER_IFRAME_BUTTON_CLICKED"
|
22033
22057
|
});
|
@@ -22200,7 +22224,7 @@ const Rj = async (e, s) => {
|
|
22200
22224
|
}, M = () => {
|
22201
22225
|
w(), Ei("clickedOkay", 1), j();
|
22202
22226
|
}, D = async () => {
|
22203
|
-
!window._env_.K8S_CLIENT && R.serverInfo?.installationType !== Ui.ENTERPRISE && await T(), Ei("clickedOkay", 1), j(), await gi(Yo.HELP),
|
22227
|
+
!window._env_.K8S_CLIENT && R.serverInfo?.installationType !== Ui.ENTERPRISE && await T(), Ei("clickedOkay", 1), j(), await gi(Yo.HELP), rs.event({
|
22204
22228
|
category: "Main Navigation",
|
22205
22229
|
action: "Help Clicked"
|
22206
22230
|
});
|
@@ -22505,7 +22529,7 @@ const Fj = (e) => [
|
|
22505
22529
|
className: "commit-hash commit-hash--docker dc__gap-8",
|
22506
22530
|
"data-testid": "cd-trigger-modal-image-value",
|
22507
22531
|
children: [
|
22508
|
-
/* @__PURE__ */ t.jsx(
|
22532
|
+
/* @__PURE__ */ t.jsx(ns, { registryType: n }),
|
22509
22533
|
a
|
22510
22534
|
]
|
22511
22535
|
}
|
@@ -22776,12 +22800,12 @@ const Wj = ({
|
|
22776
22800
|
id: Gt(),
|
22777
22801
|
data: {
|
22778
22802
|
key: {
|
22779
|
-
type:
|
22803
|
+
type: et.TEXT,
|
22780
22804
|
props: { placeholder: e.key },
|
22781
22805
|
value: ""
|
22782
22806
|
},
|
22783
22807
|
value: {
|
22784
|
-
type:
|
22808
|
+
type: et.TEXT,
|
22785
22809
|
props: { placeholder: e.value },
|
22786
22810
|
value: ""
|
22787
22811
|
}
|
@@ -22796,13 +22820,13 @@ const Wj = ({
|
|
22796
22820
|
data: {
|
22797
22821
|
key: {
|
22798
22822
|
...o,
|
22799
|
-
type:
|
22823
|
+
type: et.TEXT,
|
22800
22824
|
value: a && n.key ? fn : o.value,
|
22801
22825
|
props: { placeholder: s.key }
|
22802
22826
|
},
|
22803
22827
|
value: {
|
22804
22828
|
...i,
|
22805
|
-
type:
|
22829
|
+
type: et.TEXT,
|
22806
22830
|
value: a && n.value ? fn : i.value,
|
22807
22831
|
props: { placeholder: s.value }
|
22808
22832
|
}
|
@@ -24639,7 +24663,7 @@ const kO = ({
|
|
24639
24663
|
P(() => {
|
24640
24664
|
A.current?.focus();
|
24641
24665
|
}, [He]);
|
24642
|
-
const
|
24666
|
+
const os = N === Ci.PAGINATED && se?.length > Zs, $ = () => h && !p.length ? Ha.map((G) => /* @__PURE__ */ t.jsxs(
|
24643
24667
|
"div",
|
24644
24668
|
{
|
24645
24669
|
className: `px-20 flexbox py-12 dc__gap-16 ${b ? "border__secondary--bottom" : ""}`,
|
@@ -24722,7 +24746,7 @@ const kO = ({
|
|
24722
24746
|
},
|
24723
24747
|
children: p.map(({ label: G, field: pe, isSortable: Re, size: mt, showTippyOnTruncate: Vs }) => {
|
24724
24748
|
const on = !!mt.range;
|
24725
|
-
return pe === Ni ? /* @__PURE__ */ t.jsx(oy, { showPagination:
|
24749
|
+
return pe === Ni ? /* @__PURE__ */ t.jsx(oy, { showPagination: os }, pe) : /* @__PURE__ */ t.jsx(
|
24726
24750
|
zr,
|
24727
24751
|
{
|
24728
24752
|
title: G,
|
@@ -24757,7 +24781,7 @@ const kO = ({
|
|
24757
24781
|
}
|
24758
24782
|
)
|
24759
24783
|
] }),
|
24760
|
-
|
24784
|
+
os && /* @__PURE__ */ t.jsx(
|
24761
24785
|
wO,
|
24762
24786
|
{
|
24763
24787
|
pageSize: w,
|
@@ -24901,14 +24925,14 @@ const kO = ({
|
|
24901
24925
|
data: {
|
24902
24926
|
tagKey: {
|
24903
24927
|
value: "",
|
24904
|
-
type:
|
24928
|
+
type: et.TEXT,
|
24905
24929
|
props: {
|
24906
24930
|
placeholder: "Eg. owner-name"
|
24907
24931
|
}
|
24908
24932
|
},
|
24909
24933
|
tagValue: {
|
24910
24934
|
value: "",
|
24911
|
-
type:
|
24935
|
+
type: et.TEXT,
|
24912
24936
|
props: {
|
24913
24937
|
placeholder: "Enter value"
|
24914
24938
|
}
|
@@ -24929,7 +24953,7 @@ const kO = ({
|
|
24929
24953
|
setTagErrors: c
|
24930
24954
|
}) => {
|
24931
24955
|
const l = (f) => {
|
24932
|
-
|
24956
|
+
rs.event({
|
24933
24957
|
category: "Tags",
|
24934
24958
|
action: `${e.toUpperCase()}_PROPAGATE_TAG_BUTTON_CLICKED`
|
24935
24959
|
});
|
@@ -24954,7 +24978,7 @@ const kO = ({
|
|
24954
24978
|
}
|
24955
24979
|
) });
|
24956
24980
|
}, u = () => {
|
24957
|
-
|
24981
|
+
rs.event({
|
24958
24982
|
category: "Tags",
|
24959
24983
|
action: `${e.toUpperCase()}_ADD_TAG_BUTTON_CLICKED`
|
24960
24984
|
});
|
@@ -25393,7 +25417,7 @@ const kO = ({
|
|
25393
25417
|
function we(e, s = !0, n = !1) {
|
25394
25418
|
e instanceof $t && Array.isArray(e.errors) ? e.errors.map(({ userMessage: a, internalMessage: r }) => {
|
25395
25419
|
const o = a?.toLowerCase();
|
25396
|
-
e.code === 403 && (o ===
|
25420
|
+
e.code === 403 && (o === st.UNAUTHORIZED.toLowerCase() || o === st.FORBIDDEN.toLowerCase()) ? n || Me.showToast({
|
25397
25421
|
variant: Ce.notAuthorized,
|
25398
25422
|
description: JN.SUBTITLE
|
25399
25423
|
}) : Me.showToast({
|
@@ -26526,8 +26550,8 @@ const jL = ({ subtitle: e, title: s }) => /* @__PURE__ */ t.jsx(
|
|
26526
26550
|
Je,
|
26527
26551
|
{
|
26528
26552
|
image: Vo,
|
26529
|
-
title: s ??
|
26530
|
-
subTitle: e ??
|
26553
|
+
title: s ?? st.NOT_AUTHORIZED,
|
26554
|
+
subTitle: e ?? st.ONLY_FOR_SUPERADMIN
|
26531
26555
|
}
|
26532
26556
|
), OL = `
|
26533
26557
|
<br>
|
@@ -27054,7 +27078,7 @@ const s_ = ({
|
|
27054
27078
|
$.target.value && re($.target.value), Ee($.target.value);
|
27055
27079
|
}, ut = ($) => {
|
27056
27080
|
Se($), te.trim() && _e(te.trim());
|
27057
|
-
},
|
27081
|
+
}, os = () => {
|
27058
27082
|
let $ = j;
|
27059
27083
|
te.trim() && ($ = _e(te)), xe($);
|
27060
27084
|
};
|
@@ -27153,7 +27177,7 @@ const s_ = ({
|
|
27153
27177
|
"data-testid": "save-tags-button",
|
27154
27178
|
type: "button",
|
27155
27179
|
onClick: ($) => {
|
27156
|
-
Se($),
|
27180
|
+
Se($), os();
|
27157
27181
|
},
|
27158
27182
|
disabled: ve,
|
27159
27183
|
children: ve ? /* @__PURE__ */ t.jsx(Ze, {}) : "Save"
|
@@ -27954,7 +27978,7 @@ export {
|
|
27954
27978
|
bU as at,
|
27955
27979
|
ze as au,
|
27956
27980
|
JN as av,
|
27957
|
-
|
27981
|
+
st as aw,
|
27958
27982
|
ZN as ax,
|
27959
27983
|
TU as ay,
|
27960
27984
|
SU as az,
|
@@ -28182,7 +28206,7 @@ export {
|
|
28182
28206
|
eF as eP,
|
28183
28207
|
nF as eQ,
|
28184
28208
|
dS as eR,
|
28185
|
-
|
28209
|
+
is as eS,
|
28186
28210
|
Z$ as eT,
|
28187
28211
|
Q$ as eU,
|
28188
28212
|
uS as eV,
|
@@ -28372,7 +28396,7 @@ export {
|
|
28372
28396
|
Ta as hK,
|
28373
28397
|
Mv as hL,
|
28374
28398
|
yp as hM,
|
28375
|
-
|
28399
|
+
et as hN,
|
28376
28400
|
bB as hO,
|
28377
28401
|
TB as hP,
|
28378
28402
|
SB as hQ,
|
@@ -28482,7 +28506,7 @@ export {
|
|
28482
28506
|
XF as j2,
|
28483
28507
|
JF as j3,
|
28484
28508
|
QF as j4,
|
28485
|
-
|
28509
|
+
ns as j5,
|
28486
28510
|
mc as j6,
|
28487
28511
|
Np as j7,
|
28488
28512
|
dB as j8,
|
@@ -28551,7 +28575,7 @@ export {
|
|
28551
28575
|
Wo as k6,
|
28552
28576
|
RC as k7,
|
28553
28577
|
MU as k8,
|
28554
|
-
|
28578
|
+
tt as k9,
|
28555
28579
|
MC as kA,
|
28556
28580
|
kC as kB,
|
28557
28581
|
HU as kC,
|
@@ -28589,7 +28613,7 @@ export {
|
|
28589
28613
|
OC as kh,
|
28590
28614
|
Wc as ki,
|
28591
28615
|
L as kj,
|
28592
|
-
|
28616
|
+
ls as kk,
|
28593
28617
|
Wu as kl,
|
28594
28618
|
zu as km,
|
28595
28619
|
qu as kn,
|
@@ -28726,7 +28750,7 @@ export {
|
|
28726
28750
|
cC as mo,
|
28727
28751
|
de as mp,
|
28728
28752
|
ht as mq,
|
28729
|
-
|
28753
|
+
Qe as mr,
|
28730
28754
|
$i as ms,
|
28731
28755
|
dn as mt,
|
28732
28756
|
lC as mu,
|