@devtron-labs/devtron-fe-common-lib 1.8.2-beta-6 → 1.8.2-beta-7
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-hufLMePq.js → @code-editor-DqWQpyrB.js} +586 -573
- package/dist/{@common-rjsf-8glbE4nj.js → @common-rjsf-09vSamcu.js} +2 -2
- package/dist/{@framer-motion-C9i0O6dh.js → @framer-motion-BCnBBNCY.js} +1 -1
- package/dist/{@react-dates-DEMedmhG.js → @react-dates-B3W7S3ht.js} +20 -20
- package/dist/{@react-select-DD4GMsWv.js → @react-select-DSiYA_G3.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-BlYAzsAg.js → @react-virtualized-sticky-tree-DIgmxudW.js} +1 -1
- package/dist/{@vendor-CIA81cZg.js → @vendor-C7-HiwfO.js} +3676 -3715
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -5
- package/dist/Shared/Components/ImageWithFallback/types.d.ts +1 -1
- package/dist/Shared/Components/InfoBlock/types.d.ts +1 -1
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -4,16 +4,16 @@ var Ei = (e) => {
|
|
|
4
4
|
};
|
|
5
5
|
var dm = (e, s, n) => s in e ? cm(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
|
|
6
6
|
var ue = (e, s, n) => dm(e, typeof s != "symbol" ? s + "" : s, n), xi = (e, s, n) => s.has(e) || Ei("Cannot " + n);
|
|
7
|
-
var
|
|
8
|
-
import { j as t, i as ce, n as um, Q as Ar, k as mm, D as Ra, d as ic, h as pm, A as _m, R as fm, s as hm, f as lc, c as gm, a as cc, u as dc, J as Em, b as xm, e as Nm, _ as Cm, m as
|
|
9
|
-
import ge, { useState as y, cloneElement as ya, useRef as q, useEffect as U, Component as sr, Children as Ni, createElement as Io, useMemo as J, useCallback as Ke, createContext as $t, useContext as
|
|
7
|
+
var Rs = (e, s, n) => (xi(e, s, "read from private field"), n ? n.call(e) : s.get(e)), oa = (e, s, n) => s.has(e) ? Ei("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), ia = (e, s, n, a) => (xi(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
|
|
8
|
+
import { j as t, i as ce, n as um, Q as Ar, k as mm, D as Ra, d as ic, h as pm, A as _m, R as fm, s as hm, f as lc, c as gm, a as cc, u as dc, J as Em, b as xm, e as Nm, _ as Cm, m as Os } from "./@vendor-C7-HiwfO.js";
|
|
9
|
+
import ge, { useState as y, cloneElement as ya, useRef as q, useEffect as U, Component as sr, Children as Ni, createElement as Io, useMemo as J, useCallback as Ke, createContext as $t, useContext as Ts, Fragment as Us, memo as mt, createRef as ls, useReducer as bm } from "react";
|
|
10
10
|
import { ReactComponent as Gn } from "./assets/ic-warning.ecf7ff97.svg";
|
|
11
11
|
import { ReactComponent as Tm } from "./assets/ic-cpu.8be677ee.svg";
|
|
12
12
|
import { ReactComponent as Sm } from "./assets/ic-memory.c4159f96.svg";
|
|
13
13
|
import { ReactComponent as Ro } from "./assets/ic-timer.b62145ec.svg";
|
|
14
14
|
import { ReactComponent as vm } from "./assets/ic-spray-can.955302fc.svg";
|
|
15
15
|
import { ReactComponent as nr } from "./assets/ic-tag.1613fc59.svg";
|
|
16
|
-
import { Link as
|
|
16
|
+
import { Link as Ss, useLocation as vs, useHistory as Gs, NavLink as ut, useParams as xt, useRouteMatch as Kt, generatePath as Ps, Switch as uc, Route as ws, Redirect as Am, Prompt as Im } from "react-router-dom";
|
|
17
17
|
import { ReactComponent as Rm } from "./assets/ic-delete-interactive.304dd293.svg";
|
|
18
18
|
import wt, { parse as ym } from "yaml";
|
|
19
19
|
import { ReactComponent as jm } from "./assets/ic-info-filled-override.99e8094a.svg";
|
|
@@ -31,7 +31,7 @@ import { ReactComponent as Mm } from "./assets/ic-bot.f1d4abcc.svg";
|
|
|
31
31
|
import { ReactComponent as pc } from "./assets/ic-vulnerability-not-found.7d75cc30.svg";
|
|
32
32
|
import { ReactComponent as Um } from "./assets/ic-shield-warning-outline.e6832dbc.svg";
|
|
33
33
|
import { ReactComponent as Bm } from "./assets/ic-shield-check.ecde083d.svg";
|
|
34
|
-
import { ReactComponent as
|
|
34
|
+
import { ReactComponent as As } from "./assets/ic-error-exclamation.c224de09.svg";
|
|
35
35
|
import { ReactComponent as _c } from "./assets/ic-caret-down-small.66339dda.svg";
|
|
36
36
|
import { ReactComponent as $m } from "./assets/ic-caret-left-small.fe00c98d.svg";
|
|
37
37
|
import { ReactComponent as Oo } from "./assets/ic-clock.c21a2d14.svg";
|
|
@@ -55,9 +55,9 @@ import { ReactComponent as Xm } from "./assets/ic-feedback.d32fa6b0.svg";
|
|
|
55
55
|
import { ReactComponent as Jm } from "./assets/ic-discord-fill.1a1b291d.svg";
|
|
56
56
|
import { ReactComponent as gc } from "./assets/ic-file-text.f9563710.svg";
|
|
57
57
|
import { ReactComponent as un } from "./assets/ic-help-outline.9c012a0c.svg";
|
|
58
|
-
import
|
|
58
|
+
import Bs from "dompurify";
|
|
59
59
|
import { ReactComponent as Zm } from "./assets/ic-megaphone.b9f9a901.svg";
|
|
60
|
-
import wo, { components as
|
|
60
|
+
import wo, { components as Be } from "react-select";
|
|
61
61
|
import { ReactComponent as Ec } from "./assets/ic-arrow-square-out.3d1a0d41.svg";
|
|
62
62
|
import { h as Le } from "./@moment-C_WeV3Af.js";
|
|
63
63
|
import { ReactComponent as Qm } from "./assets/ic-arrow-backward.d951202a.svg";
|
|
@@ -72,8 +72,8 @@ import { ReactComponent as tp } from "./assets/ic-visibility-on.7505dd12.svg";
|
|
|
72
72
|
import { ReactComponent as sp } from "./assets/ic-visibility-off.d91d3844.svg";
|
|
73
73
|
import { ReactComponent as np } from "./assets/ic-expand-all.d1d223f2.svg";
|
|
74
74
|
import { ReactComponent as ap } from "./assets/ic-collapse-all.56740920.svg";
|
|
75
|
-
import { ReactComponent as
|
|
76
|
-
import { ReactComponent as
|
|
75
|
+
import { ReactComponent as $s } from "./assets/ic-caret-down.1666c029.svg";
|
|
76
|
+
import { ReactComponent as gs } from "./assets/ic-info-filled.f870ac11.svg";
|
|
77
77
|
import { ReactComponent as mn } from "./assets/ic-help.39c58c34.svg";
|
|
78
78
|
import { ReactComponent as Tc } from "./assets/ic-arrow-out.6aea09d0.svg";
|
|
79
79
|
import { ReactComponent as Sc } from "./assets/ic-arrow-forward.a2b8ab45.svg";
|
|
@@ -95,13 +95,13 @@ import { ReactComponent as _p } from "./assets/ic-diff-file-updated.a8293158.svg
|
|
|
95
95
|
import { ReactComponent as fp } from "./assets/ic-diff-file-added.e111ba14.svg";
|
|
96
96
|
import { ReactComponent as hp } from "./assets/ic-diff-file-removed.7863a55f.svg";
|
|
97
97
|
import { ReactComponent as wn } from "./assets/ic-info-outlined.f4fa3224.svg";
|
|
98
|
-
import { m as rn, A as Rc } from "./@framer-motion-
|
|
98
|
+
import { m as rn, A as Rc } from "./@framer-motion-BCnBBNCY.js";
|
|
99
99
|
import { ReactComponent as lr } from "./assets/ic-sort-arrow-down.5cf54d08.svg";
|
|
100
100
|
import { ReactComponent as yc } from "./assets/ic-arrow-up-down.945ee496.svg";
|
|
101
101
|
import { ReactComponent as cr } from "./assets/ic-check.27c51fa1.svg";
|
|
102
102
|
import { ReactComponent as gp } from "./assets/ic-check-circle-dots.296c8a3b.svg";
|
|
103
103
|
import { ReactComponent as dr } from "./assets/ic-view-variable-toggle.93c3599f.svg";
|
|
104
|
-
import { r as jc, C as Ep, a as xp } from "./@react-dates-
|
|
104
|
+
import { r as jc, C as Ep, a as xp } from "./@react-dates-B3W7S3ht.js";
|
|
105
105
|
import Np from "./assets/ic-calender-blank.963e3423.svg";
|
|
106
106
|
import { ReactComponent as Cp } from "./assets/ic-arrow-down.18e5e332.svg";
|
|
107
107
|
import { ReactComponent as Ci } from "./assets/ic-circle.98fce2b0.svg";
|
|
@@ -153,12 +153,12 @@ import n_ from "./assets/ic-source-linked-build.f24ecbed.svg";
|
|
|
153
153
|
import a_ from "./assets/ic-source-build.7d776b10.svg";
|
|
154
154
|
import r_ from "./assets/ic-source-webhook.ee64a29a.svg";
|
|
155
155
|
import o_ from "./assets/ic-source-job.a40f06cf.svg";
|
|
156
|
-
import { A as i_ } from "./@react-virtualized-sticky-tree-
|
|
156
|
+
import { A as i_ } from "./@react-virtualized-sticky-tree-DIgmxudW.js";
|
|
157
157
|
import { ReactComponent as l_ } from "./assets/ic-medium-info.b59d7676.svg";
|
|
158
158
|
import { ReactComponent as c_ } from "./assets/delete-medium.897114e0.svg";
|
|
159
159
|
import { deepEquals as Pc } from "@rjsf/utils";
|
|
160
160
|
import { ReactComponent as d_ } from "./assets/ic-rotate-devtron.5a8363d8.svg";
|
|
161
|
-
import { C as u_ } from "./@react-select-
|
|
161
|
+
import { C as u_ } from "./@react-select-DSiYA_G3.js";
|
|
162
162
|
import { ReactComponent as kc } from "./assets/ic-open-in-new.6aea09d0.svg";
|
|
163
163
|
import { ReactComponent as m_ } from "./assets/ic-aborted.d162b12b.svg";
|
|
164
164
|
import { ReactComponent as p_ } from "./assets/ic-app-group.892e71ff.svg";
|
|
@@ -397,7 +397,7 @@ const jf = {
|
|
|
397
397
|
CHART_PULL: "CHART_PULL",
|
|
398
398
|
CHART_PUSH: "CHART_PUSH"
|
|
399
399
|
};
|
|
400
|
-
var
|
|
400
|
+
var Es = /* @__PURE__ */ ((e) => (e.YAML = "yaml", e.JSON = "json", e.SHELL = "shell", e.DOCKERFILE = "dockerfile", e.PLAINTEXT = "plaintext", e))(Es || {}), Of = /* @__PURE__ */ ((e) => (e.CONFIG = "CONFIG", e.DEPLOYMENT = "DEPLOYMENT", e.IMAGE_PROMOTION = "IMAGE-PROMOTION", e))(Of || {});
|
|
401
401
|
const Lf = 2147483647, Fy = {
|
|
402
402
|
APPROVAL: "approval",
|
|
403
403
|
PENDING: "pending"
|
|
@@ -470,7 +470,7 @@ const Zr = {
|
|
|
470
470
|
low: 4,
|
|
471
471
|
unknown: 5
|
|
472
472
|
}, Qr = window.navigator.userAgent.toUpperCase().includes("MAC");
|
|
473
|
-
var
|
|
473
|
+
var dt = /* @__PURE__ */ ((e) => (e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.AZURE = "azure", e.GITEA = "gitea", e.GIT = "git", e))(dt || {});
|
|
474
474
|
const Wy = (e) => JSON.stringify(JSON.parse(e ?? "{}"), null, 2), Hc = Symbol(
|
|
475
475
|
`The element at this index remains unchanged from the original object.
|
|
476
476
|
This symbol is used by @buildObjectFromPath & later consumed by @recursivelyRemoveSymbolFromArraysInObject`
|
|
@@ -499,7 +499,7 @@ const Sn = {
|
|
|
499
499
|
Security: "SECURITY",
|
|
500
500
|
Changes: "CHANGES"
|
|
501
501
|
};
|
|
502
|
-
var Ot = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(Ot || {}), Yc = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(Yc || {}), Bf = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(Bf || {}), $f = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))($f || {}), jn = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(jn || {}), Ff = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Ff || {}), Vf = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(Vf || {}), eo = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(eo || {}), Gf = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))(Gf || {}), Kc = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Kc || {}), Hf = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(Hf || {}), Zs = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(Zs || {}), Yf = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Yf || {}),
|
|
502
|
+
var Ot = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(Ot || {}), Yc = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(Yc || {}), Bf = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(Bf || {}), $f = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))($f || {}), jn = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(jn || {}), Ff = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Ff || {}), Vf = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(Vf || {}), eo = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(eo || {}), Gf = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))(Gf || {}), Kc = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Kc || {}), Hf = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(Hf || {}), Zs = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(Zs || {}), Yf = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Yf || {}), ks = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(ks || {}), us = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(us || {}), Pn = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Pn || {}), to = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(to || {});
|
|
503
503
|
const Ri = {
|
|
504
504
|
100: "Continue",
|
|
505
505
|
101: "Switching Protocols",
|
|
@@ -688,7 +688,7 @@ const qy = [
|
|
|
688
688
|
/* YAML */
|
|
689
689
|
}
|
|
690
690
|
];
|
|
691
|
-
var sh = /* @__PURE__ */ ((e) => (e.KEY = "key", e.VALUE = "value", e))(sh || {}), nh = /* @__PURE__ */ ((e) => (e.DEVTRON_APPS = "devtron-app", e.HELM_APPS = "helm-app", e.JOBS = "", e))(nh || {}), ah = /* @__PURE__ */ ((e) => (e.CHART_GROUP = "chart-group", e.DIRECT = "apps", e.JOB = "jobs", e.DOCKER = "docker", e.GIT = "git", e.CLUSTER = "cluster", e.NOTIFICATION = "notification", e))(ah || {}),
|
|
691
|
+
var sh = /* @__PURE__ */ ((e) => (e.KEY = "key", e.VALUE = "value", e))(sh || {}), nh = /* @__PURE__ */ ((e) => (e.DEVTRON_APPS = "devtron-app", e.HELM_APPS = "helm-app", e.JOBS = "", e))(nh || {}), ah = /* @__PURE__ */ ((e) => (e.CHART_GROUP = "chart-group", e.DIRECT = "apps", e.JOB = "jobs", e.DOCKER = "docker", e.GIT = "git", e.CLUSTER = "cluster", e.NOTIFICATION = "notification", e))(ah || {}), Fs = /* @__PURE__ */ ((e) => (e.STARTING = "Starting", e.RUNNING = "Running", e.PROGRESSING = "Progressing", e.WAITING_TO_START = "WaitingToStart", e.TIMED_OUT = "TimedOut", e.CANCELLED = "CANCELLED", e))(Fs || {}), gt = /* @__PURE__ */ ((e) => (e.EXTERNAL_CI = "EXTERNAL-CI", e.CI = "CI", e.LINKED_CI = "LINKED-CI", e.JOB_CI = "JOB-CI", e.LINKED_CD = "LINKED_CD", e))(gt || {});
|
|
692
692
|
const rh = {
|
|
693
693
|
Auto: "AUTOMATIC",
|
|
694
694
|
Manual: "MANUAL"
|
|
@@ -1024,7 +1024,115 @@ const Zy = Object.values(
|
|
|
1024
1024
|
}, n0 = -1, Oi = "devtron-base-main-identifier", gh = "devtron.ai/", Eh = "You have unsaved changes. Are you sure you want to leave?", a0 = "Please don't wander off! Reloading or going back might disrupt the ongoing operation.", r0 = {
|
|
1025
1025
|
DELETE_ENVIRONMENT_SUBTITLE: "Are you sure you want to delete this environment?",
|
|
1026
1026
|
DELETE_CLUSTER_SUBTITLES: "Are you sure you want to delete this cluster?"
|
|
1027
|
-
},
|
|
1027
|
+
}, xh = {
|
|
1028
|
+
Control: "Ctrl",
|
|
1029
|
+
Shift: "⇧",
|
|
1030
|
+
Meta: Qr ? "⌘" : "Win",
|
|
1031
|
+
Alt: Qr ? "⌥" : "Alt",
|
|
1032
|
+
F: "F",
|
|
1033
|
+
E: "E",
|
|
1034
|
+
R: "R",
|
|
1035
|
+
K: "K",
|
|
1036
|
+
Escape: "Esc",
|
|
1037
|
+
Enter: "↩"
|
|
1038
|
+
}, Nh = ({ text: e, combo: s }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 px-8 py-4 flex-wrap", children: [
|
|
1039
|
+
/* @__PURE__ */ t.jsx("span", { className: "lh-18 fs-12 fw-4 text__white", children: e }),
|
|
1040
|
+
!!s?.length && /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__gap-4 dc__align-items-center flex-wrap", children: s.map((n) => /* @__PURE__ */ t.jsx("span", { className: "shortcut-keys__chip dc__capitalize lh-16 fs-11 fw-5 flex", children: xh[n] }, n)) })
|
|
1041
|
+
] }), ne = ({
|
|
1042
|
+
shortcutKeyCombo: e,
|
|
1043
|
+
alwaysShowTippyOnHover: s,
|
|
1044
|
+
// NOTE: if alwaysShowTippyOnHover or shortcutKeyCombo are being passed by user don't apply truncation logic at all
|
|
1045
|
+
showOnTruncate: n = s === void 0 && e === void 0,
|
|
1046
|
+
wordBreak: a = !0,
|
|
1047
|
+
children: r,
|
|
1048
|
+
...o
|
|
1049
|
+
}) => {
|
|
1050
|
+
const [i, l] = y(!1), c = (m) => {
|
|
1051
|
+
const { currentTarget: p } = m, _ = p.scrollWidth > p.clientWidth || p.scrollHeight > p.clientHeight;
|
|
1052
|
+
_ && !i ? l(!0) : !_ && i && l(!1);
|
|
1053
|
+
};
|
|
1054
|
+
return n && i || !!e && (s === void 0 || s) || s ? /* @__PURE__ */ t.jsx(
|
|
1055
|
+
ce,
|
|
1056
|
+
{
|
|
1057
|
+
arrow: !1,
|
|
1058
|
+
placement: "top",
|
|
1059
|
+
maxWidth: "",
|
|
1060
|
+
...o,
|
|
1061
|
+
...e ? { content: /* @__PURE__ */ t.jsx(Nh, { ...e }) } : {},
|
|
1062
|
+
className: `${e ? "shortcut-keys__tippy" : "default-tt"} ${a ? "dc__word-break" : ""} dc__mxw-200 ${o.className ?? ""}`,
|
|
1063
|
+
children: ya(r, { ...r.props, onMouseEnter: c })
|
|
1064
|
+
}
|
|
1065
|
+
) : ya(r, { ...r.props, onMouseEnter: c });
|
|
1066
|
+
}, o0 = {
|
|
1067
|
+
INVALID_INPUT: "Valid input is required for all mandatory fields."
|
|
1068
|
+
}, Ch = (e) => (s) => /* @__PURE__ */ t.jsx(ne, { ...e, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: s }) }), bh = ({ name: e, iconMap: s, size: n = 16, tooltipProps: a, color: r, strokeWidth: o }) => {
|
|
1069
|
+
const i = s[e];
|
|
1070
|
+
if (!i)
|
|
1071
|
+
throw new Error(`Icon with name "${e}" does not exist.`);
|
|
1072
|
+
return /* @__PURE__ */ t.jsx(ct, { condition: !!a?.content, wrap: Ch(a), children: /* @__PURE__ */ t.jsx(
|
|
1073
|
+
i,
|
|
1074
|
+
{
|
|
1075
|
+
className: `icon-dim-${n} ${r ? "icon-component" : ""} dc__no-shrink`,
|
|
1076
|
+
style: r ? { "--iconColor": `var(--${r})` } : {},
|
|
1077
|
+
strokeWidth: o
|
|
1078
|
+
}
|
|
1079
|
+
) });
|
|
1080
|
+
}, Th = {
|
|
1081
|
+
"ic-aborted": m_,
|
|
1082
|
+
"ic-app-group": p_,
|
|
1083
|
+
"ic-azure": __,
|
|
1084
|
+
"ic-bitbucket": Mc,
|
|
1085
|
+
"ic-browser": f_,
|
|
1086
|
+
"ic-build-color": h_,
|
|
1087
|
+
"ic-cancelled": g_,
|
|
1088
|
+
"ic-cd": E_,
|
|
1089
|
+
"ic-ci-linked": x_,
|
|
1090
|
+
"ic-ci-webhook": N_,
|
|
1091
|
+
"ic-circle-loader": C_,
|
|
1092
|
+
"ic-clock": b_,
|
|
1093
|
+
"ic-close-small": T_,
|
|
1094
|
+
"ic-code": S_,
|
|
1095
|
+
"ic-container": v_,
|
|
1096
|
+
"ic-cube": A_,
|
|
1097
|
+
"ic-dockerhub": I_,
|
|
1098
|
+
"ic-ecr": R_,
|
|
1099
|
+
"ic-env": y_,
|
|
1100
|
+
"ic-error": j_,
|
|
1101
|
+
"ic-failure": O_,
|
|
1102
|
+
"ic-gear": L_,
|
|
1103
|
+
"ic-git": w_,
|
|
1104
|
+
"ic-github": D_,
|
|
1105
|
+
"ic-gitlab": Uc,
|
|
1106
|
+
"ic-google-artifact-registry": P_,
|
|
1107
|
+
"ic-google-container-registry": k_,
|
|
1108
|
+
"ic-grid-view": M_,
|
|
1109
|
+
"ic-heart-green": U_,
|
|
1110
|
+
"ic-heart-red-animated": B_,
|
|
1111
|
+
"ic-heart-red": $_,
|
|
1112
|
+
"ic-helm": F_,
|
|
1113
|
+
"ic-help-outline": V_,
|
|
1114
|
+
"ic-hibernate": G_,
|
|
1115
|
+
"ic-in-progress": H_,
|
|
1116
|
+
"ic-info-filled": Y_,
|
|
1117
|
+
"ic-info-outline": K_,
|
|
1118
|
+
"ic-job-color": W_,
|
|
1119
|
+
"ic-k8s-job": z_,
|
|
1120
|
+
"ic-missing": q_,
|
|
1121
|
+
"ic-monitoring": X_,
|
|
1122
|
+
"ic-node-script": J_,
|
|
1123
|
+
"ic-open-box": Z_,
|
|
1124
|
+
"ic-open-in-new": kc,
|
|
1125
|
+
"ic-out-of-sync": Q_,
|
|
1126
|
+
"ic-paper-plane-color": ef,
|
|
1127
|
+
"ic-quay": tf,
|
|
1128
|
+
"ic-shield-check": sf,
|
|
1129
|
+
"ic-stack": nf,
|
|
1130
|
+
"ic-success": af,
|
|
1131
|
+
"ic-suspended": rf,
|
|
1132
|
+
"ic-timeout-two-dash": of,
|
|
1133
|
+
"ic-unknown": lf,
|
|
1134
|
+
"ic-warning": cf
|
|
1135
|
+
}, it = (e) => /* @__PURE__ */ t.jsx(bh, { ...e, iconMap: Th }), $e = ({ pageLoader: e, size: s, theme: n, styles: a, fillColor: r }) => {
|
|
1028
1136
|
const o = s ? `${s}px` : e ? "48px" : "20px";
|
|
1029
1137
|
return /* @__PURE__ */ t.jsx("div", { className: `loader ${n || "default"}-background`, style: a, "data-testid": "progressing", children: /* @__PURE__ */ t.jsx("div", { style: { width: o, height: o }, children: /* @__PURE__ */ t.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", className: "loader__svg", children: /* @__PURE__ */ t.jsxs("g", { fill: "none", fillRule: "evenodd", strokeLinecap: "round", children: [
|
|
1030
1138
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1048,7 +1156,7 @@ const Zy = Object.values(
|
|
|
1048
1156
|
}
|
|
1049
1157
|
)
|
|
1050
1158
|
] }) }) }) });
|
|
1051
|
-
},
|
|
1159
|
+
}, i0 = ({
|
|
1052
1160
|
loadingText: e,
|
|
1053
1161
|
size: s = 24,
|
|
1054
1162
|
fullHeight: n = !1,
|
|
@@ -1062,62 +1170,21 @@ const Zy = Object.values(
|
|
|
1062
1170
|
style: a,
|
|
1063
1171
|
"data-testid": "details-progressing",
|
|
1064
1172
|
children: [
|
|
1065
|
-
/* @__PURE__ */ t.jsx("span", { style: { width: `${s}px`, height: `${s}px` }, children: /* @__PURE__ */ t.jsx(
|
|
1173
|
+
/* @__PURE__ */ t.jsx("span", { style: { width: `${s}px`, height: `${s}px` }, children: /* @__PURE__ */ t.jsx($e, { size: s, fillColor: r }) }),
|
|
1066
1174
|
e && /* @__PURE__ */ t.jsx("span", { className: "mt-10", children: e }),
|
|
1067
1175
|
o
|
|
1068
1176
|
]
|
|
1069
1177
|
}
|
|
1070
|
-
)
|
|
1071
|
-
Control: "Ctrl",
|
|
1072
|
-
Shift: "⇧",
|
|
1073
|
-
Meta: Qr ? "⌘" : "Win",
|
|
1074
|
-
Alt: Qr ? "⌥" : "Alt",
|
|
1075
|
-
F: "F",
|
|
1076
|
-
E: "E",
|
|
1077
|
-
R: "R",
|
|
1078
|
-
K: "K",
|
|
1079
|
-
Escape: "Esc",
|
|
1080
|
-
Enter: "↩"
|
|
1081
|
-
}, Nh = ({ text: e, combo: s }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 px-8 py-4 flex-wrap", children: [
|
|
1082
|
-
/* @__PURE__ */ t.jsx("span", { className: "lh-18 fs-12 fw-4 text__white", children: e }),
|
|
1083
|
-
!!s?.length && /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__gap-4 dc__align-items-center flex-wrap", children: s.map((n) => /* @__PURE__ */ t.jsx("span", { className: "shortcut-keys__chip dc__capitalize lh-16 fs-11 fw-5 flex", children: xh[n] }, n)) })
|
|
1084
|
-
] }), ne = ({
|
|
1085
|
-
shortcutKeyCombo: e,
|
|
1086
|
-
alwaysShowTippyOnHover: s,
|
|
1087
|
-
// NOTE: if alwaysShowTippyOnHover or shortcutKeyCombo are being passed by user don't apply truncation logic at all
|
|
1088
|
-
showOnTruncate: n = s === void 0 && e === void 0,
|
|
1089
|
-
wordBreak: a = !0,
|
|
1090
|
-
children: r,
|
|
1091
|
-
...o
|
|
1092
|
-
}) => {
|
|
1093
|
-
const [i, l] = y(!1), c = (m) => {
|
|
1094
|
-
const { currentTarget: p } = m, _ = p.scrollWidth > p.clientWidth || p.scrollHeight > p.clientHeight;
|
|
1095
|
-
_ && !i ? l(!0) : !_ && i && l(!1);
|
|
1096
|
-
};
|
|
1097
|
-
return n && i || !!e && (s === void 0 || s) || s ? /* @__PURE__ */ t.jsx(
|
|
1098
|
-
ce,
|
|
1099
|
-
{
|
|
1100
|
-
arrow: !1,
|
|
1101
|
-
placement: "top",
|
|
1102
|
-
maxWidth: "",
|
|
1103
|
-
...o,
|
|
1104
|
-
...e ? { content: /* @__PURE__ */ t.jsx(Nh, { ...e }) } : {},
|
|
1105
|
-
className: `${e ? "shortcut-keys__tippy" : "default-tt"} ${a ? "dc__word-break" : ""} dc__mxw-200 ${o.className ?? ""}`,
|
|
1106
|
-
children: ya(r, { ...r.props, onMouseEnter: c })
|
|
1107
|
-
}
|
|
1108
|
-
) : ya(r, { ...r.props, onMouseEnter: c });
|
|
1109
|
-
}, i0 = {
|
|
1110
|
-
INVALID_INPUT: "Valid input is required for all mandatory fields."
|
|
1111
|
-
};
|
|
1178
|
+
);
|
|
1112
1179
|
var ve = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(ve || {}), ke = /* @__PURE__ */ ((e) => (e.default = "default", e.negative = "negative", e.negativeGrey = "negative-grey", e.positive = "positive", e.warning = "warning", e.neutral = "neutral", e))(ke || {}), Mn = /* @__PURE__ */ ((e) => (e.button = "button", e.link = "link", e))(Mn || {});
|
|
1113
|
-
const
|
|
1180
|
+
const Sh = {
|
|
1114
1181
|
[w.xxs]: `${cs[w.xxs]} px-9 fw-6 dc__gap-6 mw-48`,
|
|
1115
1182
|
[w.xs]: `${cs[w.xs]} px-9 fw-6 dc__gap-6 mw-48`,
|
|
1116
1183
|
[w.small]: `${cs[w.small]} px-9 fw-6 dc__gap-8 mw-48`,
|
|
1117
1184
|
[w.medium]: `${cs[w.medium]} px-11 fw-6 dc__gap-8 mw-48`,
|
|
1118
1185
|
[w.large]: `${cs[w.large]} px-13 fw-6 dc__gap-8 mw-64`,
|
|
1119
1186
|
[w.xl]: `${cs[w.xl]} px-15 fw-6 dc__gap-12 mw-64`
|
|
1120
|
-
},
|
|
1187
|
+
}, vh = {
|
|
1121
1188
|
[w.xxs]: "p-1",
|
|
1122
1189
|
[w.xs]: "p-3",
|
|
1123
1190
|
[w.small]: "p-5",
|
|
@@ -1133,14 +1200,14 @@ const Qc = {
|
|
|
1133
1200
|
[w.medium]: 16,
|
|
1134
1201
|
[w.large]: 20,
|
|
1135
1202
|
[w.xl]: 24
|
|
1136
|
-
},
|
|
1203
|
+
}, Ah = ({ size: e, icon: s }) => `icon-dim-${s ? Qc[e] : Jc[e]}`, Ih = ({ size: e, icon: s }) => s ? Qc[e] : Jc[e], Rh = ({
|
|
1137
1204
|
size: e,
|
|
1138
1205
|
variant: s,
|
|
1139
1206
|
style: n,
|
|
1140
1207
|
isLoading: a,
|
|
1141
1208
|
icon: r,
|
|
1142
1209
|
isAutoTriggerActive: o
|
|
1143
|
-
}) => `button button__${s}--${n} ${r ?
|
|
1210
|
+
}) => `button button__${s}--${n} ${r ? vh[e] : Sh[e]} ${o ? "button--auto-click" : ""} ${a ? "button--loading" : ""}`, yh = ({
|
|
1144
1211
|
component: e = Mn.button,
|
|
1145
1212
|
linkProps: s,
|
|
1146
1213
|
buttonProps: n,
|
|
@@ -1148,7 +1215,7 @@ const Qc = {
|
|
|
1148
1215
|
elementRef: r,
|
|
1149
1216
|
...o
|
|
1150
1217
|
}) => e === Mn.link ? /* @__PURE__ */ t.jsx(
|
|
1151
|
-
|
|
1218
|
+
Ss,
|
|
1152
1219
|
{
|
|
1153
1220
|
...s,
|
|
1154
1221
|
...o,
|
|
@@ -1185,7 +1252,7 @@ const Qc = {
|
|
|
1185
1252
|
triggerAutoClickTimestamp: f,
|
|
1186
1253
|
...E
|
|
1187
1254
|
}) => {
|
|
1188
|
-
const [h, N] = y(!1), C = q(), A = q(null), S = l || c, I = `dc__no-shrink flex dc__fill-available-space ${
|
|
1255
|
+
const [h, N] = y(!1), C = q(), A = q(null), S = l || c, I = `dc__no-shrink flex dc__fill-available-space ${Ah({
|
|
1189
1256
|
size: a,
|
|
1190
1257
|
icon: m
|
|
1191
1258
|
})}`;
|
|
@@ -1207,11 +1274,11 @@ const Qc = {
|
|
|
1207
1274
|
...u
|
|
1208
1275
|
};
|
|
1209
1276
|
return /* @__PURE__ */ t.jsx(ne, { ...v(), children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsxs(
|
|
1210
|
-
|
|
1277
|
+
yh,
|
|
1211
1278
|
{
|
|
1212
1279
|
...E,
|
|
1213
1280
|
disabled: S,
|
|
1214
|
-
className: `br-4 flex cursor dc__tab-focus dc__position-rel dc__capitalize ${g ? "dc__opacity-hover--child" : ""} ${
|
|
1281
|
+
className: `br-4 flex cursor dc__tab-focus dc__position-rel dc__capitalize ${g ? "dc__opacity-hover--child" : ""} ${Rh({ size: a, variant: n, style: r, isLoading: c, icon: m, isAutoTriggerActive: h })} ${S ? "dc__disabled" : ""} ${x ? "w-100" : ""}`,
|
|
1215
1282
|
"data-testid": e,
|
|
1216
1283
|
"aria-label": p || (c ? s : void 0),
|
|
1217
1284
|
elementRef: A,
|
|
@@ -1223,9 +1290,9 @@ const Qc = {
|
|
|
1223
1290
|
i && /* @__PURE__ */ t.jsx("span", { className: I, children: i })
|
|
1224
1291
|
] }),
|
|
1225
1292
|
c && /* @__PURE__ */ t.jsx(
|
|
1226
|
-
|
|
1293
|
+
$e,
|
|
1227
1294
|
{
|
|
1228
|
-
size:
|
|
1295
|
+
size: Ih({
|
|
1229
1296
|
size: a,
|
|
1230
1297
|
icon: m
|
|
1231
1298
|
})
|
|
@@ -1245,7 +1312,7 @@ const Qc = {
|
|
|
1245
1312
|
useInfoIcon: l = !1,
|
|
1246
1313
|
progressingProps: c
|
|
1247
1314
|
}) => {
|
|
1248
|
-
const d = () => c ? /* @__PURE__ */ t.jsx(
|
|
1315
|
+
const d = () => c ? /* @__PURE__ */ t.jsx(it, { name: "ic-circle-loader", ...c }) : l ? /* @__PURE__ */ t.jsx(yo, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(As, { className: "icon-dim-24 alert-icon-r5-imp" }), u = (m) => m ? typeof m == "string" ? /* @__PURE__ */ t.jsx("p", { className: "m-0 dc__truncate--clamp-6", children: m }) : m : null;
|
|
1249
1316
|
return /* @__PURE__ */ t.jsxs("div", { className: `flex column dc__gap-8 p-16 ${s ? "dc__border br-4" : ""} ${i || ""}`, children: [
|
|
1250
1317
|
d(),
|
|
1251
1318
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column dc__gap-4 dc__align-center", children: [
|
|
@@ -1280,13 +1347,13 @@ const Qc = {
|
|
|
1280
1347
|
genericSectionErrorProps: l,
|
|
1281
1348
|
errorScreenManagerProps: c,
|
|
1282
1349
|
children: d
|
|
1283
|
-
}) => r ? /* @__PURE__ */ t.jsx(JS, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx(
|
|
1350
|
+
}) => r ? /* @__PURE__ */ t.jsx(JS, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx($e, { ...s }) : a ? l ? /* @__PURE__ */ t.jsx(Ys, { ...l }) : c ? /* @__PURE__ */ t.jsx(xr, { ...c }) : a?.code === 404 ? /* @__PURE__ */ t.jsx(
|
|
1284
1351
|
Xe,
|
|
1285
1352
|
{
|
|
1286
1353
|
title: o?.title ?? Li.title,
|
|
1287
1354
|
subTitle: o?.subTitle ?? Li.subTitle
|
|
1288
1355
|
}
|
|
1289
|
-
) : /* @__PURE__ */ t.jsx(Vn, { ...i }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: d }),
|
|
1356
|
+
) : /* @__PURE__ */ t.jsx(Vn, { ...i }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: d }), jh = (e = {}) => ({
|
|
1290
1357
|
container: (s, n) => ({
|
|
1291
1358
|
...s,
|
|
1292
1359
|
...n.isDisabled && {
|
|
@@ -1414,9 +1481,9 @@ const Qc = {
|
|
|
1414
1481
|
paddingLeft: 0
|
|
1415
1482
|
}),
|
|
1416
1483
|
...e
|
|
1417
|
-
}),
|
|
1484
|
+
}), Oh = (e, s) => e ? "var(--B100)" : s ? "var(--bg-secondary)" : "var(--bg-primary)", Lh = (e = {}) => (s, n) => ({
|
|
1418
1485
|
...s,
|
|
1419
|
-
backgroundColor:
|
|
1486
|
+
backgroundColor: Oh(n.isSelected, n.isFocused),
|
|
1420
1487
|
color: n.isSelected ? "var(--B500)" : "var(--N900)",
|
|
1421
1488
|
textOverflow: "ellipsis",
|
|
1422
1489
|
fontWeight: "500",
|
|
@@ -1426,10 +1493,10 @@ const Qc = {
|
|
|
1426
1493
|
cursor: "pointer",
|
|
1427
1494
|
fontSize: "13px",
|
|
1428
1495
|
...e
|
|
1429
|
-
}),
|
|
1496
|
+
}), wh = () => /* @__PURE__ */ t.jsx($e, {}), Dh = (e) => {
|
|
1430
1497
|
const { data: s } = e;
|
|
1431
|
-
return s.label ? /* @__PURE__ */ t.jsx(
|
|
1432
|
-
},
|
|
1498
|
+
return s.label ? /* @__PURE__ */ t.jsx(Be.GroupHeading, { ...e, children: /* @__PURE__ */ t.jsx("div", { className: "flex dc__no-text-transform flex-justify dc__truncate-text h-100", children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate-text", children: s.label }) }) }) : null;
|
|
1499
|
+
}, Ph = jh(), l0 = ({
|
|
1433
1500
|
handleApplyFilter: e,
|
|
1434
1501
|
...s
|
|
1435
1502
|
}) => {
|
|
@@ -1440,7 +1507,7 @@ const Qc = {
|
|
|
1440
1507
|
}), e();
|
|
1441
1508
|
};
|
|
1442
1509
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1443
|
-
/* @__PURE__ */ t.jsx(
|
|
1510
|
+
/* @__PURE__ */ t.jsx(Be.MenuList, { ...s }),
|
|
1444
1511
|
s.selectProps.options.length > 0 && /* @__PURE__ */ t.jsx("div", { className: "p-8 dc__position-sticky dc__bottom-0 dc__border-top-n1 bg__primary dc__bottom-radius-4", children: /* @__PURE__ */ t.jsx(
|
|
1445
1512
|
"button",
|
|
1446
1513
|
{
|
|
@@ -1466,7 +1533,7 @@ const Qc = {
|
|
|
1466
1533
|
/* @__PURE__ */ t.jsx(Cc, { className: "icon-dim-16 dc__no-shrink mr-4 mw-18" }),
|
|
1467
1534
|
/* @__PURE__ */ t.jsx("span", { className: "dc__position-abs dc__left-35 cn-5 fs-13 fw-4 lh-20", children: e })
|
|
1468
1535
|
] });
|
|
1469
|
-
return /* @__PURE__ */ t.jsx(
|
|
1536
|
+
return /* @__PURE__ */ t.jsx(Be.ValueContainer, { ...s, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
|
|
1470
1537
|
i(),
|
|
1471
1538
|
ya(n[1])
|
|
1472
1539
|
] }) });
|
|
@@ -1564,7 +1631,7 @@ const Qc = {
|
|
|
1564
1631
|
...e,
|
|
1565
1632
|
backgroundColor: "var(--bg-primary)"
|
|
1566
1633
|
})
|
|
1567
|
-
},
|
|
1634
|
+
}, kh = ({
|
|
1568
1635
|
locator: e,
|
|
1569
1636
|
label: s,
|
|
1570
1637
|
isSelected: n,
|
|
@@ -1591,7 +1658,7 @@ const Qc = {
|
|
|
1591
1658
|
}
|
|
1592
1659
|
);
|
|
1593
1660
|
};
|
|
1594
|
-
var
|
|
1661
|
+
var Mh = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(Mh || {}), vn = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(vn || {}), Uh = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(Uh || {}), Re = /* @__PURE__ */ ((e) => (e.Internal = "", e.KubernetesConfigMap = "KubernetesConfigMap", e.KubernetesSecret = "KubernetesSecret", e.AWSSecretsManager = "AWSSecretsManager", e.AWSSystemManager = "AWSSystemManager", e.HashiCorpVault = "HashiCorpVault", e.ESO_GoogleSecretsManager = "ESO_GoogleSecretsManager", e.ESO_AWSSecretsManager = "ESO_AWSSecretsManager", e.ESO_AzureSecretsManager = "ESO_AzureSecretsManager", e.ESO_HashiCorpVault = "ESO_HashiCorpVault", e))(Re || {}), Pt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Pt || {}), oo = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(oo || {}), et = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(et || {}), xs = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(xs || {}), mr = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(mr || {}), td = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(td || {});
|
|
1595
1662
|
const sd = (e) => {
|
|
1596
1663
|
const s = q(null), [n, a] = y(!1), r = e.theme === ur.white, o = (N) => {
|
|
1597
1664
|
N.keyCode === 27 && l(N);
|
|
@@ -1749,7 +1816,7 @@ const sd = (e) => {
|
|
|
1749
1816
|
}
|
|
1750
1817
|
);
|
|
1751
1818
|
var P = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(P || {}), Lt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Lt || {}), Ee = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(Ee || {}), nd = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(nd || {}), _s = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(_s || {}), ad = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(ad || {}), Da = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Da || {}), Un = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(Un || {}), io = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(io || {}), lo = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(lo || {}), ft = /* @__PURE__ */ ((e) => (e.ADD_TARGET_PLATFORM = "add_target_platform", e.REMOVE_TARGET_PLATFORM = "remove_target_platform", e.RENAME_TARGET_PLATFORM = "rename_target_platform", e.RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot", e.DELETE_NODE_SELECTOR_ITEM = "delete_node_selector_item", e.ADD_NODE_SELECTOR_ITEM = "add_node_selector_item", e.EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item", e.DELETE_TOLERANCE_ITEM = "delete_tolerance_item", e.ADD_TOLERANCE_ITEM = "add_tolerance_item", e.EDIT_TOLERANCE_ITEM = "edit_tolerance_item", e.ADD_CM_CS_ITEM = "add_cm_cs_item", e.SYNC_CM_CS_ITEM = "sync_cm_cs_item", e.DELETE_CM_CS_ITEM = "delete_cm_cs_item", e))(ft || {}), rd = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(rd || {});
|
|
1752
|
-
const
|
|
1819
|
+
const Ns = {
|
|
1753
1820
|
// Will not enforce any decimal specification on input field
|
|
1754
1821
|
STEP: "any",
|
|
1755
1822
|
MIN: 0,
|
|
@@ -1773,8 +1840,8 @@ const xs = {
|
|
|
1773
1840
|
VALIDATE_REQUEST_LIMIT: {
|
|
1774
1841
|
REQUEST_LESS_THAN_LIMIT: "Request should be less than or equal to limit.",
|
|
1775
1842
|
CAN_NOT_COMPUTE: "Request and limit value diff are too high to validate.",
|
|
1776
|
-
REQUEST_DECIMAL_PLACES: `Request should be upto ${
|
|
1777
|
-
LIMIT_DECIMAL_PLACES: `Limit should be upto ${
|
|
1843
|
+
REQUEST_DECIMAL_PLACES: `Request should be upto ${Ns.DECIMAL_PLACES} decimal places.`,
|
|
1844
|
+
LIMIT_DECIMAL_PLACES: `Limit should be upto ${Ns.DECIMAL_PLACES} decimal places.`
|
|
1778
1845
|
},
|
|
1779
1846
|
getInvalidActionMessage: (e) => `Invalid action type: ${e}`,
|
|
1780
1847
|
getSubmitSuccessMessage: (e, s) => `${e} profile is ${s ? "updated" : "created"}`,
|
|
@@ -1863,10 +1930,10 @@ const xs = {
|
|
|
1863
1930
|
...Lt,
|
|
1864
1931
|
...Un
|
|
1865
1932
|
}).map((e) => [e, null])
|
|
1866
|
-
),
|
|
1933
|
+
), Bh = [Lt.NAME], wi = {
|
|
1867
1934
|
SUBMIT_BUTTON: "build-infra-submit-button",
|
|
1868
1935
|
CANCEL_BUTTON: "build-infra-cancel-button"
|
|
1869
|
-
}, es = "runner",
|
|
1936
|
+
}, es = "runner", $h = rd.ALPHA1, Di = {
|
|
1870
1937
|
[P.BUILD_TIMEOUT]: !0,
|
|
1871
1938
|
[P.CPU_LIMIT]: !0,
|
|
1872
1939
|
[P.CPU_REQUEST]: !0,
|
|
@@ -1888,7 +1955,7 @@ const xs = {
|
|
|
1888
1955
|
[Ee.TOLERANCE]: [P.TOLERANCE],
|
|
1889
1956
|
[Ee.CONFIG_MAP]: [P.CONFIG_MAP],
|
|
1890
1957
|
[Ee.SECRET]: [P.SECRET]
|
|
1891
|
-
},
|
|
1958
|
+
}, Fh = {
|
|
1892
1959
|
[P.CPU_LIMIT]: {
|
|
1893
1960
|
keyToPersist: "request",
|
|
1894
1961
|
keyToPersistConfigType: P.CPU_REQUEST
|
|
@@ -1905,7 +1972,7 @@ const xs = {
|
|
|
1905
1972
|
keyToPersist: "limit",
|
|
1906
1973
|
keyToPersistConfigType: P.MEMORY_LIMIT
|
|
1907
1974
|
}
|
|
1908
|
-
},
|
|
1975
|
+
}, Vh = ad.NO_SCHEDULE, Gh = _s.EQUALS, Hh = {
|
|
1909
1976
|
[P.BUILD_TIMEOUT]: !0,
|
|
1910
1977
|
[P.CONFIG_MAP]: !0,
|
|
1911
1978
|
[P.SECRET]: !0
|
|
@@ -1913,15 +1980,15 @@ const xs = {
|
|
|
1913
1980
|
[P.CONFIG_MAP]: !0,
|
|
1914
1981
|
[P.SECRET]: !0
|
|
1915
1982
|
}, id = {
|
|
1916
|
-
[P.CONFIG_MAP]:
|
|
1917
|
-
[P.SECRET]:
|
|
1983
|
+
[P.CONFIG_MAP]: xs.ConfigMap,
|
|
1984
|
+
[P.SECRET]: xs.Secret
|
|
1918
1985
|
}, We = {
|
|
1919
|
-
[
|
|
1920
|
-
[
|
|
1986
|
+
[xs.ConfigMap]: P.CONFIG_MAP,
|
|
1987
|
+
[xs.Secret]: P.SECRET
|
|
1921
1988
|
}, _0 = {
|
|
1922
|
-
[
|
|
1923
|
-
[
|
|
1924
|
-
},
|
|
1989
|
+
[xs.ConfigMap]: Ee.CONFIG_MAP,
|
|
1990
|
+
[xs.Secret]: Ee.SECRET
|
|
1991
|
+
}, Yh = !0, f0 = {
|
|
1925
1992
|
activate_cm: !0,
|
|
1926
1993
|
activate_cs: !0,
|
|
1927
1994
|
de_activate_cm: !0,
|
|
@@ -1953,14 +2020,14 @@ const xs = {
|
|
|
1953
2020
|
] }), g0 = ({ disabled: e, handleCancel: s, editProfile: n, loading: a }) => {
|
|
1954
2021
|
const r = e ? qe.SUBMIT_BUTTON_TIPPY.INVALID_INPUT : qe.SUBMIT_BUTTON_TIPPY.REQUEST_IN_PROGRESS, o = () => n ? qe.EDIT_SUBMIT : qe.SAVE_SUBMIT, i = (l) => /* @__PURE__ */ t.jsx(ce, { content: r, placement: "top", className: "default-tt", arrow: !1, children: l });
|
|
1955
2022
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex pl pr pb pt h-64 dc__gap-12 dc__border-top dc__content-start", children: [
|
|
1956
|
-
/* @__PURE__ */ t.jsx(
|
|
2023
|
+
/* @__PURE__ */ t.jsx(ct, { condition: e || a, wrap: i, children: /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__align-items-center", children: /* @__PURE__ */ t.jsx(
|
|
1957
2024
|
"button",
|
|
1958
2025
|
{
|
|
1959
2026
|
type: "submit",
|
|
1960
2027
|
className: "cta submit h-32 flex",
|
|
1961
2028
|
disabled: e || a,
|
|
1962
2029
|
"data-testid": wi.SUBMIT_BUTTON,
|
|
1963
|
-
children: a ? /* @__PURE__ */ t.jsx(
|
|
2030
|
+
children: a ? /* @__PURE__ */ t.jsx($e, { size: 16 }) : o()
|
|
1964
2031
|
}
|
|
1965
2032
|
) }) }),
|
|
1966
2033
|
s && /* @__PURE__ */ t.jsx(
|
|
@@ -1976,7 +2043,7 @@ const xs = {
|
|
|
1976
2043
|
)
|
|
1977
2044
|
] });
|
|
1978
2045
|
};
|
|
1979
|
-
var
|
|
2046
|
+
var Cs = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.BORDER_LESS = "border-less", e))(Cs || {});
|
|
1980
2047
|
const Mi = {
|
|
1981
2048
|
[w.small]: "12px",
|
|
1982
2049
|
[w.medium]: "13px",
|
|
@@ -1985,7 +2052,7 @@ const Mi = {
|
|
|
1985
2052
|
[w.small]: { width: "12px", height: "12px" },
|
|
1986
2053
|
[w.medium]: { width: "16px", height: "16px" },
|
|
1987
2054
|
[w.large]: { width: "16px", height: "16px" }
|
|
1988
|
-
},
|
|
2055
|
+
}, Kh = {
|
|
1989
2056
|
[w.small]: "auto",
|
|
1990
2057
|
[w.medium]: "auto",
|
|
1991
2058
|
[w.large]: "36px"
|
|
@@ -2015,7 +2082,7 @@ const Mi = {
|
|
|
2015
2082
|
}
|
|
2016
2083
|
}, $i = (e) => {
|
|
2017
2084
|
switch (e) {
|
|
2018
|
-
case
|
|
2085
|
+
case Cs.BORDER_LESS:
|
|
2019
2086
|
return {
|
|
2020
2087
|
control: () => ({
|
|
2021
2088
|
backgroundColor: "transparent",
|
|
@@ -2030,7 +2097,7 @@ const Mi = {
|
|
|
2030
2097
|
default:
|
|
2031
2098
|
return null;
|
|
2032
2099
|
}
|
|
2033
|
-
},
|
|
2100
|
+
}, Wh = (e) => e.isSelected && !e.selectProps.isMulti ? "var(--B100)" : e.isFocused ? "var(--bg-hover)" : "var(--transparent)", zh = ({
|
|
2034
2101
|
error: e,
|
|
2035
2102
|
size: s,
|
|
2036
2103
|
menuSize: n,
|
|
@@ -2066,7 +2133,7 @@ const Mi = {
|
|
|
2066
2133
|
}),
|
|
2067
2134
|
control: (l, c) => ({
|
|
2068
2135
|
...l,
|
|
2069
|
-
minHeight:
|
|
2136
|
+
minHeight: Kh[s],
|
|
2070
2137
|
minWidth: "56px",
|
|
2071
2138
|
boxShadow: "none",
|
|
2072
2139
|
backgroundColor: "var(--bg-secondary)",
|
|
@@ -2091,7 +2158,7 @@ const Mi = {
|
|
|
2091
2158
|
option: (l, c) => ({
|
|
2092
2159
|
...l,
|
|
2093
2160
|
color: "var(--N900)",
|
|
2094
|
-
backgroundColor:
|
|
2161
|
+
backgroundColor: Wh(c),
|
|
2095
2162
|
padding: "6px 8px",
|
|
2096
2163
|
cursor: "pointer",
|
|
2097
2164
|
fontSize: "13px",
|
|
@@ -2252,13 +2319,13 @@ const Mi = {
|
|
|
2252
2319
|
lineHeight: "20px",
|
|
2253
2320
|
...$i(a)?.singleValue(l, c) || {}
|
|
2254
2321
|
})
|
|
2255
|
-
}),
|
|
2322
|
+
}), qh = (e, s, n) => {
|
|
2256
2323
|
const a = s.reduce((l, c) => (l[n(c)] = !0, l), {}), r = e.map((l) => n(l));
|
|
2257
2324
|
return r.every((l) => a[l]) ? ot.CHECKED : r.some((l) => a[l]) ? ot.INTERMEDIATE : null;
|
|
2258
2325
|
}, ln = (e, s, n = { label: "", value: "" }, a = null) => Array.isArray(e) ? e.flatMap(
|
|
2259
2326
|
(o) => "options" in o ? o.options : [o]
|
|
2260
2327
|
).find((o) => (a ? a(o) : o.value) === s) ?? n : n;
|
|
2261
|
-
class
|
|
2328
|
+
class Is extends sr {
|
|
2262
2329
|
render() {
|
|
2263
2330
|
const s = `${this.props.rootClassName ? this.props.rootClassName : ""}`;
|
|
2264
2331
|
return /* @__PURE__ */ t.jsxs("label", { className: `dc__position-rel flex left cursor ${s}`, onClick: this.props?.onClick, children: [
|
|
@@ -2282,34 +2349,34 @@ class As extends sr {
|
|
|
2282
2349
|
] });
|
|
2283
2350
|
}
|
|
2284
2351
|
}
|
|
2285
|
-
const
|
|
2352
|
+
const Xh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyCombo" in e ? e : {
|
|
2286
2353
|
// TODO: using some typing somersaults here, clean it up later
|
|
2287
2354
|
alwaysShowTippyOnHover: !!e?.content,
|
|
2288
2355
|
...e
|
|
2289
2356
|
} : {
|
|
2290
2357
|
alwaysShowTippyOnHover: !1,
|
|
2291
2358
|
content: null
|
|
2292
|
-
},
|
|
2359
|
+
}, Jh = (e) => {
|
|
2293
2360
|
const { isDisabled: s } = e;
|
|
2294
|
-
return /* @__PURE__ */ t.jsx(
|
|
2295
|
-
},
|
|
2361
|
+
return /* @__PURE__ */ t.jsx(Be.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx($s, { className: s ? "scn-3" : "scn-6" }) });
|
|
2362
|
+
}, Zh = (e) => /* @__PURE__ */ t.jsx(Be.ClearIndicator, { ...e, children: /* @__PURE__ */ t.jsx(at, { className: "icon-use-fill-n6" }) }), Qh = (e) => {
|
|
2296
2363
|
const {
|
|
2297
2364
|
children: s,
|
|
2298
2365
|
getValue: n,
|
|
2299
2366
|
selectProps: { icon: a, showSelectedOptionIcon: r }
|
|
2300
2367
|
} = e, { startIcon: o, endIcon: i } = n()?.[0] ?? {};
|
|
2301
2368
|
let l = a;
|
|
2302
|
-
return r && (o || i) && (l = o || i), /* @__PURE__ */ t.jsxs(
|
|
2369
|
+
return r && (o || i) && (l = o || i), /* @__PURE__ */ t.jsxs(Be.Control, { ...e, children: [
|
|
2303
2370
|
l && /* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink icon-dim-20 flex dc__fill-available-space", children: l }),
|
|
2304
2371
|
s
|
|
2305
2372
|
] });
|
|
2306
|
-
},
|
|
2373
|
+
}, eg = (e) => {
|
|
2307
2374
|
const {
|
|
2308
2375
|
isHidden: s,
|
|
2309
2376
|
selectProps: { shouldRenderTextArea: n }
|
|
2310
2377
|
} = e;
|
|
2311
|
-
return /* @__PURE__ */ t.jsx(
|
|
2312
|
-
},
|
|
2378
|
+
return /* @__PURE__ */ t.jsx(Be.Input, { ...e, isTextArea: n, isHidden: !n && s });
|
|
2379
|
+
}, tg = ({
|
|
2313
2380
|
showSelectedOptionsCount: e,
|
|
2314
2381
|
customSelectedOptionsCount: s,
|
|
2315
2382
|
...n
|
|
@@ -2320,16 +2387,16 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2320
2387
|
children: l
|
|
2321
2388
|
} = n;
|
|
2322
2389
|
if (o)
|
|
2323
|
-
return /* @__PURE__ */ t.jsx(
|
|
2390
|
+
return /* @__PURE__ */ t.jsx(Be.ValueContainer, { ...n });
|
|
2324
2391
|
const c = Ma(s) ? (a() ?? []).length : s, d = Ni.count(l);
|
|
2325
2392
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-8 flex-grow-1", children: [
|
|
2326
|
-
/* @__PURE__ */ t.jsx("div", { className: "flex left flex-grow-1", children: /* @__PURE__ */ t.jsx(
|
|
2393
|
+
/* @__PURE__ */ t.jsx("div", { className: "flex left flex-grow-1", children: /* @__PURE__ */ t.jsx(Be.ValueContainer, { ...n, children: r && c > 0 && !i ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2327
2394
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 fw-4 lh-20 cn-9 dc__truncate", children: r }),
|
|
2328
2395
|
/* @__PURE__ */ t.jsx("div", { className: "dc__position-abs", children: Ni.map(l, (u, m) => m === d - 1 ? u : null) })
|
|
2329
2396
|
] }) : l }) }),
|
|
2330
2397
|
e && c > 0 && /* @__PURE__ */ t.jsx("div", { className: "bcb-50 dc__border eb-2 dc__border-radius-4-imp pl-5 pr-5 cb-5 fs-12 fw-6 lh-18 dc__truncate dc__no-shrink", children: c })
|
|
2331
2398
|
] });
|
|
2332
|
-
},
|
|
2399
|
+
}, sg = () => /* @__PURE__ */ t.jsx($e, {}), ng = ({
|
|
2333
2400
|
disableDescriptionEllipsis: e,
|
|
2334
2401
|
...s
|
|
2335
2402
|
}) => {
|
|
@@ -2340,14 +2407,14 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2340
2407
|
selectOption: o,
|
|
2341
2408
|
isDisabled: i,
|
|
2342
2409
|
isSelected: l
|
|
2343
|
-
} = s, { description: c, startIcon: d, endIcon: u, tooltipProps: m } = a ?? {}, p = !!c, _ = "__isNew__" in a && a.__isNew__, x = (
|
|
2344
|
-
|
|
2345
|
-
};
|
|
2346
|
-
return /* @__PURE__ */ t.jsx(
|
|
2410
|
+
} = s, { description: c, startIcon: d, endIcon: u, tooltipProps: m } = a ?? {}, p = !!c, _ = "__isNew__" in a && a.__isNew__, x = (f) => {
|
|
2411
|
+
f.preventDefault(), f.stopPropagation(), o(a);
|
|
2412
|
+
}, g = "dc__no-shrink icon-dim-16 flex dc__fill-available-space";
|
|
2413
|
+
return /* @__PURE__ */ t.jsx(Be.Option, { ...s, children: /* @__PURE__ */ t.jsx(ne, { ...Xh(m), children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
|
|
2347
2414
|
r && !_ && /* @__PURE__ */ t.jsx(
|
|
2348
|
-
|
|
2415
|
+
Is,
|
|
2349
2416
|
{
|
|
2350
|
-
onChange:
|
|
2417
|
+
onChange: lt,
|
|
2351
2418
|
onClick: x,
|
|
2352
2419
|
isChecked: l || !1,
|
|
2353
2420
|
value: ot.CHECKED,
|
|
@@ -2356,7 +2423,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2356
2423
|
}
|
|
2357
2424
|
),
|
|
2358
2425
|
/* @__PURE__ */ t.jsxs("div", { className: `flex left w-100 ${p ? "top" : ""} dc__gap-8`, children: [
|
|
2359
|
-
d && /* @__PURE__ */ t.jsx("div", { className:
|
|
2426
|
+
d && /* @__PURE__ */ t.jsx("div", { className: `${g} mt-2`, children: d }),
|
|
2360
2427
|
/* @__PURE__ */ t.jsxs("div", { className: "flex-grow-1", children: [
|
|
2361
2428
|
/* @__PURE__ */ t.jsx(ne, { content: n, placement: "right", children: /* @__PURE__ */ t.jsx(
|
|
2362
2429
|
"h4",
|
|
@@ -2373,10 +2440,10 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2373
2440
|
}
|
|
2374
2441
|
) : /* @__PURE__ */ t.jsx("div", { className: "fs-12 lh-18", children: c }))
|
|
2375
2442
|
] }),
|
|
2376
|
-
u && /* @__PURE__ */ t.jsx("div", { className:
|
|
2443
|
+
u && /* @__PURE__ */ t.jsx("div", { className: g, children: u })
|
|
2377
2444
|
] })
|
|
2378
2445
|
] }) }) });
|
|
2379
|
-
},
|
|
2446
|
+
}, ag = (e) => {
|
|
2380
2447
|
const {
|
|
2381
2448
|
children: s,
|
|
2382
2449
|
selectProps: {
|
|
@@ -2388,17 +2455,17 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2388
2455
|
}
|
|
2389
2456
|
} = e;
|
|
2390
2457
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2391
|
-
/* @__PURE__ */ Io(
|
|
2458
|
+
/* @__PURE__ */ Io(Be.MenuList, { ...e, key: n }, /* @__PURE__ */ t.jsx("div", { className: "py-4 cursor", children: r ? o() : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2392
2459
|
s,
|
|
2393
2460
|
i?.()
|
|
2394
2461
|
] }) })),
|
|
2395
2462
|
!r && a && /* @__PURE__ */ t.jsx("div", { className: "dc__position-sticky dc__bottom-0 dc__bottom-radius-4 bg__menu--primary dc__zi-2", children: a() })
|
|
2396
2463
|
] });
|
|
2397
|
-
},
|
|
2464
|
+
}, rg = ({
|
|
2398
2465
|
getIsOptionValid: e,
|
|
2399
2466
|
...s
|
|
2400
2467
|
}) => {
|
|
2401
|
-
const { data: n, selectProps: a } = s, o = e(n) ? (n.startIcon || n.endIcon) ?? null : /* @__PURE__ */ t.jsx(
|
|
2468
|
+
const { data: n, selectProps: a } = s, o = e(n) ? (n.startIcon || n.endIcon) ?? null : /* @__PURE__ */ t.jsx(As, {});
|
|
2402
2469
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-4 mw-0 dc__truncate", children: [
|
|
2403
2470
|
o && /* @__PURE__ */ t.jsx(
|
|
2404
2471
|
"div",
|
|
@@ -2407,9 +2474,9 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2407
2474
|
children: o
|
|
2408
2475
|
}
|
|
2409
2476
|
),
|
|
2410
|
-
/* @__PURE__ */ t.jsx(
|
|
2477
|
+
/* @__PURE__ */ t.jsx(Be.MultiValueLabel, { ...s })
|
|
2411
2478
|
] });
|
|
2412
|
-
},
|
|
2479
|
+
}, og = (e) => /* @__PURE__ */ t.jsx(Be.MultiValueRemove, { ...e, children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(at, { className: "icon-dim-12 icon-use-fill-n6" }) }) }), ig = ({
|
|
2413
2480
|
isGroupHeadingSelectable: e,
|
|
2414
2481
|
...s
|
|
2415
2482
|
}) => {
|
|
@@ -2417,8 +2484,8 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2417
2484
|
if (!n.label)
|
|
2418
2485
|
return null;
|
|
2419
2486
|
if (!e || !a.isMulti)
|
|
2420
|
-
return /* @__PURE__ */ t.jsx(
|
|
2421
|
-
const r = a.value ?? [], o = n.options ?? [], i =
|
|
2487
|
+
return /* @__PURE__ */ t.jsx(Be.GroupHeading, { ...s });
|
|
2488
|
+
const r = a.value ?? [], o = n.options ?? [], i = qh(o, r, a.getOptionValue), l = () => {
|
|
2422
2489
|
const d = o.reduce((m, p) => (m[a.getOptionValue(p)] = !0, m), {}), u = r.filter(
|
|
2423
2490
|
(m) => !d[a.getOptionValue(m)]
|
|
2424
2491
|
);
|
|
@@ -2436,11 +2503,11 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2436
2503
|
}, c = (d) => {
|
|
2437
2504
|
d.preventDefault(), d.stopPropagation(), l();
|
|
2438
2505
|
};
|
|
2439
|
-
return /* @__PURE__ */ t.jsx(
|
|
2506
|
+
return /* @__PURE__ */ t.jsx(Be.GroupHeading, { ...s, onClick: l, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
|
|
2440
2507
|
e && /* @__PURE__ */ t.jsx(
|
|
2441
|
-
|
|
2508
|
+
Is,
|
|
2442
2509
|
{
|
|
2443
|
-
onChange:
|
|
2510
|
+
onChange: lt,
|
|
2444
2511
|
onClick: c,
|
|
2445
2512
|
isChecked: !!i,
|
|
2446
2513
|
value: i,
|
|
@@ -2449,7 +2516,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2449
2516
|
),
|
|
2450
2517
|
/* @__PURE__ */ t.jsx("div", { className: "dc__truncate", children: s.data.label })
|
|
2451
2518
|
] }) });
|
|
2452
|
-
}, ld = (e) => `${e}-error-msg`, cd = (e) => `${e}-label`,
|
|
2519
|
+
}, ld = (e) => `${e}-error-msg`, cd = (e) => `${e}-label`, lg = (e) => `${e}-helper-text`, Go = ({
|
|
2453
2520
|
inputId: e,
|
|
2454
2521
|
label: s,
|
|
2455
2522
|
ariaLabel: n,
|
|
@@ -2459,7 +2526,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2459
2526
|
}) => ({
|
|
2460
2527
|
"aria-required": a,
|
|
2461
2528
|
...o ? {
|
|
2462
|
-
"aria-describedby":
|
|
2529
|
+
"aria-describedby": lg(e)
|
|
2463
2530
|
} : {},
|
|
2464
2531
|
...r ? {
|
|
2465
2532
|
"aria-errormessage": ld(e),
|
|
@@ -2470,7 +2537,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2470
2537
|
} : {
|
|
2471
2538
|
"aria-label": n
|
|
2472
2539
|
}
|
|
2473
|
-
}),
|
|
2540
|
+
}), cg = ({
|
|
2474
2541
|
label: e,
|
|
2475
2542
|
inputId: s,
|
|
2476
2543
|
required: n,
|
|
@@ -2491,7 +2558,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2491
2558
|
);
|
|
2492
2559
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4", children: [
|
|
2493
2560
|
/* @__PURE__ */ t.jsxs("div", { className: `flex left ${n ? "dc__required-field" : ""}`, children: [
|
|
2494
|
-
/* @__PURE__ */ t.jsx(
|
|
2561
|
+
/* @__PURE__ */ t.jsx(ct, { condition: c, wrap: d, children: /* @__PURE__ */ t.jsx(
|
|
2495
2562
|
"label",
|
|
2496
2563
|
{
|
|
2497
2564
|
className: `fs-13 lh-20 fw-4 dc__block mb-0 cursor ${l ? `cn-9 ${c ? "dc__underline-dotted" : ""}` : "cn-7"}`,
|
|
@@ -2505,75 +2572,8 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2505
2572
|
] }),
|
|
2506
2573
|
!l && o && /* @__PURE__ */ t.jsx(pn, { placement: "bottom-start", iconClass: "fcv-5", ...o })
|
|
2507
2574
|
] });
|
|
2508
|
-
},
|
|
2509
|
-
|
|
2510
|
-
if (!i)
|
|
2511
|
-
throw new Error(`Icon with name "${e}" does not exist.`);
|
|
2512
|
-
return /* @__PURE__ */ t.jsx(lt, { condition: !!a?.content, wrap: ig(a), children: /* @__PURE__ */ t.jsx(
|
|
2513
|
-
i,
|
|
2514
|
-
{
|
|
2515
|
-
className: `icon-dim-${n} ${r ? "icon-component" : ""} dc__no-shrink`,
|
|
2516
|
-
style: r ? { "--iconColor": `var(--${r})` } : {},
|
|
2517
|
-
strokeWidth: o
|
|
2518
|
-
}
|
|
2519
|
-
) });
|
|
2520
|
-
}, cg = {
|
|
2521
|
-
"ic-aborted": m_,
|
|
2522
|
-
"ic-app-group": p_,
|
|
2523
|
-
"ic-azure": __,
|
|
2524
|
-
"ic-bitbucket": Mc,
|
|
2525
|
-
"ic-browser": f_,
|
|
2526
|
-
"ic-build-color": h_,
|
|
2527
|
-
"ic-cancelled": g_,
|
|
2528
|
-
"ic-cd": E_,
|
|
2529
|
-
"ic-ci-linked": x_,
|
|
2530
|
-
"ic-ci-webhook": N_,
|
|
2531
|
-
"ic-circle-loader": C_,
|
|
2532
|
-
"ic-clock": b_,
|
|
2533
|
-
"ic-close-small": T_,
|
|
2534
|
-
"ic-code": S_,
|
|
2535
|
-
"ic-container": v_,
|
|
2536
|
-
"ic-cube": A_,
|
|
2537
|
-
"ic-dockerhub": I_,
|
|
2538
|
-
"ic-ecr": R_,
|
|
2539
|
-
"ic-env": y_,
|
|
2540
|
-
"ic-error": j_,
|
|
2541
|
-
"ic-failure": O_,
|
|
2542
|
-
"ic-gear": L_,
|
|
2543
|
-
"ic-git": w_,
|
|
2544
|
-
"ic-github": D_,
|
|
2545
|
-
"ic-gitlab": Uc,
|
|
2546
|
-
"ic-google-artifact-registry": P_,
|
|
2547
|
-
"ic-google-container-registry": k_,
|
|
2548
|
-
"ic-grid-view": M_,
|
|
2549
|
-
"ic-heart-green": U_,
|
|
2550
|
-
"ic-heart-red-animated": B_,
|
|
2551
|
-
"ic-heart-red": $_,
|
|
2552
|
-
"ic-helm": F_,
|
|
2553
|
-
"ic-help-outline": V_,
|
|
2554
|
-
"ic-hibernate": G_,
|
|
2555
|
-
"ic-in-progress": H_,
|
|
2556
|
-
"ic-info-filled": Y_,
|
|
2557
|
-
"ic-info-outline": K_,
|
|
2558
|
-
"ic-job-color": W_,
|
|
2559
|
-
"ic-k8s-job": z_,
|
|
2560
|
-
"ic-missing": q_,
|
|
2561
|
-
"ic-monitoring": X_,
|
|
2562
|
-
"ic-node-script": J_,
|
|
2563
|
-
"ic-open-box": Z_,
|
|
2564
|
-
"ic-open-in-new": kc,
|
|
2565
|
-
"ic-out-of-sync": Q_,
|
|
2566
|
-
"ic-paper-plane-color": ef,
|
|
2567
|
-
"ic-quay": tf,
|
|
2568
|
-
"ic-shield-check": sf,
|
|
2569
|
-
"ic-stack": nf,
|
|
2570
|
-
"ic-success": af,
|
|
2571
|
-
"ic-suspended": rf,
|
|
2572
|
-
"ic-timeout-two-dash": of,
|
|
2573
|
-
"ic-unknown": lf,
|
|
2574
|
-
"ic-warning": cf
|
|
2575
|
-
}, ut = (e) => /* @__PURE__ */ t.jsx(lg, { ...e, iconMap: cg }), jr = ({ id: e, text: s, icon: n, textClass: a }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 fs-11 lh-16 fw-4", id: e, children: [
|
|
2576
|
-
/* @__PURE__ */ t.jsx(ut, { name: n, size: 16, color: null }),
|
|
2575
|
+
}, jr = ({ id: e, text: s, icon: n, textClass: a }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 fs-11 lh-16 fw-4", id: e, children: [
|
|
2576
|
+
/* @__PURE__ */ t.jsx(it, { name: n, size: 16, color: null }),
|
|
2577
2577
|
/* @__PURE__ */ t.jsx("span", { className: `dc__ellipsis-right__2nd-line ${a}`, children: s })
|
|
2578
2578
|
] }), dg = ({ error: e, helperText: s, warningText: n, inputId: a }) => /* @__PURE__ */ t.jsxs("div", { className: "flex left column dc__gap-4", children: [
|
|
2579
2579
|
!!e && /* @__PURE__ */ t.jsx(jr, { text: e, icon: "ic-error", textClass: "cr-5", id: ld(a) }),
|
|
@@ -2596,7 +2596,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2596
2596
|
return /* @__PURE__ */ t.jsxs("div", { className: `flex left column top dc__gap-4 ${s ? "w-100" : ""}`, children: [
|
|
2597
2597
|
/* @__PURE__ */ t.jsxs("div", { className: `flex left top dc__gap-6 ${m ? "" : "column"} w-100`, children: [
|
|
2598
2598
|
n && /* @__PURE__ */ t.jsx("div", { className: `${p} flex left`, children: /* @__PURE__ */ t.jsx(
|
|
2599
|
-
|
|
2599
|
+
cg,
|
|
2600
2600
|
{
|
|
2601
2601
|
inputId: a,
|
|
2602
2602
|
label: n,
|
|
@@ -2638,7 +2638,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2638
2638
|
optionListError: u,
|
|
2639
2639
|
reloadOptionList: m,
|
|
2640
2640
|
menuPosition: p = "fixed",
|
|
2641
|
-
variant: _ =
|
|
2641
|
+
variant: _ = Cs.DEFAULT,
|
|
2642
2642
|
disableDescriptionEllipsis: x = !1,
|
|
2643
2643
|
multiSelectProps: g = {},
|
|
2644
2644
|
isMulti: f,
|
|
@@ -2676,20 +2676,20 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2676
2676
|
options: Ne,
|
|
2677
2677
|
getOptionValue: K
|
|
2678
2678
|
} = $, {
|
|
2679
|
-
isGroupHeadingSelectable:
|
|
2679
|
+
isGroupHeadingSelectable: Ue = !1,
|
|
2680
2680
|
getIsOptionValid: we = () => !0,
|
|
2681
2681
|
customDisplayText: _t = null
|
|
2682
2682
|
} = g, St = se && !_t, ra = f && St ? w.large : i, Sr = !f && o, Y = !N && C, Ce = J(
|
|
2683
|
-
() =>
|
|
2683
|
+
() => zh({
|
|
2684
2684
|
error: e,
|
|
2685
2685
|
size: ra,
|
|
2686
2686
|
menuSize: d,
|
|
2687
2687
|
variant: _,
|
|
2688
2688
|
getIsOptionValid: we,
|
|
2689
|
-
isGroupHeadingSelectable:
|
|
2689
|
+
isGroupHeadingSelectable: Ue,
|
|
2690
2690
|
shouldMenuAlignRight: S
|
|
2691
2691
|
}),
|
|
2692
|
-
[e, ra, d, _,
|
|
2692
|
+
[e, ra, d, _, Ue, S]
|
|
2693
2693
|
), le = (ye) => {
|
|
2694
2694
|
const rs = ye?.trim();
|
|
2695
2695
|
return T && !!rs && !ln(
|
|
@@ -2700,7 +2700,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2700
2700
|
) && !ln(Ne, rs, null, K);
|
|
2701
2701
|
}, Fe = Ke(
|
|
2702
2702
|
(ye) => /* @__PURE__ */ t.jsx(
|
|
2703
|
-
|
|
2703
|
+
tg,
|
|
2704
2704
|
{
|
|
2705
2705
|
...ye,
|
|
2706
2706
|
showSelectedOptionsCount: c,
|
|
@@ -2709,11 +2709,11 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2709
2709
|
),
|
|
2710
2710
|
[c, R]
|
|
2711
2711
|
), Je = Ke(
|
|
2712
|
-
(ye) => /* @__PURE__ */ t.jsx(
|
|
2712
|
+
(ye) => /* @__PURE__ */ t.jsx(ng, { ...ye, disableDescriptionEllipsis: x }),
|
|
2713
2713
|
[x]
|
|
2714
|
-
), vt = (ye) => /* @__PURE__ */ t.jsx(
|
|
2715
|
-
(ye) => /* @__PURE__ */ t.jsx(
|
|
2716
|
-
[
|
|
2714
|
+
), vt = (ye) => /* @__PURE__ */ t.jsx(rg, { ...ye, getIsOptionValid: we }), vr = Ke(
|
|
2715
|
+
(ye) => /* @__PURE__ */ t.jsx(ig, { ...ye, isGroupHeadingSelectable: Ue }),
|
|
2716
|
+
[Ue]
|
|
2717
2717
|
), tm = () => u ? /* @__PURE__ */ t.jsx(Ys, { reload: m }) : j ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No options" }) : null, sm = (ye) => /* @__PURE__ */ t.jsx(ce, { content: l, placement: "top", className: "default-tt", arrow: !1, children: ye }), nm = (ye) => {
|
|
2718
2718
|
const rs = ye?.trim();
|
|
2719
2719
|
rs && O?.(rs);
|
|
@@ -2748,7 +2748,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2748
2748
|
borderRadiusConfig: pe,
|
|
2749
2749
|
labelTippyCustomizedConfig: je,
|
|
2750
2750
|
labelTooltipConfig: H,
|
|
2751
|
-
children: /* @__PURE__ */ t.jsx(
|
|
2751
|
+
children: /* @__PURE__ */ t.jsx(ct, { condition: oe && !!l, wrap: sm, children: /* @__PURE__ */ t.jsx("div", { className: "w-100", children: /* @__PURE__ */ t.jsx(
|
|
2752
2752
|
u_,
|
|
2753
2753
|
{
|
|
2754
2754
|
...$,
|
|
@@ -2778,18 +2778,18 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
|
2778
2778
|
ref: A,
|
|
2779
2779
|
components: {
|
|
2780
2780
|
IndicatorSeparator: null,
|
|
2781
|
-
LoadingIndicator:
|
|
2782
|
-
DropdownIndicator:
|
|
2783
|
-
Control:
|
|
2781
|
+
LoadingIndicator: sg,
|
|
2782
|
+
DropdownIndicator: Jh,
|
|
2783
|
+
Control: Qh,
|
|
2784
2784
|
Option: Je,
|
|
2785
|
-
MenuList:
|
|
2786
|
-
ClearIndicator:
|
|
2785
|
+
MenuList: ag,
|
|
2786
|
+
ClearIndicator: Zh,
|
|
2787
2787
|
ValueContainer: Fe,
|
|
2788
2788
|
MultiValueLabel: vt,
|
|
2789
|
-
MultiValueRemove:
|
|
2789
|
+
MultiValueRemove: og,
|
|
2790
2790
|
GroupHeading: vr,
|
|
2791
2791
|
NoOptionsMessage: tm,
|
|
2792
|
-
Input:
|
|
2792
|
+
Input: eg,
|
|
2793
2793
|
...B && {
|
|
2794
2794
|
Menu: () => null,
|
|
2795
2795
|
DropdownIndicator: () => null
|
|
@@ -3170,7 +3170,7 @@ function Hi(e) {
|
|
|
3170
3170
|
const Og = (e, s) => {
|
|
3171
3171
|
if (!e) return null;
|
|
3172
3172
|
const n = e.trim().replace(/\.git$/, "").replace(/\/$/, "");
|
|
3173
|
-
return n.includes(
|
|
3173
|
+
return n.includes(dt.GITLAB) ? `${n}/-/tree/${s}` : n.includes(dt.GITHUB) ? `${n}/tree/${s}` : n.includes(dt.BITBUCKET) ? `${n}/branch/${s}` : n.includes(dt.AZURE) ? `${n}/src/branch/${s}` : null;
|
|
3174
3174
|
}, S0 = async ({
|
|
3175
3175
|
appId: e,
|
|
3176
3176
|
isCD: s = !1,
|
|
@@ -3202,7 +3202,7 @@ const Og = (e, s) => {
|
|
|
3202
3202
|
bg().then((n) => {
|
|
3203
3203
|
s(n.result.superAdmin ?? !1);
|
|
3204
3204
|
}).catch((n) => {
|
|
3205
|
-
|
|
3205
|
+
Me(n);
|
|
3206
3206
|
});
|
|
3207
3207
|
}, []), { isSuperAdmin: e };
|
|
3208
3208
|
}, Lg = (e, s) => {
|
|
@@ -3241,7 +3241,7 @@ const Yi = () => ({
|
|
|
3241
3241
|
localStorageKey: n,
|
|
3242
3242
|
redirectionMethod: a = "replace"
|
|
3243
3243
|
} = {}) => {
|
|
3244
|
-
const r =
|
|
3244
|
+
const r = vs(), o = Gs(), i = q(!1), c = (() => {
|
|
3245
3245
|
const T = new URLSearchParams(r.search);
|
|
3246
3246
|
if (!i.current && n)
|
|
3247
3247
|
if (r.search)
|
|
@@ -3315,7 +3315,7 @@ const Yi = () => ({
|
|
|
3315
3315
|
}), Ki(n, JSON.stringify(d(c))), N(O);
|
|
3316
3316
|
}
|
|
3317
3317
|
};
|
|
3318
|
-
}, _d = $t(null), qn = () =>
|
|
3318
|
+
}, _d = $t(null), qn = () => Ts(_d), ma = (e) => {
|
|
3319
3319
|
if (!e)
|
|
3320
3320
|
throw new Error("keys undefined");
|
|
3321
3321
|
const s = e.map((n) => `${n}`.toUpperCase()).sort();
|
|
@@ -3562,8 +3562,8 @@ const Yi = () => ({
|
|
|
3562
3562
|
"data-testid": `${e}-input-field`,
|
|
3563
3563
|
name: e,
|
|
3564
3564
|
type: "number",
|
|
3565
|
-
step:
|
|
3566
|
-
min:
|
|
3565
|
+
step: Ns.STEP,
|
|
3566
|
+
min: Ns.MIN,
|
|
3567
3567
|
className: `form__input dc__no-right-border dc__no-right-radius ${u ? "dc__disabled" : ""}`,
|
|
3568
3568
|
placeholder: n,
|
|
3569
3569
|
value: Ma(c) ? "" : c,
|
|
@@ -3747,7 +3747,7 @@ const Yi = () => ({
|
|
|
3747
3747
|
c.locator
|
|
3748
3748
|
)) })
|
|
3749
3749
|
] })
|
|
3750
|
-
] }) : /* @__PURE__ */ t.jsx(
|
|
3750
|
+
] }) : /* @__PURE__ */ t.jsx($e, { pageLoader: !0 });
|
|
3751
3751
|
}, Ze = {
|
|
3752
3752
|
PROVIDE_A_NUMBER: "Please provide a number",
|
|
3753
3753
|
LOWERCASE_ALPHANUMERIC: "Only lowercase alphanumeric characters, -, _ or . allowed",
|
|
@@ -4002,7 +4002,7 @@ const j0 = (e, s = !1) => {
|
|
|
4002
4002
|
messages: ["Value is required"]
|
|
4003
4003
|
};
|
|
4004
4004
|
const s = [];
|
|
4005
|
-
return e.length >=
|
|
4005
|
+
return e.length >= Ns.MAX_LABEL_VALUE_LENGTH && s.push(`Value should be less than ${Ns.MAX_LABEL_VALUE_LENGTH} characters`), Dt.START_END_ALPHANUMERIC.test(e) || s.push("Value should start and end with alphanumeric characters"), Dt.ALPHANUMERIC_WITH_SPECIAL_CHAR.test(e) || s.push("Value should contain only alphanumeric characters and special characters"), s.length > 0 ? {
|
|
4006
4006
|
isValid: !1,
|
|
4007
4007
|
messages: s
|
|
4008
4008
|
} : {
|
|
@@ -4040,12 +4040,12 @@ const j0 = (e, s = !1) => {
|
|
|
4040
4040
|
}), d || c)
|
|
4041
4041
|
return l;
|
|
4042
4042
|
const u = String(e.value).split(".")[1]?.length ?? 0, m = String(s.value).split(".")[1]?.length ?? 0;
|
|
4043
|
-
if (u >
|
|
4043
|
+
if (u > Ns.DECIMAL_PLACES)
|
|
4044
4044
|
return l.request = {
|
|
4045
4045
|
message: qe.VALIDATE_REQUEST_LIMIT.REQUEST_DECIMAL_PLACES,
|
|
4046
4046
|
isValid: !1
|
|
4047
4047
|
}, l;
|
|
4048
|
-
if (m >
|
|
4048
|
+
if (m > Ns.DECIMAL_PLACES)
|
|
4049
4049
|
return l.limit = {
|
|
4050
4050
|
message: qe.VALIDATE_REQUEST_LIMIT.LIMIT_DECIMAL_PLACES,
|
|
4051
4051
|
isValid: !1
|
|
@@ -4070,7 +4070,7 @@ const j0 = (e, s = !1) => {
|
|
|
4070
4070
|
}, c || (delete r[P.NODE_SELECTOR][n], Object.keys(r[P.NODE_SELECTOR]).length === 0 && (r[P.NODE_SELECTOR] = null));
|
|
4071
4071
|
}, Jg = (e) => {
|
|
4072
4072
|
const s = structuredClone(od);
|
|
4073
|
-
return e &&
|
|
4073
|
+
return e && Bh.forEach((n) => {
|
|
4074
4074
|
s[n] = "";
|
|
4075
4075
|
}), s;
|
|
4076
4076
|
}, D0 = ({
|
|
@@ -4131,7 +4131,7 @@ const j0 = (e, s = !1) => {
|
|
|
4131
4131
|
value: v,
|
|
4132
4132
|
unit: T
|
|
4133
4133
|
};
|
|
4134
|
-
const { keyToPersist: O, keyToPersistConfigType: b } =
|
|
4134
|
+
const { keyToPersist: O, keyToPersistConfigType: b } = Fh[h], { request: j, limit: L } = Xg({
|
|
4135
4135
|
request: {
|
|
4136
4136
|
value: v,
|
|
4137
4137
|
unit: T
|
|
@@ -4342,8 +4342,8 @@ const j0 = (e, s = !1) => {
|
|
|
4342
4342
|
const T = {
|
|
4343
4343
|
id: dn(),
|
|
4344
4344
|
key: "",
|
|
4345
|
-
effect:
|
|
4346
|
-
operator:
|
|
4345
|
+
effect: Vh,
|
|
4346
|
+
operator: Gh,
|
|
4347
4347
|
value: ""
|
|
4348
4348
|
};
|
|
4349
4349
|
I[P.TOLERANCE].value.unshift(T);
|
|
@@ -4439,12 +4439,12 @@ const j0 = (e, s = !1) => {
|
|
|
4439
4439
|
description: qe.getSubmitSuccessMessage(d.name, s)
|
|
4440
4440
|
}), n ? n() : c();
|
|
4441
4441
|
} catch (C) {
|
|
4442
|
-
|
|
4442
|
+
Me(C), x(!1);
|
|
4443
4443
|
}
|
|
4444
4444
|
}
|
|
4445
4445
|
};
|
|
4446
4446
|
}, Zg = $t(null), P0 = () => {
|
|
4447
|
-
const e =
|
|
4447
|
+
const e = Ts(Zg);
|
|
4448
4448
|
if (!e)
|
|
4449
4449
|
throw new Error("Please wrap parent component with BuildInfraUtilityProvider");
|
|
4450
4450
|
return e;
|
|
@@ -4465,7 +4465,7 @@ const j0 = (e, s = !1) => {
|
|
|
4465
4465
|
canConfigureUseK8sDriver: n
|
|
4466
4466
|
});
|
|
4467
4467
|
} catch (a) {
|
|
4468
|
-
throw
|
|
4468
|
+
throw Me(a), a;
|
|
4469
4469
|
}
|
|
4470
4470
|
}, eE = async (e) => await pt(Wo(), e), tE = async ({
|
|
4471
4471
|
name: e,
|
|
@@ -4530,7 +4530,7 @@ const j0 = (e, s = !1) => {
|
|
|
4530
4530
|
default:
|
|
4531
4531
|
return null;
|
|
4532
4532
|
}
|
|
4533
|
-
}, sE = (e) => e ? e === Da.KUBERNETES :
|
|
4533
|
+
}, sE = (e) => e ? e === Da.KUBERNETES : Yh, nE = ({
|
|
4534
4534
|
fromCreateView: e,
|
|
4535
4535
|
profile: s,
|
|
4536
4536
|
canConfigureUseK8sDriver: n
|
|
@@ -4742,7 +4742,7 @@ const j0 = (e, s = !1) => {
|
|
|
4742
4742
|
}, {});
|
|
4743
4743
|
return Object.entries(a).forEach(([o, i]) => {
|
|
4744
4744
|
o !== es && (a[o] = i.filter(
|
|
4745
|
-
(l) => !
|
|
4745
|
+
(l) => !Hh[l.key]
|
|
4746
4746
|
));
|
|
4747
4747
|
}), s && !e.useK8sDriver && Object.keys(a).forEach((o) => {
|
|
4748
4748
|
o !== es && delete a[o];
|
|
@@ -4755,7 +4755,7 @@ const j0 = (e, s = !1) => {
|
|
|
4755
4755
|
buildxDriverType: lE(e.useK8sDriver)
|
|
4756
4756
|
}
|
|
4757
4757
|
};
|
|
4758
|
-
}, Wo = () => `${F.INFRA_CONFIG_PROFILE}/${
|
|
4758
|
+
}, Wo = () => `${F.INFRA_CONFIG_PROFILE}/${$h}`, M0 = (e, s) => s ? `activate_${e}` : `de_activate_${e}`;
|
|
4759
4759
|
var dE = /* @__PURE__ */ ((e) => (e.email = "email_id", e.lastLogin = "last_login", e))(dE || {}), uE = /* @__PURE__ */ ((e) => (e.active = "active", e.inactive = "inactive", e))(uE || {}), mE = /* @__PURE__ */ ((e) => (e.active = "active", e.inactive = "inactive", e.temporary = "temporaryAccess", e))(mE || {}), pE = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(pE || {});
|
|
4760
4760
|
const _E = ({
|
|
4761
4761
|
id: e,
|
|
@@ -4789,7 +4789,7 @@ const _E = ({
|
|
|
4789
4789
|
children: s[0]
|
|
4790
4790
|
}
|
|
4791
4791
|
),
|
|
4792
|
-
/* @__PURE__ */ t.jsx(
|
|
4792
|
+
/* @__PURE__ */ t.jsx(Ss, { to: `${Ie.PERMISSION_GROUPS}/${e}`, className: "dc__ellipsis-right anchor cursor", children: s }),
|
|
4793
4793
|
/* @__PURE__ */ t.jsx("div", { className: "dc__ellipsis-right", children: n || "-" }),
|
|
4794
4794
|
u && /* @__PURE__ */ t.jsx(
|
|
4795
4795
|
d,
|
|
@@ -5190,7 +5190,7 @@ const K0 = (e, s) => pt(F.K8S_RESOURCE_LIST, e, {
|
|
|
5190
5190
|
] })
|
|
5191
5191
|
] }),
|
|
5192
5192
|
CE.map(({ key: l, infoText: c, label: d }) => /* @__PURE__ */ t.jsx(
|
|
5193
|
-
|
|
5193
|
+
Is,
|
|
5194
5194
|
{
|
|
5195
5195
|
value: ot.CHECKED,
|
|
5196
5196
|
isChecked: a[l],
|
|
@@ -5214,7 +5214,7 @@ const K0 = (e, s) => pt(F.K8S_RESOURCE_LIST, e, {
|
|
|
5214
5214
|
};
|
|
5215
5215
|
return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12 w-100", children: [
|
|
5216
5216
|
/* @__PURE__ */ t.jsx(
|
|
5217
|
-
|
|
5217
|
+
Is,
|
|
5218
5218
|
{
|
|
5219
5219
|
value: ot.CHECKED,
|
|
5220
5220
|
isChecked: a,
|
|
@@ -5242,7 +5242,7 @@ const RE = {
|
|
|
5242
5242
|
signal: s
|
|
5243
5243
|
});
|
|
5244
5244
|
} catch (n) {
|
|
5245
|
-
throw Gt(n) ||
|
|
5245
|
+
throw Gt(n) || Me(n), n;
|
|
5246
5246
|
}
|
|
5247
5247
|
}, sj = async (e, s) => {
|
|
5248
5248
|
try {
|
|
@@ -5259,7 +5259,7 @@ const RE = {
|
|
|
5259
5259
|
};
|
|
5260
5260
|
} catch (n) {
|
|
5261
5261
|
if (!Gt(n))
|
|
5262
|
-
throw
|
|
5262
|
+
throw Me(n), n;
|
|
5263
5263
|
return RE;
|
|
5264
5264
|
}
|
|
5265
5265
|
}, nj = ({
|
|
@@ -5279,11 +5279,11 @@ const RE = {
|
|
|
5279
5279
|
/* @__PURE__ */ t.jsx("span", { className: "fw-6", children: o ? "Enabled" : "Not enabled" })
|
|
5280
5280
|
] })
|
|
5281
5281
|
] }) : s ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-16 dc_max-width__max-content", children: [
|
|
5282
|
-
/* @__PURE__ */ t.jsx(
|
|
5282
|
+
/* @__PURE__ */ t.jsx($e, { "data-testid": "app-metrics-checkbox-loading" }),
|
|
5283
5283
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 dc__no-shrink", children: "Application metrics" })
|
|
5284
5284
|
] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
|
|
5285
5285
|
/* @__PURE__ */ t.jsx(ST, { parsingError: l, restoreLastSavedYAML: c, children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
|
|
5286
|
-
|
|
5286
|
+
Is,
|
|
5287
5287
|
{
|
|
5288
5288
|
rootClassName: `mb-0 dc__align-items-center ${n.isAppMetricsSupported ? "" : "dc__disabled"}`,
|
|
5289
5289
|
isChecked: o,
|
|
@@ -5379,7 +5379,7 @@ const DE = (e) => {
|
|
|
5379
5379
|
);
|
|
5380
5380
|
return l;
|
|
5381
5381
|
} catch (l) {
|
|
5382
|
-
throw Gt(l) ||
|
|
5382
|
+
throw Gt(l) || Me(l), l;
|
|
5383
5383
|
}
|
|
5384
5384
|
}, cj = ({
|
|
5385
5385
|
pipelineId: e,
|
|
@@ -5425,7 +5425,7 @@ const DE = (e) => {
|
|
|
5425
5425
|
);
|
|
5426
5426
|
return c;
|
|
5427
5427
|
} catch (c) {
|
|
5428
|
-
throw Gt(c) ||
|
|
5428
|
+
throw Gt(c) || Me(c), c;
|
|
5429
5429
|
}
|
|
5430
5430
|
}, uj = [
|
|
5431
5431
|
{ label: "TRUE", value: "TRUE" },
|
|
@@ -5497,7 +5497,7 @@ const DE = (e) => {
|
|
|
5497
5497
|
} catch {
|
|
5498
5498
|
return s;
|
|
5499
5499
|
}
|
|
5500
|
-
},
|
|
5500
|
+
}, bs = (e) => {
|
|
5501
5501
|
e ? (document.body.style.overflowY = "hidden", document.body.style.height = "100vh", document.documentElement.style.overflow = "initial") : (document.body.style.overflowY = null, document.body.style.height = null, document.documentElement.style.overflow = null);
|
|
5502
5502
|
}, rl = ({ identifier: e, preventFocus: s }) => {
|
|
5503
5503
|
const n = document.getElementById(e);
|
|
@@ -5731,7 +5731,7 @@ const VE = (e, s = !1) => s ? btoa(e) : atob(e), mo = (e, s = !1) => Object.keys
|
|
|
5731
5731
|
case "object":
|
|
5732
5732
|
return e === null ? null : Array.isArray(e) ? [] : {};
|
|
5733
5733
|
case "function":
|
|
5734
|
-
return
|
|
5734
|
+
return lt;
|
|
5735
5735
|
default:
|
|
5736
5736
|
return null;
|
|
5737
5737
|
}
|
|
@@ -5836,7 +5836,7 @@ const VE = (e, s = !1) => s ? btoa(e) : atob(e), mo = (e, s = !1) => Object.keys
|
|
|
5836
5836
|
);
|
|
5837
5837
|
return Id(s);
|
|
5838
5838
|
} catch (s) {
|
|
5839
|
-
throw
|
|
5839
|
+
throw Me(s), s;
|
|
5840
5840
|
}
|
|
5841
5841
|
}, ZE = async (e) => {
|
|
5842
5842
|
try {
|
|
@@ -5845,7 +5845,7 @@ const VE = (e, s = !1) => s ? btoa(e) : atob(e), mo = (e, s = !1) => Object.keys
|
|
|
5845
5845
|
);
|
|
5846
5846
|
return Id(s);
|
|
5847
5847
|
} catch (s) {
|
|
5848
|
-
throw
|
|
5848
|
+
throw Me(s), s;
|
|
5849
5849
|
}
|
|
5850
5850
|
}, QE = ({
|
|
5851
5851
|
params: e,
|
|
@@ -5884,7 +5884,7 @@ const VE = (e, s = !1) => s ? btoa(e) : atob(e), mo = (e, s = !1) => Object.keys
|
|
|
5884
5884
|
} catch (n) {
|
|
5885
5885
|
if (s)
|
|
5886
5886
|
throw n;
|
|
5887
|
-
return
|
|
5887
|
+
return Me(n), !1;
|
|
5888
5888
|
}
|
|
5889
5889
|
};
|
|
5890
5890
|
var xe = /* @__PURE__ */ ((e) => (e.info = "info", e.success = "success", e.error = "error", e.warn = "warn", e.notAuthorized = "notAuthorized", e))(xe || {});
|
|
@@ -5912,7 +5912,7 @@ const sx = {
|
|
|
5912
5912
|
) })
|
|
5913
5913
|
}, nx = {
|
|
5914
5914
|
[xe.info]: {
|
|
5915
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
5915
|
+
icon: /* @__PURE__ */ t.jsx(gs, {}),
|
|
5916
5916
|
type: "info",
|
|
5917
5917
|
title: "Information",
|
|
5918
5918
|
progressBarBg: "var(--B500)"
|
|
@@ -5961,7 +5961,7 @@ const sx = {
|
|
|
5961
5961
|
)
|
|
5962
5962
|
] });
|
|
5963
5963
|
var sn;
|
|
5964
|
-
const
|
|
5964
|
+
const Ds = class Ds {
|
|
5965
5965
|
constructor() {
|
|
5966
5966
|
/**
|
|
5967
5967
|
* Handler for showing the toast
|
|
@@ -6002,12 +6002,12 @@ const ws = class ws {
|
|
|
6002
6002
|
ue(this, "isToastActive", Ar.isActive);
|
|
6003
6003
|
}
|
|
6004
6004
|
static get instance() {
|
|
6005
|
-
return
|
|
6005
|
+
return Rs(Ds, sn) || ia(Ds, sn, new Ds()), Rs(Ds, sn);
|
|
6006
6006
|
}
|
|
6007
6007
|
};
|
|
6008
6008
|
sn = new WeakMap(), // eslint-disable-next-line no-use-before-define
|
|
6009
|
-
oa(
|
|
6010
|
-
let po =
|
|
6009
|
+
oa(Ds, sn);
|
|
6010
|
+
let po = Ds;
|
|
6011
6011
|
const jj = () => /* @__PURE__ */ t.jsx(mm, { ...sx }), Pe = po.instance;
|
|
6012
6012
|
var st = /* @__PURE__ */ ((e) => (e.CLEAR_ALL_SELECTIONS = "CLEAR_ALL_SELECTIONS", e.CLEAR_IDENTIFIERS = "CLEAR_IDENTIFIERS", e.SELECT_ALL_ACROSS_PAGES = "SELECT_ALL_ACROSS_PAGES", e.SELECT_ALL_ON_PAGE = "SELECT_ALL_ON_PAGE", e.SELECT_IDENTIFIER = "SELECT_IDENTIFIER", e.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION = "CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION", e.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES = "CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES", e))(st || {}), yd = /* @__PURE__ */ ((e) => (e.OPEN = "OPEN", e.CLOSED = "CLOSED", e))(yd || {});
|
|
6013
6013
|
const rx = "bulk-selection-pop-up-menu", Pr = {
|
|
@@ -6016,14 +6016,14 @@ const rx = "bulk-selection-pop-up-menu", Pr = {
|
|
|
6016
6016
|
[st.CLEAR_ALL_SELECTIONS]: "Clear selection(s)"
|
|
6017
6017
|
}, hn = "*", ox = (e) => `Invalid action ${e} passed to useBulkSelection`, ix = "useBulkSelection must be used within BulkSelectionContext", il = "Selections on other pages are cleared", jd = $t({
|
|
6018
6018
|
selectedIdentifiers: {},
|
|
6019
|
-
handleBulkSelection:
|
|
6019
|
+
handleBulkSelection: lt,
|
|
6020
6020
|
isChecked: !1,
|
|
6021
6021
|
checkboxValue: ot.CHECKED,
|
|
6022
6022
|
isBulkSelectionApplied: !1,
|
|
6023
|
-
setIdentifiers:
|
|
6024
|
-
getSelectedIdentifiersCount:
|
|
6023
|
+
setIdentifiers: lt,
|
|
6024
|
+
getSelectedIdentifiersCount: lt
|
|
6025
6025
|
}), lx = () => {
|
|
6026
|
-
const e =
|
|
6026
|
+
const e = Ts(jd);
|
|
6027
6027
|
if (!e)
|
|
6028
6028
|
throw new Error(ix);
|
|
6029
6029
|
return e;
|
|
@@ -6162,10 +6162,10 @@ const rx = "bulk-selection-pop-up-menu", Pr = {
|
|
|
6162
6162
|
disabled: s,
|
|
6163
6163
|
children: [
|
|
6164
6164
|
/* @__PURE__ */ t.jsx(
|
|
6165
|
-
|
|
6165
|
+
Is,
|
|
6166
6166
|
{
|
|
6167
6167
|
isChecked: r,
|
|
6168
|
-
onChange:
|
|
6168
|
+
onChange: lt,
|
|
6169
6169
|
rootClassName: "icon-dim-20 m-0",
|
|
6170
6170
|
value: o,
|
|
6171
6171
|
disabled: s
|
|
@@ -6176,7 +6176,7 @@ const rx = "bulk-selection-pop-up-menu", Pr = {
|
|
|
6176
6176
|
}
|
|
6177
6177
|
),
|
|
6178
6178
|
/* @__PURE__ */ t.jsx(nt.Body, { rootClassName: "dc__top-22 w-150 dc__right-0 pt-4 pb-4 pl-0 pr-0 bg__primary flex column dc__content-start dc__align-start dc__position-abs bg__primary dc__border dc__border-radius-4-imp", children: c.map((d) => /* @__PURE__ */ t.jsx(
|
|
6179
|
-
|
|
6179
|
+
kh,
|
|
6180
6180
|
{
|
|
6181
6181
|
locator: d.locator,
|
|
6182
6182
|
label: d.label,
|
|
@@ -6201,7 +6201,7 @@ const rx = "bulk-selection-pop-up-menu", Pr = {
|
|
|
6201
6201
|
[Ye.ARTIFACT_REGISTRY]: "ic-google-artifact-registry",
|
|
6202
6202
|
[Ye.GCR]: "ic-google-container-registry",
|
|
6203
6203
|
[Ye.OTHER]: "ic-container"
|
|
6204
|
-
}, Xt = ({ registryType: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(
|
|
6204
|
+
}, Xt = ({ registryType: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(it, { name: cx[e] || "ic-container", size: s, color: null }), wj = {
|
|
6205
6205
|
ecr: {
|
|
6206
6206
|
value: "ecr",
|
|
6207
6207
|
label: "ECR",
|
|
@@ -6408,7 +6408,7 @@ const rx = "bulk-selection-pop-up-menu", Pr = {
|
|
|
6408
6408
|
/* @__PURE__ */ t.jsx(ne, { content: o, children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 dc__truncate dc__mxw-200", children: o }) })
|
|
6409
6409
|
] });
|
|
6410
6410
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
6411
|
-
/* @__PURE__ */ t.jsx("div", { className: "flex left column", children: l ?? /* @__PURE__ */ t.jsx(
|
|
6411
|
+
/* @__PURE__ */ t.jsx("div", { className: "flex left column", children: l ?? /* @__PURE__ */ t.jsx(ct, { condition: !!e, wrap: u, children: /* @__PURE__ */ t.jsxs(
|
|
6412
6412
|
"div",
|
|
6413
6413
|
{
|
|
6414
6414
|
className: "commit-hash commit-hash--docker dc__gap-8",
|
|
@@ -6452,7 +6452,7 @@ const rx = "bulk-selection-pop-up-menu", Pr = {
|
|
|
6452
6452
|
return { Icon: /* @__PURE__ */ t.jsx(km, { className: "icon-dim-16" }), stateClassName: "bcr-1 er-2" };
|
|
6453
6453
|
case ms.DEPLOYING:
|
|
6454
6454
|
return {
|
|
6455
|
-
Icon: /* @__PURE__ */ t.jsx(
|
|
6455
|
+
Icon: /* @__PURE__ */ t.jsx(it, { name: "ic-circle-loader", color: "O500" }),
|
|
6456
6456
|
stateClassName: "bcy-1 ey-2"
|
|
6457
6457
|
};
|
|
6458
6458
|
default:
|
|
@@ -6760,7 +6760,7 @@ const xx = {
|
|
|
6760
6760
|
{
|
|
6761
6761
|
type: "button",
|
|
6762
6762
|
className: `dc__transparent p-0 cn-7 flex dc__content-start dc__gap-4 dc__select-text ${o ? "" : "cursor-default"} dc__position-rel`,
|
|
6763
|
-
onClick: o ? s :
|
|
6763
|
+
onClick: o ? s : lt,
|
|
6764
6764
|
disabled: r,
|
|
6765
6765
|
tabIndex: r || !o ? -1 : 0,
|
|
6766
6766
|
"data-testid": a,
|
|
@@ -6820,7 +6820,16 @@ const xx = {
|
|
|
6820
6820
|
return (
|
|
6821
6821
|
// Added for type consistency
|
|
6822
6822
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
|
6823
|
-
/* @__PURE__ */ t.jsx(t.Fragment, { children: n || !n && typeof s == "string" ? /* @__PURE__ */ t.jsx(
|
|
6823
|
+
/* @__PURE__ */ t.jsx(t.Fragment, { children: n || !n && typeof s == "string" ? /* @__PURE__ */ t.jsx(
|
|
6824
|
+
"img",
|
|
6825
|
+
{
|
|
6826
|
+
loading: "lazy",
|
|
6827
|
+
alt: "",
|
|
6828
|
+
...e,
|
|
6829
|
+
src: n || s,
|
|
6830
|
+
onError: r
|
|
6831
|
+
}
|
|
6832
|
+
) : s })
|
|
6824
6833
|
);
|
|
6825
6834
|
}, ti = ({
|
|
6826
6835
|
scanToolName: e,
|
|
@@ -6838,7 +6847,9 @@ const xx = {
|
|
|
6838
6847
|
imageProps: {
|
|
6839
6848
|
src: s,
|
|
6840
6849
|
className: "icon-dim-20-imp",
|
|
6841
|
-
alt: "scan-tool"
|
|
6850
|
+
alt: "scan-tool",
|
|
6851
|
+
height: 20,
|
|
6852
|
+
width: 20
|
|
6842
6853
|
},
|
|
6843
6854
|
fallbackImage: /* @__PURE__ */ t.jsx(Qp, { className: "icon-dim-20-imp dc__no-shrink" })
|
|
6844
6855
|
}
|
|
@@ -7546,7 +7557,7 @@ const xx = {
|
|
|
7546
7557
|
return /* @__PURE__ */ t.jsx(Po, { className: "icon-dim-16 ic-error-cross-red dc__no-shrink" });
|
|
7547
7558
|
case "Progressing":
|
|
7548
7559
|
return /* @__PURE__ */ t.jsx(
|
|
7549
|
-
|
|
7560
|
+
$e,
|
|
7550
7561
|
{
|
|
7551
7562
|
fillColor: "var(--Y500)",
|
|
7552
7563
|
styles: {
|
|
@@ -7995,7 +8006,7 @@ const xx = {
|
|
|
7995
8006
|
`${c.category}${c.subCategory}${p}`
|
|
7996
8007
|
)
|
|
7997
8008
|
] });
|
|
7998
|
-
}, E = () => n ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx(
|
|
8009
|
+
}, E = () => n ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx($e, { size: 24, pageLoader: !0 }) }) : a ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx(xr, { code: a.code }) }) : (
|
|
7999
8010
|
/* NOTE: the height is restricted to (viewport - header) height since we need overflow-scroll */
|
|
8000
8011
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox", style: { height: "calc(100vh - 49px)" }, children: [
|
|
8001
8012
|
e && /* @__PURE__ */ t.jsx(e, { modalState: c, setModalState: d, scanResult: r }),
|
|
@@ -8076,7 +8087,7 @@ const xx = {
|
|
|
8076
8087
|
const o = Ud(n), i = !!o, l = Object.entries(Ba).map(([_, x]) => ({
|
|
8077
8088
|
...x,
|
|
8078
8089
|
value: n[_]
|
|
8079
|
-
})).filter((_) => !!_.value), c = () => r ? /* @__PURE__ */ t.jsx(
|
|
8090
|
+
})).filter((_) => !!_.value), c = () => r ? /* @__PURE__ */ t.jsx(As, { className: "icon-dim-24 dc__no-shrink" }) : i ? /* @__PURE__ */ t.jsx(Um, { className: "icon-dim-24 scr-5 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(Bm, { className: "icon-dim-24 scg-5 dc__no-shrink" }), d = () => {
|
|
8080
8091
|
if (r)
|
|
8081
8092
|
return s === z.VULNERABILITIES ? { title: "Vulnerability scan failed", subtitle: "Failed" } : { title: "License scan failed", subtitle: "Failed" };
|
|
8082
8093
|
switch (s) {
|
|
@@ -8231,7 +8242,7 @@ const xx = {
|
|
|
8231
8242
|
if (U(() => {
|
|
8232
8243
|
u && o(u.result.imageScan?.vulnerability?.list?.[0].list?.length);
|
|
8233
8244
|
}, [u]), d)
|
|
8234
|
-
return /* @__PURE__ */ t.jsx("div", { className: "security-tab-empty bcn-1", children: /* @__PURE__ */ t.jsx(
|
|
8245
|
+
return /* @__PURE__ */ t.jsx("div", { className: "security-tab-empty bcn-1", children: /* @__PURE__ */ t.jsx($e, {}) });
|
|
8235
8246
|
if (m)
|
|
8236
8247
|
return /* @__PURE__ */ t.jsxs("div", { className: "security-tab-empty", children: [
|
|
8237
8248
|
/* @__PURE__ */ t.jsx("p", { className: "security-tab-empty__title", children: "Failed to fetch vulnerabilities" }),
|
|
@@ -8362,8 +8373,8 @@ const xx = {
|
|
|
8362
8373
|
label: e,
|
|
8363
8374
|
value: s,
|
|
8364
8375
|
handleRemoveFilter: n,
|
|
8365
|
-
getFormattedLabel: a =
|
|
8366
|
-
getFormattedValue: r =
|
|
8376
|
+
getFormattedLabel: a = lt,
|
|
8377
|
+
getFormattedValue: r = lt,
|
|
8367
8378
|
showRemoveIcon: o,
|
|
8368
8379
|
shouldHideLabel: i = !1
|
|
8369
8380
|
}) => {
|
|
@@ -8615,12 +8626,12 @@ const xx = {
|
|
|
8615
8626
|
/* @__PURE__ */ t.jsx(ar, { className: "icon-dim-16 cursor mw-16", onClick: () => o(!r) })
|
|
8616
8627
|
] });
|
|
8617
8628
|
}, Fd = $t(null), sa = () => {
|
|
8618
|
-
const e =
|
|
8629
|
+
const e = Ts(Fd);
|
|
8619
8630
|
if (!e)
|
|
8620
8631
|
throw new Error("Please wrap with MainContextProvider");
|
|
8621
8632
|
return e;
|
|
8622
8633
|
}, Wj = ({ children: e, value: s }) => /* @__PURE__ */ t.jsx(Fd.Provider, { value: s, children: e }), Vd = $t(null), zj = () => {
|
|
8623
|
-
const e =
|
|
8634
|
+
const e = Ts(Vd);
|
|
8624
8635
|
if (!e)
|
|
8625
8636
|
throw new Error("useImageSelectionUtilityContext must be used within ImageSelectionUtilityProvider");
|
|
8626
8637
|
return e;
|
|
@@ -8686,11 +8697,11 @@ const ts = {
|
|
|
8686
8697
|
);
|
|
8687
8698
|
return /* @__PURE__ */ t.jsx(zd.Provider, { value: o, children: e });
|
|
8688
8699
|
}, qd = () => {
|
|
8689
|
-
const e =
|
|
8700
|
+
const e = Ts(zd);
|
|
8690
8701
|
if (!e)
|
|
8691
8702
|
throw new Error("useTheme must be used within ThemeProvider");
|
|
8692
8703
|
return e;
|
|
8693
|
-
}, Xd = $t(null), Jd = () =>
|
|
8704
|
+
}, Xd = $t(null), Jd = () => Ts(Xd), Jj = ({ children: e }) => {
|
|
8694
8705
|
const [s, n] = y(""), a = J(
|
|
8695
8706
|
() => ({
|
|
8696
8707
|
email: s,
|
|
@@ -8747,7 +8758,7 @@ const bt = ge.memo(
|
|
|
8747
8758
|
}) => {
|
|
8748
8759
|
const { name: u, selected: m, select: p, disabled: _, onChange: x } = cN();
|
|
8749
8760
|
return /* @__PURE__ */ t.jsx(
|
|
8750
|
-
|
|
8761
|
+
ct,
|
|
8751
8762
|
{
|
|
8752
8763
|
condition: a,
|
|
8753
8764
|
wrap: (g) => dN(g, r, o, c),
|
|
@@ -8853,7 +8864,7 @@ const mN = {
|
|
|
8853
8864
|
)
|
|
8854
8865
|
] });
|
|
8855
8866
|
}, fN = ({ className: e, userFirstLetter: s, setShowLogOutCard: n, showLogOutCard: a }) => {
|
|
8856
|
-
const r =
|
|
8867
|
+
const r = Gs(), { viewIsPipelineRBACConfiguredNode: o } = sa(), i = () => {
|
|
8857
8868
|
document.cookie = "argocd.token=; expires=Thu, 01-Jan-1970 00:00:01 GMT;path=/", r.push("/login");
|
|
8858
8869
|
}, l = () => {
|
|
8859
8870
|
n(!a);
|
|
@@ -9015,7 +9026,7 @@ const xN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), NN = ({ className:
|
|
|
9015
9026
|
m(E);
|
|
9016
9027
|
}, g = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
9017
9028
|
" ",
|
|
9018
|
-
d.map((f, E) => /* @__PURE__ */ t.jsxs(
|
|
9029
|
+
d.map((f, E) => /* @__PURE__ */ t.jsxs(Us, { children: [
|
|
9019
9030
|
/* @__PURE__ */ t.jsxs(
|
|
9020
9031
|
"a",
|
|
9021
9032
|
{
|
|
@@ -9037,7 +9048,7 @@ const xN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), NN = ({ className:
|
|
|
9037
9048
|
] });
|
|
9038
9049
|
return /* @__PURE__ */ t.jsx("div", { className: "dc__transparent-div", onClick: p, children: /* @__PURE__ */ t.jsxs("div", { className: `help-card pt-4 pb-4 ${e} ${l ? "help-grid__feedback" : ""}`, children: [
|
|
9039
9050
|
!window._env_.K8S_CLIENT && /* @__PURE__ */ t.jsxs(
|
|
9040
|
-
|
|
9051
|
+
ut,
|
|
9041
9052
|
{
|
|
9042
9053
|
to: `/${Ie.GETTING_STARTED}`,
|
|
9043
9054
|
className: "help-card__option dc__no-decor help-card__link flex left cn-9",
|
|
@@ -9057,11 +9068,11 @@ const xN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), NN = ({ className:
|
|
|
9057
9068
|
n?.currentVersion || ""
|
|
9058
9069
|
] }),
|
|
9059
9070
|
/* @__PURE__ */ t.jsx("br", {}),
|
|
9060
|
-
/* @__PURE__ */ t.jsx(
|
|
9071
|
+
/* @__PURE__ */ t.jsx(ut, { to: Ie.STACK_MANAGER_ABOUT, children: "Check for Updates" })
|
|
9061
9072
|
] })
|
|
9062
9073
|
] }) });
|
|
9063
9074
|
}, SN = ({ parentClassName: e = "", isCDMaterial: s = !1 }) => {
|
|
9064
|
-
const n = window?._env_?.ANNOUNCEMENT_BANNER_MSG, a = n ?
|
|
9075
|
+
const n = window?._env_?.ANNOUNCEMENT_BANNER_MSG, a = n ? Bs.sanitize(n) : null, r = () => {
|
|
9065
9076
|
const d = typeof Storage < "u" && localStorage.getItem(
|
|
9066
9077
|
// it will store date and time of next day i.e, it will hide banner until this date
|
|
9067
9078
|
"expiryDateOfHidingAnnouncementBanner"
|
|
@@ -9337,7 +9348,7 @@ const xN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), NN = ({ className:
|
|
|
9337
9348
|
}
|
|
9338
9349
|
);
|
|
9339
9350
|
}, Qj = ({ headerName: e }) => {
|
|
9340
|
-
const s = xt(), n =
|
|
9351
|
+
const s = xt(), n = Gs(), a = vs(), { serverMode: r } = sa(), [o, i] = y(!1), l = () => {
|
|
9341
9352
|
i((_) => !_);
|
|
9342
9353
|
}, c = () => {
|
|
9343
9354
|
n.push(Ie.CHARTS_DISCOVER);
|
|
@@ -9451,7 +9462,7 @@ class li extends sr {
|
|
|
9451
9462
|
disabled: !!this.props.disabled,
|
|
9452
9463
|
className: `${this.props.rootClassName}`,
|
|
9453
9464
|
onClick: this.clickHandler,
|
|
9454
|
-
children: this.props.isLoading ? /* @__PURE__ */ t.jsx(
|
|
9465
|
+
children: this.props.isLoading ? /* @__PURE__ */ t.jsx($e, {}) : this.props.children
|
|
9455
9466
|
}
|
|
9456
9467
|
);
|
|
9457
9468
|
}
|
|
@@ -9521,7 +9532,7 @@ const eO = ({
|
|
|
9521
9532
|
const { result: e } = await ae(F.ENVIRONMENT_LIST_MIN);
|
|
9522
9533
|
return e ? IN(e) : [];
|
|
9523
9534
|
} catch (e) {
|
|
9524
|
-
return
|
|
9535
|
+
return Me(e), e;
|
|
9525
9536
|
}
|
|
9526
9537
|
}, tO = ({
|
|
9527
9538
|
handleEnvironmentChange: e,
|
|
@@ -9552,12 +9563,12 @@ const eO = ({
|
|
|
9552
9563
|
placeholder: a,
|
|
9553
9564
|
components: {
|
|
9554
9565
|
IndicatorSeparator: null,
|
|
9555
|
-
LoadingIndicator:
|
|
9566
|
+
LoadingIndicator: wh,
|
|
9556
9567
|
NoOptionsMessage: x,
|
|
9557
|
-
GroupHeading:
|
|
9568
|
+
GroupHeading: Dh,
|
|
9558
9569
|
ClearIndicator: DN
|
|
9559
9570
|
},
|
|
9560
|
-
styles: o ??
|
|
9571
|
+
styles: o ?? Ph,
|
|
9561
9572
|
backspaceRemovesValue: !1,
|
|
9562
9573
|
autoFocus: l
|
|
9563
9574
|
}
|
|
@@ -9801,7 +9812,7 @@ const LN = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
|
9801
9812
|
style: { background: e.isFocused ? "var(--N100)" : "transparent" },
|
|
9802
9813
|
children: [
|
|
9803
9814
|
/* @__PURE__ */ t.jsx(
|
|
9804
|
-
|
|
9815
|
+
Is,
|
|
9805
9816
|
{
|
|
9806
9817
|
isChecked: e.isSelected || !1,
|
|
9807
9818
|
onChange: i,
|
|
@@ -9810,7 +9821,7 @@ const LN = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
|
9810
9821
|
disabled: a || !1
|
|
9811
9822
|
}
|
|
9812
9823
|
),
|
|
9813
|
-
/* @__PURE__ */ t.jsx(
|
|
9824
|
+
/* @__PURE__ */ t.jsx(Be.Option, { ...e })
|
|
9814
9825
|
]
|
|
9815
9826
|
}
|
|
9816
9827
|
), c = (d) => {
|
|
@@ -9826,22 +9837,22 @@ const LN = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
|
9826
9837
|
}
|
|
9827
9838
|
);
|
|
9828
9839
|
};
|
|
9829
|
-
return /* @__PURE__ */ t.jsx(
|
|
9840
|
+
return /* @__PURE__ */ t.jsx(ct, { condition: r, wrap: c, children: l() });
|
|
9830
9841
|
}, rO = (e) => {
|
|
9831
9842
|
const { selectOption: s, data: n } = e, a = { height: "16px", width: "16px", flex: "0 0 16px" }, r = (o) => s(n);
|
|
9832
9843
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex left pl-12", style: { background: e.isFocused ? "var(--N100)" : "transparent" }, children: [
|
|
9833
9844
|
e.isSelected ? /* @__PURE__ */ t.jsx(cr, { onClick: r, className: "mr-8 icon-dim-16", style: a }) : /* @__PURE__ */ t.jsx("span", { onClick: r, className: "mr-8", style: a }),
|
|
9834
|
-
/* @__PURE__ */ t.jsx(
|
|
9845
|
+
/* @__PURE__ */ t.jsx(Be.Option, { ...e })
|
|
9835
9846
|
] });
|
|
9836
9847
|
}, oO = (e) => {
|
|
9837
9848
|
const { children: s, data: n, innerProps: a, selectProps: r } = e, { label: o, value: i } = n;
|
|
9838
|
-
return /* @__PURE__ */ t.jsxs(
|
|
9849
|
+
return /* @__PURE__ */ t.jsxs(Be.MultiValueContainer, { data: n, innerProps: a, selectProps: r, children: [
|
|
9839
9850
|
/* @__PURE__ */ t.jsx("div", { className: "flex fs-12 ml-4 cn-9", children: o }),
|
|
9840
9851
|
s[1]
|
|
9841
9852
|
] });
|
|
9842
9853
|
}, iO = (e) => {
|
|
9843
9854
|
const { children: s, data: n, innerProps: a, selectProps: r } = e, o = r.value?.length ?? 0;
|
|
9844
|
-
return /* @__PURE__ */ t.jsxs(
|
|
9855
|
+
return /* @__PURE__ */ t.jsxs(Be.MultiValueContainer, { data: n, innerProps: a, selectProps: r, children: [
|
|
9845
9856
|
(!r.menuIsOpen || !r.inputValue) && /* @__PURE__ */ t.jsxs("span", { className: "cn-9 fs-13 lh-20", children: [
|
|
9846
9857
|
r.placeholder,
|
|
9847
9858
|
o > 0 && /* @__PURE__ */ t.jsx("span", { className: "bcb-5 cn-0 fw-6 fs-12 br-8 ml-4 pr-8 pl-8", children: o })
|
|
@@ -9860,7 +9871,7 @@ const LN = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
|
9860
9871
|
data: s,
|
|
9861
9872
|
innerProps: { onClick: n, onMouseDown: a }
|
|
9862
9873
|
} = e;
|
|
9863
|
-
return /* @__PURE__ */ t.jsx(
|
|
9874
|
+
return /* @__PURE__ */ t.jsx(Be.MultiValueRemove, { ...e, children: /* @__PURE__ */ t.jsx(
|
|
9864
9875
|
Po,
|
|
9865
9876
|
{
|
|
9866
9877
|
onClick: n,
|
|
@@ -9872,7 +9883,7 @@ const LN = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
|
9872
9883
|
) });
|
|
9873
9884
|
}, cO = ({ validator: e, isAllSelected: s = !1, ...n }) => {
|
|
9874
9885
|
const { children: a, data: r, innerProps: o, selectProps: i } = n, { label: l, value: c } = r, d = e ? e(c) : !0;
|
|
9875
|
-
return s && c !== "*" ? null : /* @__PURE__ */ t.jsxs(
|
|
9886
|
+
return s && c !== "*" ? null : /* @__PURE__ */ t.jsxs(Be.MultiValueContainer, { data: r, innerProps: o, selectProps: i, children: [
|
|
9876
9887
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left fs-12 pl-4 pr-4 dc__ellipsis-right", children: [
|
|
9877
9888
|
!d && /* @__PURE__ */ t.jsx(Ap, { className: "mr-4 icon-dim-16 dc__no-shrink" }),
|
|
9878
9889
|
/* @__PURE__ */ t.jsx("div", { className: `dc__ellipsis-right ${d ? "cn-9" : "cr-5"}`, children: l })
|
|
@@ -9943,8 +9954,8 @@ const LN = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
|
9943
9954
|
ERROR: "error",
|
|
9944
9955
|
CANCELLED: "cancelled",
|
|
9945
9956
|
UNABLE_TO_FETCH: "unabletofetch",
|
|
9946
|
-
TIMED_OUT:
|
|
9947
|
-
WAITING_TO_START:
|
|
9957
|
+
TIMED_OUT: Fs.TIMED_OUT.toLowerCase(),
|
|
9958
|
+
WAITING_TO_START: Fs.WAITING_TO_START.toLowerCase()
|
|
9948
9959
|
}, _a = {
|
|
9949
9960
|
MESSAGE: "message",
|
|
9950
9961
|
START_OF_STREAM: "START_OF_STREAM",
|
|
@@ -9964,8 +9975,8 @@ const LN = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
|
9964
9975
|
progressing: "var(--O500)",
|
|
9965
9976
|
initiating: "var(--O500)",
|
|
9966
9977
|
starting: "var(--O500)",
|
|
9967
|
-
[
|
|
9968
|
-
[
|
|
9978
|
+
[Fs.WAITING_TO_START.toLowerCase()]: "var(--O500)",
|
|
9979
|
+
[Fs.TIMED_OUT.toLowerCase()]: "var(--R500)",
|
|
9969
9980
|
succeeded: "var(--G500)",
|
|
9970
9981
|
running: "var(--O500)",
|
|
9971
9982
|
failed: "var(--R500)",
|
|
@@ -10103,7 +10114,7 @@ const qN = (e, s) => {
|
|
|
10103
10114
|
default:
|
|
10104
10115
|
return e;
|
|
10105
10116
|
}
|
|
10106
|
-
}, ZN = (e) => e ===
|
|
10117
|
+
}, ZN = (e) => e === Fs.WAITING_TO_START ? "Waiting to start" : e, QN = (e) => /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__align-items-center dc__gap-6", children: e }), eC = ({
|
|
10107
10118
|
status: e,
|
|
10108
10119
|
hideIcon: s = !1,
|
|
10109
10120
|
hideMessage: n = !1,
|
|
@@ -10115,7 +10126,7 @@ const qN = (e, s) => {
|
|
|
10115
10126
|
const l = (e || "").toLowerCase().replace(/ /g, "-"), c = i || e || "", d = () => {
|
|
10116
10127
|
const m = qN(l, r), p = XN(l);
|
|
10117
10128
|
return m ? /* @__PURE__ */ t.jsx(
|
|
10118
|
-
|
|
10129
|
+
it,
|
|
10119
10130
|
{
|
|
10120
10131
|
name: m,
|
|
10121
10132
|
size: a,
|
|
@@ -10135,7 +10146,7 @@ const qN = (e, s) => {
|
|
|
10135
10146
|
children: c
|
|
10136
10147
|
}
|
|
10137
10148
|
) }) : null;
|
|
10138
|
-
return /* @__PURE__ */ t.jsxs(
|
|
10149
|
+
return /* @__PURE__ */ t.jsxs(ct, { condition: !s && !n, wrap: QN, children: [
|
|
10139
10150
|
!s && d(),
|
|
10140
10151
|
!n && u()
|
|
10141
10152
|
] });
|
|
@@ -10149,7 +10160,7 @@ const qN = (e, s) => {
|
|
|
10149
10160
|
const r = s ? ZN(e) : e, o = n ? En.NOT_AVAILABLE : r ?? "", i = o.toLowerCase().replace(/ /g, "-") === En.NOT_DEPLOYED || o.toLowerCase() === En.NOT_DEPLOYED_NO_SPACE, l = s ? En.JOB_VIEW_NOT_DEPLOYED_MESSAGE : En.NOT_DEPLOYED_MESSAGE, c = i ? l : o;
|
|
10150
10161
|
return o ? /* @__PURE__ */ t.jsx(eC, { status: o, message: c, ...a }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-6", children: [
|
|
10151
10162
|
/* @__PURE__ */ t.jsx(
|
|
10152
|
-
|
|
10163
|
+
it,
|
|
10153
10164
|
{
|
|
10154
10165
|
name: "ic-info-outline",
|
|
10155
10166
|
size: a.iconSize,
|
|
@@ -10222,7 +10233,7 @@ const qN = (e, s) => {
|
|
|
10222
10233
|
case "success":
|
|
10223
10234
|
return /* @__PURE__ */ t.jsx(Ip, { className: "icon-dim-20 green-tick", "data-testid": "success-green-tick" });
|
|
10224
10235
|
case "failed":
|
|
10225
|
-
return /* @__PURE__ */ t.jsx(
|
|
10236
|
+
return /* @__PURE__ */ t.jsx(As, { className: "icon-dim-20" });
|
|
10226
10237
|
case "unknown":
|
|
10227
10238
|
return /* @__PURE__ */ t.jsx(un, { className: "icon-dim-20" });
|
|
10228
10239
|
case "inprogress":
|
|
@@ -10230,7 +10241,7 @@ const qN = (e, s) => {
|
|
|
10230
10241
|
case "unreachable":
|
|
10231
10242
|
return /* @__PURE__ */ t.jsx(at, { className: "icon-dim-20" });
|
|
10232
10243
|
case "loading":
|
|
10233
|
-
return /* @__PURE__ */ t.jsx(
|
|
10244
|
+
return /* @__PURE__ */ t.jsx(it, { name: "ic-circle-loader", color: "O500", size: 20 });
|
|
10234
10245
|
case "disconnect":
|
|
10235
10246
|
return /* @__PURE__ */ t.jsx(Rp, { className: "icon-dim-20" });
|
|
10236
10247
|
case "time_out":
|
|
@@ -10289,11 +10300,11 @@ const qN = (e, s) => {
|
|
|
10289
10300
|
[Te.NOT_STARTED]: Nt.INPROGRESS,
|
|
10290
10301
|
[Te.RUNNING]: Nt.INPROGRESS
|
|
10291
10302
|
};
|
|
10292
|
-
return s[e] ? /* @__PURE__ */ t.jsx(di, { status: s[e], iconSize: 20, hideMessage: !0, hideIconTooltip: !0 }) : /* @__PURE__ */ t.jsx(
|
|
10303
|
+
return s[e] ? /* @__PURE__ */ t.jsx(di, { status: s[e], iconSize: 20, hideMessage: !0, hideIconTooltip: !0 }) : /* @__PURE__ */ t.jsx(it, { name: "ic-help-outline", size: 20, color: "N500" });
|
|
10293
10304
|
}, rC = (e) => {
|
|
10294
10305
|
const s = ui(e);
|
|
10295
|
-
return s ? s.finishedOn ? !Wa[s.currentStatus] && Wa[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(
|
|
10296
|
-
}, oC = (e = gr, s = $N) => `/resource-browser/${e}/${s}/pod/k8sEmptyGroup`, su = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e ===
|
|
10306
|
+
return s ? s.finishedOn ? !Wa[s.currentStatus] && Wa[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(it, { name: "ic-warning", size: 20, color: null }) : tu(s.workerDetails.status) : /* @__PURE__ */ t.jsx(it, { name: "ic-in-progress", size: 20, color: null }) : /* @__PURE__ */ t.jsx(it, { name: "ic-help-outline", size: 20, color: "N500" });
|
|
10307
|
+
}, oC = (e = gr, s = $N) => `/resource-browser/${e}/${s}/pod/k8sEmptyGroup`, su = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === Fs.WAITING_TO_START ? "Waiting to start" : e : null, Er = (e) => fs(e) ? Le(e, "YYYY-MM-DDTHH:mm:ssZ").format(Tt.TWELVE_HOURS_FORMAT) : "", iC = (e) => (e || []).reduce(
|
|
10297
10308
|
(s, n) => {
|
|
10298
10309
|
const a = n.health?.status?.toLowerCase() ?? "";
|
|
10299
10310
|
switch (n.hasDrift && (s.driftedNodeCount += 1), a) {
|
|
@@ -10451,7 +10462,7 @@ const qN = (e, s) => {
|
|
|
10451
10462
|
) : /* @__PURE__ */ t.jsx("span", { className: "dc__ellipsis-right", children: _ })
|
|
10452
10463
|
] })
|
|
10453
10464
|
] });
|
|
10454
|
-
}, Co = ({ handleClick: e =
|
|
10465
|
+
}, Co = ({ handleClick: e = lt, commits: s }) => s?.length > 0 ? /* @__PURE__ */ t.jsx("div", { className: "flexbox", children: /* @__PURE__ */ t.jsxs(
|
|
10455
10466
|
"button",
|
|
10456
10467
|
{
|
|
10457
10468
|
type: "button",
|
|
@@ -10529,7 +10540,7 @@ const qN = (e, s) => {
|
|
|
10529
10540
|
children: [
|
|
10530
10541
|
/* @__PURE__ */ t.jsx("span", { className: "cb-5 fs-12 fw-6 lh-20", children: l ? "Show less" : "Show more" }),
|
|
10531
10542
|
/* @__PURE__ */ t.jsx(
|
|
10532
|
-
|
|
10543
|
+
$s,
|
|
10533
10544
|
{
|
|
10534
10545
|
className: `dc__no-shrink icon-dim-16 flex scb-5 dc__transition--transform ${l ? "dc__flip-180" : ""}`
|
|
10535
10546
|
}
|
|
@@ -10555,7 +10566,7 @@ const qN = (e, s) => {
|
|
|
10555
10566
|
if (!e && !s)
|
|
10556
10567
|
return null;
|
|
10557
10568
|
const m = a && (!fs(r) || !Le(r).isBefore(Le().subtract(BN, "hours"))), p = () => m ? /* @__PURE__ */ t.jsx(
|
|
10558
|
-
|
|
10569
|
+
ut,
|
|
10559
10570
|
{
|
|
10560
10571
|
to: `${oC(o, i)}/${a}/logs`,
|
|
10561
10572
|
target: "_blank",
|
|
@@ -10564,7 +10575,7 @@ const qN = (e, s) => {
|
|
|
10564
10575
|
}
|
|
10565
10576
|
) : null;
|
|
10566
10577
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
10567
|
-
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: Wa[s] ? /* @__PURE__ */ t.jsx(
|
|
10578
|
+
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: Wa[s] ? /* @__PURE__ */ t.jsx(it, { size: 20, name: "ic-warning", color: null }) : /* @__PURE__ */ t.jsx(mp, { className: "icon-dim-20 dc__no-shrink scn-7" }) }),
|
|
10568
10579
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
|
|
10569
10580
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8", children: [
|
|
10570
10581
|
/* @__PURE__ */ t.jsxs("div", { className: `flexbox cn-9 ${c}`, children: [
|
|
@@ -10692,13 +10703,13 @@ const qN = (e, s) => {
|
|
|
10692
10703
|
namespace: g,
|
|
10693
10704
|
workflowExecutionStages: f
|
|
10694
10705
|
}) => {
|
|
10695
|
-
const { path: E, params: h } = Kt(), { pathname: N } =
|
|
10706
|
+
const { path: E, params: h } = Kt(), { pathname: N } = vs(), C = N.split("/").pop(), { envId: A, ...S } = xt(), I = c === Oe.CD || c === Oe.GROUP_CD, R = I ? "triggerId" : "buildId", v = _ === p?.id, T = q(null), O = () => {
|
|
10696
10707
|
const B = {
|
|
10697
10708
|
...S,
|
|
10698
10709
|
envId: A,
|
|
10699
10710
|
[R]: e
|
|
10700
10711
|
};
|
|
10701
|
-
return `${
|
|
10712
|
+
return `${Ps(E, B)}/${C}`;
|
|
10702
10713
|
}, b = () => {
|
|
10703
10714
|
T?.current && T.current.scrollIntoView({ behavior: "smooth" });
|
|
10704
10715
|
};
|
|
@@ -10709,7 +10720,7 @@ const qN = (e, s) => {
|
|
|
10709
10720
|
+j == +e && (T.current = B);
|
|
10710
10721
|
}, k = d !== Qt.DEPLOY && Object.keys(f || {}).length > 0;
|
|
10711
10722
|
return /* @__PURE__ */ t.jsx(
|
|
10712
|
-
|
|
10723
|
+
ct,
|
|
10713
10724
|
{
|
|
10714
10725
|
condition: Array.isArray(o),
|
|
10715
10726
|
wrap: (B) => /* @__PURE__ */ t.jsx(
|
|
@@ -10746,7 +10757,7 @@ const qN = (e, s) => {
|
|
|
10746
10757
|
}
|
|
10747
10758
|
),
|
|
10748
10759
|
children: /* @__PURE__ */ t.jsx(
|
|
10749
|
-
|
|
10760
|
+
ut,
|
|
10750
10761
|
{
|
|
10751
10762
|
to: O,
|
|
10752
10763
|
className: "w-100 deployment-history-card-container p-8 br-4",
|
|
@@ -10800,8 +10811,8 @@ const qN = (e, s) => {
|
|
|
10800
10811
|
renderRunSource: c,
|
|
10801
10812
|
resourceId: d
|
|
10802
10813
|
}) => {
|
|
10803
|
-
const { pipelineId: u, appId: m, envId: p } = xt(), { push: _ } =
|
|
10804
|
-
e === Oe.CI ? (r({ offset: 0, size: 20 }), _(
|
|
10814
|
+
const { pipelineId: u, appId: m, envId: p } = xt(), { push: _ } = Gs(), { path: x } = Kt(), g = (S) => {
|
|
10815
|
+
e === Oe.CI ? (r({ offset: 0, size: 20 }), _(Ps(x, { appId: m, pipelineId: S.value }))) : e === Oe.GROUP_CI ? (r({ offset: 0, size: 20 }), _(Ps(x, { envId: p, pipelineId: S.pipelineId }))) : e === Oe.GROUP_CD ? (r({ offset: 0, size: 20 }), _(Ps(x, { envId: p, appId: S.value, pipelineId: S.pipelineId }))) : (r({ offset: 0, size: 20 }), _(Ps(x, { appId: m, envId: S.value, pipelineId: S.pipelineId })));
|
|
10805
10816
|
}, f = () => {
|
|
10806
10817
|
hs.event({
|
|
10807
10818
|
category: "pagination",
|
|
@@ -10811,9 +10822,9 @@ const qN = (e, s) => {
|
|
|
10811
10822
|
}), r({ offset: n.size, size: 20 });
|
|
10812
10823
|
}, E = () => e === Oe.CI || e === Oe.GROUP_CI ? u : e === Oe.GROUP_CD ? m : p, h = s?.find((S) => S.value === E()) ?? null;
|
|
10813
10824
|
s?.sort((S, I) => S.label > I.label ? 1 : -1);
|
|
10814
|
-
const N = s?.filter((S) => !S.deploymentAppDeleteRequest), C = () => e === Oe.GROUP_CI || e === Oe.GROUP_CD ? Ur.APPLICATION : e === Oe.CI ? Ur.PIPELINE : Ur.ENVIRONMENT, A = (S) => (S.selectProps.styles.option =
|
|
10825
|
+
const N = s?.filter((S) => !S.deploymentAppDeleteRequest), C = () => e === Oe.GROUP_CI || e === Oe.GROUP_CD ? Ur.APPLICATION : e === Oe.CI ? Ur.PIPELINE : Ur.ENVIRONMENT, A = (S) => (S.selectProps.styles.option = Lh(), /* @__PURE__ */ t.jsx(Be.Option, { ...S, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc dc__gap-4", children: [
|
|
10815
10826
|
(e === Oe.CI || e === Oe.GROUP_CI) && /* @__PURE__ */ t.jsx(
|
|
10816
|
-
|
|
10827
|
+
it,
|
|
10817
10828
|
{
|
|
10818
10829
|
name: S.data.pipelineType?.toLowerCase() === "ci_job" ? "ic-job-color" : "ic-build-color",
|
|
10819
10830
|
size: 20,
|
|
@@ -11006,7 +11017,7 @@ const qN = (e, s) => {
|
|
|
11006
11017
|
}
|
|
11007
11018
|
}
|
|
11008
11019
|
} catch (c) {
|
|
11009
|
-
return s(!1),
|
|
11020
|
+
return s(!1), Me(c), c;
|
|
11010
11021
|
}
|
|
11011
11022
|
return s(!1), null;
|
|
11012
11023
|
}, isDownloading: e };
|
|
@@ -11041,7 +11052,7 @@ const qN = (e, s) => {
|
|
|
11041
11052
|
d({}), S(n, R);
|
|
11042
11053
|
};
|
|
11043
11054
|
U(() => {
|
|
11044
|
-
e?.shouldValidateOnMount && x(
|
|
11055
|
+
e?.shouldValidateOnMount && x(lt)();
|
|
11045
11056
|
}, []);
|
|
11046
11057
|
const g = (S, I, R) => (v) => {
|
|
11047
11058
|
const T = R ? v : v.target.value, O = I ? I(T) : T;
|
|
@@ -11481,7 +11492,7 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11481
11492
|
children: [
|
|
11482
11493
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__transparent dc__align-items-center", children: [
|
|
11483
11494
|
/* @__PURE__ */ t.jsx(
|
|
11484
|
-
|
|
11495
|
+
$s,
|
|
11485
11496
|
{
|
|
11486
11497
|
className: `icon-dim-16 dc__no-shrink dc__transition--transform icon-stroke__white ${s ? "" : "dc__flip-n90 dc__opacity-0_5"}`
|
|
11487
11498
|
}
|
|
@@ -11529,7 +11540,7 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11529
11540
|
{
|
|
11530
11541
|
className: "mono fs-14 mb-0-imp text__white dc__word-break lh-20 dc__unset-pre dc__transparent--imp",
|
|
11531
11542
|
dangerouslySetInnerHTML: {
|
|
11532
|
-
__html:
|
|
11543
|
+
__html: Bs.sanitize(f)
|
|
11533
11544
|
}
|
|
11534
11545
|
}
|
|
11535
11546
|
)
|
|
@@ -11545,7 +11556,7 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11545
11556
|
] })
|
|
11546
11557
|
] });
|
|
11547
11558
|
}, cu = (e) => /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center flex-align-center dc__height-inherit", children: /* @__PURE__ */ t.jsxs("div", { children: [
|
|
11548
|
-
/* @__PURE__ */ t.jsx("div", { className: "text-center", children: /* @__PURE__ */ t.jsx(
|
|
11559
|
+
/* @__PURE__ */ t.jsx("div", { className: "text-center", children: /* @__PURE__ */ t.jsx(gs, { className: "icon-dim-20" }) }),
|
|
11549
11560
|
/* @__PURE__ */ t.jsx("div", { className: "text-center text__white fs-14 fw-6", children: "Logs not available" }),
|
|
11550
11561
|
/* @__PURE__ */ t.jsx("div", { className: "text-center text__white fs-13 fw-4", children: e || "Blob storage was not configured at pipeline run." })
|
|
11551
11562
|
] }) }), DC = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
@@ -11607,15 +11618,15 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11607
11618
|
try {
|
|
11608
11619
|
if (H = H.replace(/\[[.]*m/, (V) => `\x1B[${V}m`), de && T) {
|
|
11609
11620
|
const V = H.split(ji), oe = H.match(ji) || [], se = new RegExp(`(${kE(de)})`, "ig");
|
|
11610
|
-
H = V.reduce((Ne, K,
|
|
11621
|
+
H = V.reduce((Ne, K, Ue) => {
|
|
11611
11622
|
try {
|
|
11612
11623
|
M = M || se.test(K), Ne.push(
|
|
11613
|
-
K.replace(se, (we) => (Ae && _e?.push(Ae), `\x1B[0m\x1B[48;2;${_e && $ === _e.length - 1 ? "0;102;204" : "197;141;54"}m${we}\x1B[0m${
|
|
11624
|
+
K.replace(se, (we) => (Ae && _e?.push(Ae), `\x1B[0m\x1B[48;2;${_e && $ === _e.length - 1 ? "0;102;204" : "197;141;54"}m${we}\x1B[0m${Ue > 0 ? oe[Ue - 1] : ""}`))
|
|
11614
11625
|
);
|
|
11615
11626
|
} catch {
|
|
11616
11627
|
Ne.push(K);
|
|
11617
11628
|
}
|
|
11618
|
-
return
|
|
11629
|
+
return Ue < V.length - 1 && Ne.push(oe[Ue]), Ne;
|
|
11619
11630
|
}, []).join("");
|
|
11620
11631
|
}
|
|
11621
11632
|
return {
|
|
@@ -11636,7 +11647,7 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11636
11647
|
), _e = {}, Ae = [], M = c.reduce((D, V, oe) => {
|
|
11637
11648
|
if (V.startsWith(gl))
|
|
11638
11649
|
try {
|
|
11639
|
-
const { stage: se, startTime: Se, endTime: Ne, status: K, metadata:
|
|
11650
|
+
const { stage: se, startTime: Se, endTime: Ne, status: K, metadata: Ue } = JSON.parse(
|
|
11640
11651
|
V.split(GN)[1]
|
|
11641
11652
|
), we = D.find((St) => St.stage === se && St.startTime === Se), _t = de[se]?.[Se] ?? {};
|
|
11642
11653
|
if (we)
|
|
@@ -11661,7 +11672,7 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11661
11672
|
!!$
|
|
11662
11673
|
),
|
|
11663
11674
|
status: St,
|
|
11664
|
-
targetPlatforms: _r(
|
|
11675
|
+
targetPlatforms: _r(Ue?.targetPlatforms),
|
|
11665
11676
|
logs: []
|
|
11666
11677
|
});
|
|
11667
11678
|
}
|
|
@@ -11777,7 +11788,7 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11777
11788
|
"data-testid": "logs-previous-search-match",
|
|
11778
11789
|
"aria-label": "Focus the previous search result match",
|
|
11779
11790
|
disabled: !A,
|
|
11780
|
-
children: /* @__PURE__ */ t.jsx(
|
|
11791
|
+
children: /* @__PURE__ */ t.jsx($s, { className: "icon-stroke__white dc__flip-180 icon-dim-14 dc__no-shrink" })
|
|
11781
11792
|
}
|
|
11782
11793
|
),
|
|
11783
11794
|
/* @__PURE__ */ t.jsx(
|
|
@@ -11789,7 +11800,7 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11789
11800
|
"data-testid": "logs-next-search-match",
|
|
11790
11801
|
"aria-label": "Focus the next search result match",
|
|
11791
11802
|
disabled: !A,
|
|
11792
|
-
children: /* @__PURE__ */ t.jsx(
|
|
11803
|
+
children: /* @__PURE__ */ t.jsx($s, { className: "icon-stroke__white icon-dim-14 dc__no-shrink" })
|
|
11793
11804
|
}
|
|
11794
11805
|
)
|
|
11795
11806
|
] })
|
|
@@ -11851,13 +11862,13 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11851
11862
|
{
|
|
11852
11863
|
className: "mono fs-14 mb-0-imp",
|
|
11853
11864
|
dangerouslySetInnerHTML: {
|
|
11854
|
-
__html:
|
|
11865
|
+
__html: Bs.sanitize(H)
|
|
11855
11866
|
}
|
|
11856
11867
|
}
|
|
11857
11868
|
)
|
|
11858
11869
|
] }, `logs-${$}`)
|
|
11859
11870
|
)),
|
|
11860
|
-
j && /* @__PURE__ */ t.jsx("div", { className: "flex left event-source-status", children: /* @__PURE__ */ t.jsx(
|
|
11871
|
+
j && /* @__PURE__ */ t.jsx("div", { className: "flex left event-source-status", children: /* @__PURE__ */ t.jsx($e, {}) })
|
|
11861
11872
|
] });
|
|
11862
11873
|
return /* @__PURE__ */ t.jsx("div", { className: `flexbox-col flex-grow-1 ${oi(Mt.dark)}`, children: e.podStatus !== Br.PENDING && u && (!s || !e.blobStorageEnabled) ? PC(s) : je() });
|
|
11863
11874
|
}, UC = ({
|
|
@@ -11909,7 +11920,7 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11909
11920
|
{
|
|
11910
11921
|
className: `bcr-1 ${s === W.HELM_MANIFEST_PUSHED_TO_HELM_REPO ? "fs-13" : "flex left"} ${r ? "" : "er-2 br-4 bw-1"} p-8`,
|
|
11911
11922
|
children: [
|
|
11912
|
-
!r && /* @__PURE__ */ t.jsx(
|
|
11923
|
+
!r && /* @__PURE__ */ t.jsx(As, { className: "icon-dim-20 mr-8" }),
|
|
11913
11924
|
n,
|
|
11914
11925
|
s === W.HELM_MANIFEST_PUSHED_TO_HELM_REPO && /* @__PURE__ */ t.jsxs("ol", { className: "m-0 pl-20", children: [
|
|
11915
11926
|
/* @__PURE__ */ t.jsx("li", { children: "Ensure provided repository path is valid" }),
|
|
@@ -11987,7 +11998,7 @@ const _O = (e, s, n) => ae(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
|
11987
11998
|
{
|
|
11988
11999
|
isKebab: !0,
|
|
11989
12000
|
rootClassName: "flex p-4 dc__border dc__no-left-radius dc__right-radius-4 bg__primary dc__hover-n50",
|
|
11990
|
-
children: /* @__PURE__ */ t.jsx(
|
|
12001
|
+
children: /* @__PURE__ */ t.jsx($s, { className: "icon-dim-14 scn-6" })
|
|
11991
12002
|
}
|
|
11992
12003
|
),
|
|
11993
12004
|
/* @__PURE__ */ t.jsx(nt.Body, { rootClassName: "w-150 py-4 mt-4", style: { left: "136px" }, children: l.map(({ status: p, count: _ }, x) => /* @__PURE__ */ t.jsxs(
|
|
@@ -12173,7 +12184,7 @@ const GC = (e, s) => {
|
|
|
12173
12184
|
showConfigDriftInfo: n = !1,
|
|
12174
12185
|
onClose: a
|
|
12175
12186
|
}) => {
|
|
12176
|
-
const r =
|
|
12187
|
+
const r = Gs(), o = du.getAppDetails(), [i, l] = y(ro), [c, d] = y([]), { appId: u, environmentId: m } = o, p = () => {
|
|
12177
12188
|
a(), r.push(`${Ie.APP}/${u}${Ie.DETAILS}/${m}/${Ie.APP_DETAILS_K8}/${Ie.CONFIG_DRIFT}`);
|
|
12178
12189
|
}, _ = J(
|
|
12179
12190
|
() => FE(o.resourceTree?.nodes || [], o.resourceTree?.podMetadata || []),
|
|
@@ -12261,7 +12272,7 @@ const GC = (e, s) => {
|
|
|
12261
12272
|
},
|
|
12262
12273
|
`${f.kind}/${f.name}`
|
|
12263
12274
|
)) : /* @__PURE__ */ t.jsx("div", { className: "flex dc__height-inherit mh-300", children: /* @__PURE__ */ t.jsxs("div", { className: "dc__align-center", children: [
|
|
12264
|
-
/* @__PURE__ */ t.jsx(
|
|
12275
|
+
/* @__PURE__ */ t.jsx(gs, { className: "icon-dim-20" }),
|
|
12265
12276
|
/* @__PURE__ */ t.jsx("div", { children: "Checking resources status" })
|
|
12266
12277
|
] }) }) }),
|
|
12267
12278
|
s && /* @__PURE__ */ t.jsxs("div", { className: "dc__position-fixed bg__primary flexbox dc__content-space dc__border-top p-16 fs-13 fw-6 footer", children: [
|
|
@@ -12282,7 +12293,7 @@ const GC = (e, s) => {
|
|
|
12282
12293
|
] })
|
|
12283
12294
|
] })
|
|
12284
12295
|
] });
|
|
12285
|
-
},
|
|
12296
|
+
}, ys = ({
|
|
12286
12297
|
type: e,
|
|
12287
12298
|
hideVerticalConnector: s,
|
|
12288
12299
|
deploymentDetailedData: n
|
|
@@ -12295,7 +12306,7 @@ const GC = (e, s) => {
|
|
|
12295
12306
|
try {
|
|
12296
12307
|
const g = await RC({ appId: a, envId: r });
|
|
12297
12308
|
} catch (g) {
|
|
12298
|
-
|
|
12309
|
+
Me(g);
|
|
12299
12310
|
}
|
|
12300
12311
|
}
|
|
12301
12312
|
const m = () => {
|
|
@@ -12462,7 +12473,7 @@ const YC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
|
12462
12473
|
/* @__PURE__ */ t.jsx("span", { className: "mr-8 fw-6", children: "Already provided permission?" }),
|
|
12463
12474
|
"Redeploy the application.",
|
|
12464
12475
|
/* @__PURE__ */ t.jsx(
|
|
12465
|
-
|
|
12476
|
+
ut,
|
|
12466
12477
|
{
|
|
12467
12478
|
to: `/app/${e.appId}/${Ie.APP_TRIGGER}`,
|
|
12468
12479
|
className: "cb-5 fs-13 anchor w-auto dc__no-decor flex",
|
|
@@ -12494,7 +12505,7 @@ const YC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
|
12494
12505
|
"’ registry and deploy again.",
|
|
12495
12506
|
/* @__PURE__ */ t.jsx("br", {}),
|
|
12496
12507
|
/* @__PURE__ */ t.jsx(
|
|
12497
|
-
|
|
12508
|
+
ut,
|
|
12498
12509
|
{
|
|
12499
12510
|
to: `${Ie.GLOBAL_CONFIG_DOCKER}/${e.dockerRegistryId}`,
|
|
12500
12511
|
className: "cb-5 fs-13 anchor w-auto dc__no-decor flex ml-8",
|
|
@@ -12520,7 +12531,7 @@ const YC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
|
12520
12531
|
"data-testid": "deployment-history-steps-status",
|
|
12521
12532
|
children: [
|
|
12522
12533
|
/* @__PURE__ */ t.jsx(
|
|
12523
|
-
|
|
12534
|
+
ys,
|
|
12524
12535
|
{
|
|
12525
12536
|
type: W.DEPLOYMENT_INITIATED,
|
|
12526
12537
|
deploymentDetailedData: e
|
|
@@ -12528,7 +12539,7 @@ const YC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
|
12528
12539
|
),
|
|
12529
12540
|
s && e.deploymentStatusBreakdown[W.HELM_PACKAGE_GENERATED] ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
12530
12541
|
/* @__PURE__ */ t.jsx(
|
|
12531
|
-
|
|
12542
|
+
ys,
|
|
12532
12543
|
{
|
|
12533
12544
|
type: W.HELM_PACKAGE_GENERATED,
|
|
12534
12545
|
hideVerticalConnector: !r,
|
|
@@ -12536,7 +12547,7 @@ const YC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
|
12536
12547
|
}
|
|
12537
12548
|
),
|
|
12538
12549
|
r && /* @__PURE__ */ t.jsx(
|
|
12539
|
-
|
|
12550
|
+
ys,
|
|
12540
12551
|
{
|
|
12541
12552
|
type: W.HELM_MANIFEST_PUSHED_TO_HELM_REPO,
|
|
12542
12553
|
hideVerticalConnector: !0,
|
|
@@ -12553,7 +12564,7 @@ const YC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
|
12553
12564
|
}
|
|
12554
12565
|
),
|
|
12555
12566
|
/* @__PURE__ */ t.jsx(
|
|
12556
|
-
|
|
12567
|
+
ys,
|
|
12557
12568
|
{
|
|
12558
12569
|
type: W.GIT_COMMIT,
|
|
12559
12570
|
deploymentDetailedData: e
|
|
@@ -12568,7 +12579,7 @@ const YC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
|
12568
12579
|
}
|
|
12569
12580
|
),
|
|
12570
12581
|
/* @__PURE__ */ t.jsx(
|
|
12571
|
-
|
|
12582
|
+
ys,
|
|
12572
12583
|
{
|
|
12573
12584
|
type: W.ARGOCD_SYNC,
|
|
12574
12585
|
deploymentDetailedData: e
|
|
@@ -12583,14 +12594,14 @@ const YC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
|
12583
12594
|
}
|
|
12584
12595
|
),
|
|
12585
12596
|
/* @__PURE__ */ t.jsx(
|
|
12586
|
-
|
|
12597
|
+
ys,
|
|
12587
12598
|
{
|
|
12588
12599
|
type: W.KUBECTL_APPLY,
|
|
12589
12600
|
deploymentDetailedData: e
|
|
12590
12601
|
}
|
|
12591
12602
|
),
|
|
12592
12603
|
/* @__PURE__ */ t.jsx(
|
|
12593
|
-
|
|
12604
|
+
ys,
|
|
12594
12605
|
{
|
|
12595
12606
|
type: W.APP_HEALTH,
|
|
12596
12607
|
hideVerticalConnector: !0,
|
|
@@ -12615,7 +12626,7 @@ const zC = ({
|
|
|
12615
12626
|
processVirtualEnvironmentDeploymentData: l,
|
|
12616
12627
|
renderDeploymentApprovalInfo: c
|
|
12617
12628
|
}) => {
|
|
12618
|
-
const d =
|
|
12629
|
+
const d = Gs(), { url: u } = Kt(), { appId: m, envId: p, triggerId: _ } = xt(), [x, g] = y(
|
|
12619
12630
|
e?.toUpperCase() !== W.ABORTED
|
|
12620
12631
|
), f = q(i), E = f.current && l ? l() : ol(), [h, N] = y(E), C = () => {
|
|
12621
12632
|
ha && clearTimeout(ha);
|
|
@@ -12681,7 +12692,7 @@ const zC = ({
|
|
|
12681
12692
|
title: Ge.DEPLOYMENT_DETAILS_SETPS_FAILED.TITLE,
|
|
12682
12693
|
subTitle: Ge.DEPLOYMENT_DETAILS_SETPS_FAILED.SUBTITLE
|
|
12683
12694
|
}
|
|
12684
|
-
) }) : x ? /* @__PURE__ */ t.jsx(
|
|
12695
|
+
) }) : x ? /* @__PURE__ */ t.jsx($e, { pageLoader: !0 }) : R();
|
|
12685
12696
|
}, uu = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t.jsx(Rc, { children: e && /* @__PURE__ */ t.jsx(
|
|
12686
12697
|
rn.div,
|
|
12687
12698
|
{
|
|
@@ -12698,7 +12709,7 @@ const zC = ({
|
|
|
12698
12709
|
tabType: s,
|
|
12699
12710
|
onCollapseBtnClick: n
|
|
12700
12711
|
}) => {
|
|
12701
|
-
const { pathname: a } =
|
|
12712
|
+
const { pathname: a } = vs(), r = (l) => {
|
|
12702
12713
|
const { title: c, subtitle: d, strikeThrough: u, iconConfig: m } = l;
|
|
12703
12714
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
12704
12715
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col flex-grow-1 mw-none", children: [
|
|
@@ -12712,7 +12723,7 @@ const zC = ({
|
|
|
12712
12723
|
d && /* @__PURE__ */ t.jsx(ne, { content: d, placement: "right", children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate fw-4 lh-1-5 cn-7", children: d }) })
|
|
12713
12724
|
] }),
|
|
12714
12725
|
m && /* @__PURE__ */ t.jsx(
|
|
12715
|
-
|
|
12726
|
+
ct,
|
|
12716
12727
|
{
|
|
12717
12728
|
condition: !!m.tooltipProps,
|
|
12718
12729
|
wrap: vl(m.tooltipProps),
|
|
@@ -12743,7 +12754,7 @@ const zC = ({
|
|
|
12743
12754
|
}, i = (l) => {
|
|
12744
12755
|
const { title: c, href: d, onClick: u, isActive: m, clearQueryParamsOnNavigation: p = !1 } = l;
|
|
12745
12756
|
return /* @__PURE__ */ t.jsx(
|
|
12746
|
-
|
|
12757
|
+
ut,
|
|
12747
12758
|
{
|
|
12748
12759
|
to: p ? { pathname: d, search: "" } : d,
|
|
12749
12760
|
className: "collapsible__item flexbox dc__align-items-center dc__gap-8 dc__no-decor br-4 py-6 px-8 cursor",
|
|
@@ -12756,7 +12767,7 @@ const zC = ({
|
|
|
12756
12767
|
c
|
|
12757
12768
|
);
|
|
12758
12769
|
};
|
|
12759
|
-
return /* @__PURE__ */ t.jsx("div", { className: "mw-none bg__primary", children: e.map(({ id: l, header: c, headerIconConfig: d, items: u, noItemsText: m, isExpanded: p }) => /* @__PURE__ */ t.jsxs(
|
|
12770
|
+
return /* @__PURE__ */ t.jsx("div", { className: "mw-none bg__primary", children: e.map(({ id: l, header: c, headerIconConfig: d, items: u, noItemsText: m, isExpanded: p }) => /* @__PURE__ */ t.jsxs(Us, { children: [
|
|
12760
12771
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-4 py-6 px-8 br-4 dc__hover-n50", children: [
|
|
12761
12772
|
/* @__PURE__ */ t.jsxs(
|
|
12762
12773
|
"button",
|
|
@@ -12777,7 +12788,7 @@ const zC = ({
|
|
|
12777
12788
|
}
|
|
12778
12789
|
),
|
|
12779
12790
|
d && /* @__PURE__ */ t.jsx(
|
|
12780
|
-
|
|
12791
|
+
ct,
|
|
12781
12792
|
{
|
|
12782
12793
|
condition: !!d.tooltipProps,
|
|
12783
12794
|
wrap: vl(d.tooltipProps),
|
|
@@ -12867,7 +12878,7 @@ const mu = {
|
|
|
12867
12878
|
const { value: A } = C.target;
|
|
12868
12879
|
l?.activeTab !== A && l?.onClick?.(A);
|
|
12869
12880
|
}, f = () => /* @__PURE__ */ t.jsxs("div", { className: "p-12 flexbox dc__align-items-center dc__gap-8 dc__border-bottom-n1", children: [
|
|
12870
|
-
a && /* @__PURE__ */ t.jsx(
|
|
12881
|
+
a && /* @__PURE__ */ t.jsx(Ss, { to: a, children: /* @__PURE__ */ t.jsx("span", { className: "dc__border br-4 p-1 flex dc__hover-n50", children: /* @__PURE__ */ t.jsx(at, { className: "icon-dim-16 fcn-6" }) }) }),
|
|
12871
12882
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 lh-20 fw-6 cn-9 dc__truncate", children: r })
|
|
12872
12883
|
] }), E = () => {
|
|
12873
12884
|
const { tabs: C, activeTab: A } = l;
|
|
@@ -12886,7 +12897,7 @@ const mu = {
|
|
|
12886
12897
|
n.map(({ title: C, href: A, onClick: S, diffState: I, Icon: R }) => {
|
|
12887
12898
|
const v = d ? Rn[I] : Rn.hasDiff;
|
|
12888
12899
|
return /* @__PURE__ */ t.jsxs(
|
|
12889
|
-
|
|
12900
|
+
ut,
|
|
12890
12901
|
{
|
|
12891
12902
|
"data-testid": "env-deployment-template",
|
|
12892
12903
|
className: "dc__nav-item cursor dc__gap-8 fs-13 lh-32 cn-7 w-100 br-4 px-8 flexbox dc__align-items-center dc__no-decor",
|
|
@@ -12997,8 +13008,8 @@ const mu = {
|
|
|
12997
13008
|
]
|
|
12998
13009
|
}
|
|
12999
13010
|
);
|
|
13000
|
-
},
|
|
13001
|
-
const { push: c } =
|
|
13011
|
+
}, js = ({ code: e, image: s, title: n, subTitle: a, imageType: r, heightToDeduct: o, redirectURL: i, reload: l }) => {
|
|
13012
|
+
const { push: c } = Gs(), d = () => {
|
|
13002
13013
|
c(i || `/${F.APP_LIST}`);
|
|
13003
13014
|
}, u = (g) => {
|
|
13004
13015
|
switch (g) {
|
|
@@ -13023,7 +13034,7 @@ const mu = {
|
|
|
13023
13034
|
isButtonAvailable: !0
|
|
13024
13035
|
};
|
|
13025
13036
|
default:
|
|
13026
|
-
return { onClick:
|
|
13037
|
+
return { onClick: lt, renderButtonText: "", isButtonAvailable: !1 };
|
|
13027
13038
|
}
|
|
13028
13039
|
}, {
|
|
13029
13040
|
onClick: m,
|
|
@@ -13054,7 +13065,7 @@ const mu = {
|
|
|
13054
13065
|
switch (e) {
|
|
13055
13066
|
case Ve.BAD_REQUEST:
|
|
13056
13067
|
return /* @__PURE__ */ t.jsx(
|
|
13057
|
-
|
|
13068
|
+
js,
|
|
13058
13069
|
{
|
|
13059
13070
|
code: Ve.BAD_REQUEST,
|
|
13060
13071
|
title: He.BAD_REQUEST,
|
|
@@ -13067,7 +13078,7 @@ const mu = {
|
|
|
13067
13078
|
);
|
|
13068
13079
|
case Ve.UNAUTHORIZED:
|
|
13069
13080
|
return /* @__PURE__ */ t.jsx(
|
|
13070
|
-
|
|
13081
|
+
js,
|
|
13071
13082
|
{
|
|
13072
13083
|
code: Ve.UNAUTHORIZED,
|
|
13073
13084
|
title: He.UNAUTHORIZED,
|
|
@@ -13079,7 +13090,7 @@ const mu = {
|
|
|
13079
13090
|
);
|
|
13080
13091
|
case Ve.PERMISSION_DENIED:
|
|
13081
13092
|
return /* @__PURE__ */ t.jsx(
|
|
13082
|
-
|
|
13093
|
+
js,
|
|
13083
13094
|
{
|
|
13084
13095
|
code: Ve.PERMISSION_DENIED,
|
|
13085
13096
|
title: He.FORBIDDEN,
|
|
@@ -13091,7 +13102,7 @@ const mu = {
|
|
|
13091
13102
|
);
|
|
13092
13103
|
case Ve.NOT_FOUND:
|
|
13093
13104
|
return /* @__PURE__ */ t.jsx(
|
|
13094
|
-
|
|
13105
|
+
js,
|
|
13095
13106
|
{
|
|
13096
13107
|
code: Ve.NOT_FOUND,
|
|
13097
13108
|
title: He.PAGE_NOT_FOUND,
|
|
@@ -13104,7 +13115,7 @@ const mu = {
|
|
|
13104
13115
|
);
|
|
13105
13116
|
case Ve.INTERNAL_SERVER_ERROR:
|
|
13106
13117
|
return /* @__PURE__ */ t.jsx(
|
|
13107
|
-
|
|
13118
|
+
js,
|
|
13108
13119
|
{
|
|
13109
13120
|
code: Ve.INTERNAL_SERVER_ERROR,
|
|
13110
13121
|
title: He.INTERNAL_SERVER_ERROR,
|
|
@@ -13117,7 +13128,7 @@ const mu = {
|
|
|
13117
13128
|
);
|
|
13118
13129
|
case Ve.BAD_GATEWAY:
|
|
13119
13130
|
return /* @__PURE__ */ t.jsx(
|
|
13120
|
-
|
|
13131
|
+
js,
|
|
13121
13132
|
{
|
|
13122
13133
|
code: Ve.BAD_GATEWAY,
|
|
13123
13134
|
title: He.BAD_GATEWAY,
|
|
@@ -13130,7 +13141,7 @@ const mu = {
|
|
|
13130
13141
|
);
|
|
13131
13142
|
case Ve.SERVICE_TEMPORARY_UNAVAILABLE:
|
|
13132
13143
|
return /* @__PURE__ */ t.jsx(
|
|
13133
|
-
|
|
13144
|
+
js,
|
|
13134
13145
|
{
|
|
13135
13146
|
code: Ve.SERVICE_TEMPORARY_UNAVAILABLE,
|
|
13136
13147
|
title: He.SERVICE_TEMPORARY_UNAVAILABLE,
|
|
@@ -13272,7 +13283,7 @@ const mu = {
|
|
|
13272
13283
|
onClick: l,
|
|
13273
13284
|
children: [
|
|
13274
13285
|
/* @__PURE__ */ t.jsx(
|
|
13275
|
-
|
|
13286
|
+
$s,
|
|
13276
13287
|
{
|
|
13277
13288
|
className: "icon-dim-16 fsn-6 rotate",
|
|
13278
13289
|
style: { "--rotateBy": i ? "360deg" : "270deg" }
|
|
@@ -13738,7 +13749,7 @@ const mu = {
|
|
|
13738
13749
|
subTitle: "",
|
|
13739
13750
|
description: "",
|
|
13740
13751
|
buttonText: "View values",
|
|
13741
|
-
reload:
|
|
13752
|
+
reload: lt
|
|
13742
13753
|
}
|
|
13743
13754
|
) : null, lb = ({
|
|
13744
13755
|
resolveScopedVariables: e,
|
|
@@ -13802,12 +13813,12 @@ const mu = {
|
|
|
13802
13813
|
}, [i]);
|
|
13803
13814
|
const x = (N) => N.map((C, A) => {
|
|
13804
13815
|
if (C.type === "string")
|
|
13805
|
-
return /* @__PURE__ */ t.jsxs(
|
|
13816
|
+
return /* @__PURE__ */ t.jsxs(Us, { children: [
|
|
13806
13817
|
typeof C.text == "string" ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-9 fs-13 lh-20 fw-6", children: C.text }) : C.text,
|
|
13807
13818
|
!r?.hideDivider && A !== N.length - 1 && /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 lh-20", children: "/" })
|
|
13808
13819
|
] }, C.id);
|
|
13809
13820
|
const { selectPickerProps: S } = C;
|
|
13810
|
-
return /* @__PURE__ */ t.jsxs(
|
|
13821
|
+
return /* @__PURE__ */ t.jsxs(Us, { children: [
|
|
13811
13822
|
/* @__PURE__ */ t.jsx("div", { className: "dc__mxw-300", children: /* @__PURE__ */ t.jsx(
|
|
13812
13823
|
Ht,
|
|
13813
13824
|
{
|
|
@@ -13902,7 +13913,7 @@ const mu = {
|
|
|
13902
13913
|
},
|
|
13903
13914
|
`${N}-${S}`
|
|
13904
13915
|
);
|
|
13905
|
-
}), h = () => e ? /* @__PURE__ */ t.jsx(
|
|
13916
|
+
}), h = () => e ? /* @__PURE__ */ t.jsx($e, { fullHeight: !0, pageLoader: !0 }) : s?.error ? /* @__PURE__ */ t.jsx(
|
|
13906
13917
|
xr,
|
|
13907
13918
|
{
|
|
13908
13919
|
code: s.code,
|
|
@@ -13987,7 +13998,7 @@ const mu = {
|
|
|
13987
13998
|
e.map(({ id: r, title: o, name: i, diffState: l, pathType: c }, d) => {
|
|
13988
13999
|
const u = `${n}/${i ? `${c}/${i}` : c}`;
|
|
13989
14000
|
return /* @__PURE__ */ t.jsxs(
|
|
13990
|
-
|
|
14001
|
+
ut,
|
|
13991
14002
|
{
|
|
13992
14003
|
className: `cursor dc__no-decor px-16 py-12 flex dc__content-space dc__hover-n50 ${d !== e.length - 1 ? "dc__border-bottom-n1" : ""}`,
|
|
13993
14004
|
to: u,
|
|
@@ -14131,7 +14142,7 @@ const mu = {
|
|
|
14131
14142
|
name: "deployment-config-diff-deployment-selector",
|
|
14132
14143
|
inputId: "deployment-config-diff-deployment-selector",
|
|
14133
14144
|
classNamePrefix: "deployment-config-diff-deployment-selector",
|
|
14134
|
-
variant:
|
|
14145
|
+
variant: Cs.BORDER_LESS,
|
|
14135
14146
|
options: k,
|
|
14136
14147
|
placeholder: "Select Deployment",
|
|
14137
14148
|
value: ln(k, h, null),
|
|
@@ -14173,7 +14184,7 @@ const mu = {
|
|
|
14173
14184
|
scrollIntoViewId: `${x}${g ? `-${g}` : ""}`,
|
|
14174
14185
|
navHelpText: re(),
|
|
14175
14186
|
isNavHelpTextShowingError: u,
|
|
14176
|
-
goBackURL:
|
|
14187
|
+
goBackURL: Ps(p.split("/:resourceType")[0], { ..._ }),
|
|
14177
14188
|
selectorsConfig: ee,
|
|
14178
14189
|
sortingConfig: je,
|
|
14179
14190
|
scopeVariablesConfig: H
|
|
@@ -14189,7 +14200,7 @@ const mu = {
|
|
|
14189
14200
|
resourceId: i,
|
|
14190
14201
|
renderRunSource: l
|
|
14191
14202
|
}) => {
|
|
14192
|
-
const { path: c, params: d } = Kt(), { pathname: u, search: m } =
|
|
14203
|
+
const { path: c, params: d } = Kt(), { pathname: u, search: m } = vs(), { isSuperAdmin: p } = sa(), _ = J(() => hu(r), [r]), { currentWfrId: x, previousWfrId: g } = J(
|
|
14193
14204
|
() => _b({ pipelineDeployments: _, wfrId: a }),
|
|
14194
14205
|
[_, a]
|
|
14195
14206
|
), f = !!g, E = pd({
|
|
@@ -14217,7 +14228,7 @@ const mu = {
|
|
|
14217
14228
|
return ee.status !== "fulfilled" || !ee.value || ee.value.forEach((pe, je) => {
|
|
14218
14229
|
re[je].status !== "fulfilled" || !re[je].value || re[je].value.result.isAppAdmin || (re[je].value.result.secretsData = pe.secretsData);
|
|
14219
14230
|
}), re;
|
|
14220
|
-
}, [x, h]), T = (Z, ee) => `${
|
|
14231
|
+
}, [x, h]), T = (Z, ee) => `${Ps(c, { ...d })}/${Z}${ee ? `/${ee}` : ""}${m}`, O = J(() => {
|
|
14221
14232
|
if (!I && R) {
|
|
14222
14233
|
const Z = f && R[1].status === "fulfilled" ? R[1].value.result : {
|
|
14223
14234
|
configMapData: null,
|
|
@@ -14259,7 +14270,7 @@ const mu = {
|
|
|
14259
14270
|
subTitle: "Configurations used for this deployment execution is not available"
|
|
14260
14271
|
}
|
|
14261
14272
|
) }) : /* @__PURE__ */ t.jsxs(uc, { children: [
|
|
14262
|
-
/* @__PURE__ */ t.jsx(
|
|
14273
|
+
/* @__PURE__ */ t.jsx(ws, { path: `${c}/:resourceType(${Object.values(et).join("|")})/:resourceName?`, children: /* @__PURE__ */ t.jsx(
|
|
14263
14274
|
gb,
|
|
14264
14275
|
{
|
|
14265
14276
|
...O,
|
|
@@ -14279,7 +14290,7 @@ const mu = {
|
|
|
14279
14290
|
isCompareDeploymentConfigNotAvailable: L
|
|
14280
14291
|
}
|
|
14281
14292
|
) }),
|
|
14282
|
-
/* @__PURE__ */ t.jsx(
|
|
14293
|
+
/* @__PURE__ */ t.jsx(ws, { children: b && !I ? /* @__PURE__ */ t.jsx(xr, { code: G.code, reload: G.reload }) : /* @__PURE__ */ t.jsx("div", { className: "p-16 flexbox-col dc__gap-16 bg__primary h-100", children: B ? /* @__PURE__ */ t.jsx($e, { fullHeight: !0, size: 48 }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
14283
14294
|
/* @__PURE__ */ t.jsx("h3", { className: "fs-13 lh-20 fw-6 cn-9 m-0", children: k ? "Configurations used for this deployment trigger" : "Showing configuration change with respect to previous deployment" }),
|
|
14284
14295
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 dc__mxw-800", children: [
|
|
14285
14296
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__gap-12", children: Object.keys(j).map(
|
|
@@ -14334,7 +14345,7 @@ const mu = {
|
|
|
14334
14345
|
disableSearch: !0,
|
|
14335
14346
|
readOnly: !0,
|
|
14336
14347
|
noParsing: !0,
|
|
14337
|
-
mode:
|
|
14348
|
+
mode: Es.YAML
|
|
14338
14349
|
},
|
|
14339
14350
|
r
|
|
14340
14351
|
), _ = () => {
|
|
@@ -14345,7 +14356,7 @@ const mu = {
|
|
|
14345
14356
|
] });
|
|
14346
14357
|
return /* @__PURE__ */ t.jsxs("div", { className: "deployment-history-diff-view", children: [
|
|
14347
14358
|
!n && /* @__PURE__ */ t.jsxs("div", { className: "bcb-1 eb-2 pt-8 pb-8 br-4 flexbox pl-4 cn-9 fs-13 mt-16 mb-16 mr-20 ml-20", children: [
|
|
14348
|
-
/* @__PURE__ */ t.jsx(
|
|
14359
|
+
/* @__PURE__ */ t.jsx(gs, { className: "mr-8 ml-14 icon-dim-20" }),
|
|
14349
14360
|
/* @__PURE__ */ t.jsxs("span", { className: "lh-20", children: [
|
|
14350
14361
|
Ct[o.replace("-", "_").toUpperCase()]?.DISPLAY_NAME,
|
|
14351
14362
|
i ? ` “${i}”` : "",
|
|
@@ -14423,7 +14434,7 @@ const mu = {
|
|
|
14423
14434
|
_ && fe(_), await u(!0);
|
|
14424
14435
|
};
|
|
14425
14436
|
U(() => {
|
|
14426
|
-
a && u().catch(
|
|
14437
|
+
a && u().catch(lt);
|
|
14427
14438
|
}, [a]), U(
|
|
14428
14439
|
() => () => {
|
|
14429
14440
|
c.current > -1 && clearTimeout(c.current);
|
|
@@ -14440,7 +14451,7 @@ const mu = {
|
|
|
14440
14451
|
children: /* @__PURE__ */ t.jsx(ne, { content: s, alwaysShowTippyOnHover: !0, visible: i, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: i ? /* @__PURE__ */ t.jsx(cr, { className: p }) : /* @__PURE__ */ t.jsx(e_, { className: p }) }) })
|
|
14441
14452
|
}
|
|
14442
14453
|
) });
|
|
14443
|
-
}, Nb = (e) => e.includes(
|
|
14454
|
+
}, Nb = (e) => e.includes(dt.GITHUB) ? "ic-github" : e.includes(dt.GITLAB) ? "ic-gitlab" : e.includes(dt.BITBUCKET) ? "ic-bitbucket" : "ic-git", Cb = ({
|
|
14444
14455
|
index: e,
|
|
14445
14456
|
repoUrl: s = "",
|
|
14446
14457
|
materialType: n = "",
|
|
@@ -14457,7 +14468,7 @@ const mu = {
|
|
|
14457
14468
|
className: "git-commit-info-generic__header px-16 py-12 dc__box-shadow fs-12 fw-6 dc__gap-4",
|
|
14458
14469
|
style: r,
|
|
14459
14470
|
children: [
|
|
14460
|
-
/* @__PURE__ */ t.jsx(
|
|
14471
|
+
/* @__PURE__ */ t.jsx(it, { name: Nb(s), size: 20, color: null }),
|
|
14461
14472
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left left dc__gap-4 fs-13", children: [
|
|
14462
14473
|
/* @__PURE__ */ t.jsx(
|
|
14463
14474
|
"div",
|
|
@@ -14585,7 +14596,7 @@ const mu = {
|
|
|
14585
14596
|
] }), S = () => {
|
|
14586
14597
|
if (!d) return null;
|
|
14587
14598
|
const I = u.eventactiontype === bb.MERGED;
|
|
14588
|
-
return r.includes(
|
|
14599
|
+
return r.includes(dt.GITLAB) ? I ? A() : C() : I ? C() : A();
|
|
14589
14600
|
};
|
|
14590
14601
|
return /* @__PURE__ */ t.jsxs("div", { className: "git-commit-info-generic__wrapper cn-9 fs-12", children: [
|
|
14591
14602
|
o && (d || c.commit) && /* @__PURE__ */ t.jsx(
|
|
@@ -14665,7 +14676,7 @@ const mu = {
|
|
|
14665
14676
|
fullScreenView: n,
|
|
14666
14677
|
setFullScreenView: a
|
|
14667
14678
|
}) => {
|
|
14668
|
-
const { pathname: r } =
|
|
14679
|
+
const { pathname: r } = vs(), { registerShortcut: o, unregisterShortcut: i } = qn(), l = Ke(() => {
|
|
14669
14680
|
a(!n);
|
|
14670
14681
|
}, [n]), c = !s || r.includes("/logs");
|
|
14671
14682
|
return U(() => (c && e.length && o({ callback: l, keys: e }), () => {
|
|
@@ -14849,8 +14860,8 @@ const vb = (e) => {
|
|
|
14849
14860
|
const { registerShortcut: n, unregisterShortcut: a } = qn();
|
|
14850
14861
|
return U(() => (n({ keys: ["Escape"], callback: s }), () => {
|
|
14851
14862
|
a(["Escape"]);
|
|
14852
|
-
}), [s]), U(() => (
|
|
14853
|
-
|
|
14863
|
+
}), [s]), U(() => (bs(!0), rl({ identifier: Oi, preventFocus: !0 }), () => {
|
|
14864
|
+
bs(!1), rl({ identifier: Oi, preventFocus: !1 });
|
|
14854
14865
|
}), []), Xp(
|
|
14855
14866
|
/* @__PURE__ */ t.jsx(
|
|
14856
14867
|
rn.div,
|
|
@@ -14867,7 +14878,7 @@ const vb = (e) => {
|
|
|
14867
14878
|
}, Eu = $t(null), NO = ({ children: e }) => {
|
|
14868
14879
|
const s = q(null), [n, a] = y(""), r = J(() => ({ modalKey: n, setModalKey: a, settersRef: s }), [n]);
|
|
14869
14880
|
return /* @__PURE__ */ t.jsx(Eu.Provider, { value: r, children: e });
|
|
14870
|
-
}, xu = () =>
|
|
14881
|
+
}, xu = () => Ts(Eu), yb = {
|
|
14871
14882
|
[w.medium]: w.xxs,
|
|
14872
14883
|
[w.large]: w.xs
|
|
14873
14884
|
}, Nr = ({
|
|
@@ -15007,7 +15018,7 @@ const vb = (e) => {
|
|
|
15007
15018
|
const A = (S) => {
|
|
15008
15019
|
p(S.target.value);
|
|
15009
15020
|
};
|
|
15010
|
-
return /* @__PURE__ */ t.jsx(Rb, { onEscape: c ? C :
|
|
15021
|
+
return /* @__PURE__ */ t.jsx(Rb, { onEscape: c ? C : lt, children: /* @__PURE__ */ t.jsxs(
|
|
15011
15022
|
rn.div,
|
|
15012
15023
|
{
|
|
15013
15024
|
className: "confirmation-modal border__secondary flexbox-col br-8 bg__primary dc__m-auto mt-40 w-400",
|
|
@@ -15080,7 +15091,7 @@ const vb = (e) => {
|
|
|
15080
15091
|
setProps: a
|
|
15081
15092
|
};
|
|
15082
15093
|
}, []), /* @__PURE__ */ t.jsx(fd, { ignoreTags: ["button"], children: /* @__PURE__ */ t.jsx(Rc, { children: !!e && /* @__PURE__ */ t.jsx(jb, { ...n }) }) });
|
|
15083
|
-
},
|
|
15094
|
+
}, Vs = (e) => {
|
|
15084
15095
|
const { setModalKey: s, settersRef: n } = xu();
|
|
15085
15096
|
return U(() => {
|
|
15086
15097
|
const a = dn();
|
|
@@ -15091,7 +15102,7 @@ const vb = (e) => {
|
|
|
15091
15102
|
n.current.setProps(e);
|
|
15092
15103
|
}, [e]), null;
|
|
15093
15104
|
}, Ob = ({ title: e, component: s, subtitle: n, closeConfirmationModal: a }) => /* @__PURE__ */ t.jsx(
|
|
15094
|
-
|
|
15105
|
+
Vs,
|
|
15095
15106
|
{
|
|
15096
15107
|
variant: Yt.info,
|
|
15097
15108
|
title: `Cannot delete ${s} '${e}'`,
|
|
@@ -15118,7 +15129,7 @@ const vb = (e) => {
|
|
|
15118
15129
|
/* @__PURE__ */ t.jsx("p", { children: "Do you want to force delete?" })
|
|
15119
15130
|
] });
|
|
15120
15131
|
return /* @__PURE__ */ t.jsx(
|
|
15121
|
-
|
|
15132
|
+
Vs,
|
|
15122
15133
|
{
|
|
15123
15134
|
variant: Yt.delete,
|
|
15124
15135
|
title: e,
|
|
@@ -15161,7 +15172,7 @@ const vb = (e) => {
|
|
|
15161
15172
|
description: p || "Successfully deleted"
|
|
15162
15173
|
}), A(!1), c();
|
|
15163
15174
|
} catch (j) {
|
|
15164
|
-
j instanceof Rt && j.code === m ? (g(!0), Array.isArray(j.errors) && j.errors.length > 0 && !u && N(j.errors[0].userMessage)) : typeof l == "function" ? l(j) :
|
|
15175
|
+
j instanceof Rt && j.code === m ? (g(!0), Array.isArray(j.errors) && j.errors.length > 0 && !u && N(j.errors[0].userMessage)) : typeof l == "function" ? l(j) : Me(j), A(!1);
|
|
15165
15176
|
}
|
|
15166
15177
|
}, I = () => {
|
|
15167
15178
|
g(!1), c();
|
|
@@ -15182,7 +15193,7 @@ const vb = (e) => {
|
|
|
15182
15193
|
closeConfirmationModal: R
|
|
15183
15194
|
}
|
|
15184
15195
|
), O = () => /* @__PURE__ */ t.jsx(
|
|
15185
|
-
|
|
15196
|
+
Vs,
|
|
15186
15197
|
{
|
|
15187
15198
|
variant: Yt.delete,
|
|
15188
15199
|
title: `Delete ${n} '${e}'`,
|
|
@@ -15287,7 +15298,7 @@ const vb = (e) => {
|
|
|
15287
15298
|
] })
|
|
15288
15299
|
] }),
|
|
15289
15300
|
o && /* @__PURE__ */ t.jsx(
|
|
15290
|
-
|
|
15301
|
+
Vs,
|
|
15291
15302
|
{
|
|
15292
15303
|
variant: Yt.warning,
|
|
15293
15304
|
title: s === Oe.CD ? `Abort ${e.toLowerCase()}-deployment?` : "Abort build?",
|
|
@@ -15308,7 +15319,7 @@ const vb = (e) => {
|
|
|
15308
15319
|
}
|
|
15309
15320
|
),
|
|
15310
15321
|
l.status && /* @__PURE__ */ t.jsxs(
|
|
15311
|
-
|
|
15322
|
+
Vs,
|
|
15312
15323
|
{
|
|
15313
15324
|
variant: Yt.warning,
|
|
15314
15325
|
title: "Could not abort build!",
|
|
@@ -15362,7 +15373,7 @@ const vb = (e) => {
|
|
|
15362
15373
|
renderTargetConfigInfo: c,
|
|
15363
15374
|
stage: d
|
|
15364
15375
|
}) => {
|
|
15365
|
-
const { url: u } = Kt(), { pathname: m } =
|
|
15376
|
+
const { url: u } = Kt(), { pathname: m } = vs();
|
|
15366
15377
|
return /* @__PURE__ */ t.jsx("div", { className: "w-100 pr-20 flex column left", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center py-8 flex-wrap", children: [
|
|
15367
15378
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4 cn-9 fs-13 fw-6 lh-20", children: [
|
|
15368
15379
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left dc__no-shrink dc__gap-4", "data-testid": "deployment-history-start-heading", children: [
|
|
@@ -15387,7 +15398,7 @@ const vb = (e) => {
|
|
|
15387
15398
|
/* @__PURE__ */ t.jsx(t.Fragment, { children: o && /* @__PURE__ */ t.jsx(pi, { imagePath: o, placement: "top" }) })
|
|
15388
15399
|
) : Object.keys(r ?? {}).length > 0 && a?.map((p) => {
|
|
15389
15400
|
const _ = r[p.id];
|
|
15390
|
-
return _ ? /* @__PURE__ */ t.jsxs(
|
|
15401
|
+
return _ ? /* @__PURE__ */ t.jsxs(Us, { children: [
|
|
15391
15402
|
p.type !== "WEBHOOK" && _.Commit && /* @__PURE__ */ t.jsx(
|
|
15392
15403
|
Co,
|
|
15393
15404
|
{
|
|
@@ -15405,11 +15416,11 @@ const vb = (e) => {
|
|
|
15405
15416
|
)
|
|
15406
15417
|
] }, p.id) : null;
|
|
15407
15418
|
}),
|
|
15408
|
-
!m.includes("source-code") && /* @__PURE__ */ t.jsx(
|
|
15419
|
+
!m.includes("source-code") && /* @__PURE__ */ t.jsx(Ss, { to: `${u}/source-code`, className: "anchor fs-13", "data-testid": "commit-details-link", children: "Commit details" })
|
|
15409
15420
|
] }) });
|
|
15410
|
-
},
|
|
15411
|
-
/* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(
|
|
15412
|
-
|
|
15421
|
+
}, Ls = () => /* @__PURE__ */ t.jsx("div", { className: "flex flex-grow-1", children: /* @__PURE__ */ t.jsx("div", { className: "dc__border-left--n3 h-100" }) }), Fl = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
15422
|
+
/* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(it, { size: 20, name: "ic-success", color: null }) }),
|
|
15423
|
+
Ls()
|
|
15413
15424
|
] }), Pb = mt(
|
|
15414
15425
|
({ status: e }) => /* @__PURE__ */ t.jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t.jsx(
|
|
15415
15426
|
"circle",
|
|
@@ -15474,17 +15485,17 @@ const vb = (e) => {
|
|
|
15474
15485
|
] }),
|
|
15475
15486
|
!!g && !!f && /* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid", children: [
|
|
15476
15487
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
|
|
15477
|
-
|
|
15488
|
+
Ls(),
|
|
15478
15489
|
f(g, !0),
|
|
15479
|
-
|
|
15490
|
+
Ls()
|
|
15480
15491
|
] }) }),
|
|
15481
15492
|
f(g)
|
|
15482
15493
|
] }),
|
|
15483
15494
|
_ && /* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid", children: [
|
|
15484
15495
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
|
|
15485
|
-
|
|
15496
|
+
Ls(),
|
|
15486
15497
|
/* @__PURE__ */ t.jsx(up, { className: "icon-dim-20 dc__no-shrink scn-9" }),
|
|
15487
|
-
|
|
15498
|
+
Ls()
|
|
15488
15499
|
] }) }),
|
|
15489
15500
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 py-8", children: [
|
|
15490
15501
|
/* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 fw-6 lh-20", children: "Env" }),
|
|
@@ -15494,7 +15505,7 @@ const vb = (e) => {
|
|
|
15494
15505
|
] }),
|
|
15495
15506
|
!!C?.executionStartedOn && /* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid", children: [
|
|
15496
15507
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
|
|
15497
|
-
|
|
15508
|
+
Ls(),
|
|
15498
15509
|
Fl()
|
|
15499
15510
|
] }) }),
|
|
15500
15511
|
/* @__PURE__ */ t.jsxs("div", { className: "w-100 pr-20 flexbox dc__gap-8 py-8", children: [
|
|
@@ -15504,7 +15515,7 @@ const vb = (e) => {
|
|
|
15504
15515
|
] }),
|
|
15505
15516
|
/* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid", children: [
|
|
15506
15517
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
|
|
15507
|
-
|
|
15518
|
+
Ls(),
|
|
15508
15519
|
/* @__PURE__ */ t.jsx(
|
|
15509
15520
|
kb,
|
|
15510
15521
|
{
|
|
@@ -15573,8 +15584,8 @@ const vb = (e) => {
|
|
|
15573
15584
|
appName: `${e.helmPackageName}.tgz`,
|
|
15574
15585
|
workflowId: e.id
|
|
15575
15586
|
}, k = `app/cd-pipeline/workflow/download/${T}/${j}/${O}/${b}`;
|
|
15576
|
-
return /* @__PURE__ */ t.jsx("div", { className: "trigger-outputs-container flexbox-col flex-grow-1 h-100", children: s ? /* @__PURE__ */ t.jsx(
|
|
15577
|
-
e.stage !== "DEPLOY" ? !e.IsVirtualEnvironment && /* @__PURE__ */ t.jsxs(
|
|
15587
|
+
return /* @__PURE__ */ t.jsx("div", { className: "trigger-outputs-container flexbox-col flex-grow-1 h-100", children: s ? /* @__PURE__ */ t.jsx($e, { pageLoader: !0 }) : /* @__PURE__ */ t.jsxs(uc, { children: [
|
|
15588
|
+
e.stage !== "DEPLOY" ? !e.IsVirtualEnvironment && /* @__PURE__ */ t.jsxs(ws, { path: `${v}/logs`, children: [
|
|
15578
15589
|
/* @__PURE__ */ t.jsx(
|
|
15579
15590
|
MC,
|
|
15580
15591
|
{
|
|
@@ -15592,7 +15603,7 @@ const vb = (e) => {
|
|
|
15592
15603
|
scrollToBottom: C
|
|
15593
15604
|
}
|
|
15594
15605
|
)
|
|
15595
|
-
] }) : /* @__PURE__ */ t.jsx(
|
|
15606
|
+
] }) : /* @__PURE__ */ t.jsx(ws, { path: `${v}/deployment-steps`, children: /* @__PURE__ */ t.jsx(
|
|
15596
15607
|
zC,
|
|
15597
15608
|
{
|
|
15598
15609
|
deploymentStatus: e.status,
|
|
@@ -15605,7 +15616,7 @@ const vb = (e) => {
|
|
|
15605
15616
|
renderDeploymentApprovalInfo: f
|
|
15606
15617
|
}
|
|
15607
15618
|
) }),
|
|
15608
|
-
/* @__PURE__ */ t.jsx(
|
|
15619
|
+
/* @__PURE__ */ t.jsx(ws, { path: `${v}/source-code`, children: /* @__PURE__ */ t.jsx(
|
|
15609
15620
|
Sb,
|
|
15610
15621
|
{
|
|
15611
15622
|
gitTriggers: e.gitTriggers,
|
|
@@ -15628,7 +15639,7 @@ const vb = (e) => {
|
|
|
15628
15639
|
targetPlatforms: R
|
|
15629
15640
|
}
|
|
15630
15641
|
) }),
|
|
15631
|
-
e.stage === "DEPLOY" && /* @__PURE__ */ t.jsx(
|
|
15642
|
+
e.stage === "DEPLOY" && /* @__PURE__ */ t.jsx(ws, { path: `${v}${Ie.DEPLOYMENT_HISTORY_CONFIGURATIONS}`, children: /* @__PURE__ */ t.jsx(
|
|
15632
15643
|
Eb,
|
|
15633
15644
|
{
|
|
15634
15645
|
appName: S,
|
|
@@ -15641,7 +15652,7 @@ const vb = (e) => {
|
|
|
15641
15652
|
renderRunSource: x
|
|
15642
15653
|
}
|
|
15643
15654
|
) }),
|
|
15644
|
-
(e.stage !== "DEPLOY" || e.IsVirtualEnvironment) && /* @__PURE__ */ t.jsx(
|
|
15655
|
+
(e.stage !== "DEPLOY" || e.IsVirtualEnvironment) && /* @__PURE__ */ t.jsx(ws, { path: `${v}/artifacts`, children: e.IsVirtualEnvironment && h ? h({
|
|
15645
15656
|
status: e.status,
|
|
15646
15657
|
title: e.helmPackageName,
|
|
15647
15658
|
params: { ...L, appId: Number(T), envId: Number(j) }
|
|
@@ -15751,7 +15762,7 @@ const vb = (e) => {
|
|
|
15751
15762
|
Z(+v, $, je);
|
|
15752
15763
|
}, [re, pe, je]);
|
|
15753
15764
|
const H = J(() => !b || LN.has(b.podStatus?.toLowerCase() || b.status?.toLowerCase()) ? null : wN.has(b.status?.toLowerCase() || b.podStatus?.toLowerCase()) ? 1e4 : 3e4, [b]);
|
|
15754
|
-
return Hu(B, H), !ee && j && !b || !v || ee && (re || j) && !b ? /* @__PURE__ */ t.jsx(
|
|
15765
|
+
return Hu(B, H), !ee && j && !b || !v || ee && (re || j) && !b ? /* @__PURE__ */ t.jsx($e, { pageLoader: !0 }) : k?.code === 404 ? /* @__PURE__ */ t.jsx(
|
|
15755
15766
|
Xe,
|
|
15756
15767
|
{
|
|
15757
15768
|
title: Ge.TRIGGER_NOT_FOUND.TITLE,
|
|
@@ -15784,7 +15795,7 @@ const vb = (e) => {
|
|
|
15784
15795
|
),
|
|
15785
15796
|
/* @__PURE__ */ t.jsxs("ul", { className: "pl-50 pr-20 pt-8 tab-list tab-list--nodes dc__border-bottom dc__position-sticky dc__top-0 bg__primary dc__zi-3", children: [
|
|
15786
15797
|
b.stage === "DEPLOY" && r !== Zs.HELM && /* @__PURE__ */ t.jsx("li", { className: "tab-list__tab", "data-testid": "deployment-history-steps-link", children: /* @__PURE__ */ t.jsx(
|
|
15787
|
-
|
|
15798
|
+
ut,
|
|
15788
15799
|
{
|
|
15789
15800
|
replace: !0,
|
|
15790
15801
|
className: "tab-list__tab-link fs-13-imp pb-8 pt-0-imp",
|
|
@@ -15794,7 +15805,7 @@ const vb = (e) => {
|
|
|
15794
15805
|
}
|
|
15795
15806
|
) }),
|
|
15796
15807
|
!(b.stage === "DEPLOY" || b.IsVirtualEnvironment) && /* @__PURE__ */ t.jsx("li", { className: "tab-list__tab", "data-testid": "deployment-history-logs-link", children: /* @__PURE__ */ t.jsx(
|
|
15797
|
-
|
|
15808
|
+
ut,
|
|
15798
15809
|
{
|
|
15799
15810
|
replace: !0,
|
|
15800
15811
|
className: "tab-list__tab-link fs-13-imp pb-8 pt-0-imp",
|
|
@@ -15804,7 +15815,7 @@ const vb = (e) => {
|
|
|
15804
15815
|
}
|
|
15805
15816
|
) }),
|
|
15806
15817
|
/* @__PURE__ */ t.jsx("li", { className: "tab-list__tab", "data-testid": "deployment-history-source-code-link", children: /* @__PURE__ */ t.jsx(
|
|
15807
|
-
|
|
15818
|
+
ut,
|
|
15808
15819
|
{
|
|
15809
15820
|
replace: !0,
|
|
15810
15821
|
className: "tab-list__tab-link fs-13-imp pb-8 pt-0-imp",
|
|
@@ -15814,7 +15825,7 @@ const vb = (e) => {
|
|
|
15814
15825
|
}
|
|
15815
15826
|
) }),
|
|
15816
15827
|
b.stage === "DEPLOY" && /* @__PURE__ */ t.jsx("li", { className: "tab-list__tab", "data-testid": "deployment-history-configuration-link", children: /* @__PURE__ */ t.jsx(
|
|
15817
|
-
|
|
15828
|
+
ut,
|
|
15818
15829
|
{
|
|
15819
15830
|
replace: !0,
|
|
15820
15831
|
className: "tab-list__tab-link fs-13-imp pb-8 pt-0-imp",
|
|
@@ -15824,7 +15835,7 @@ const vb = (e) => {
|
|
|
15824
15835
|
}
|
|
15825
15836
|
) }),
|
|
15826
15837
|
(b.stage !== "DEPLOY" || b.IsVirtualEnvironment) && /* @__PURE__ */ t.jsx("li", { className: "tab-list__tab", "data-testid": "deployment-history-artifacts-link", children: /* @__PURE__ */ t.jsx(
|
|
15827
|
-
|
|
15838
|
+
ut,
|
|
15828
15839
|
{
|
|
15829
15840
|
replace: !0,
|
|
15830
15841
|
className: "tab-list__tab-link fs-13-imp pb-8 pt-0-imp",
|
|
@@ -15978,7 +15989,7 @@ const vb = (e) => {
|
|
|
15978
15989
|
MONTH: "Select month",
|
|
15979
15990
|
DEFAULT_TIME: "12:00 AM",
|
|
15980
15991
|
DEFAULT_MONTHLY_DATE: "Day 1"
|
|
15981
|
-
},
|
|
15992
|
+
}, Ms = {
|
|
15982
15993
|
DATE: "date_picker",
|
|
15983
15994
|
MONTH: "month_picker",
|
|
15984
15995
|
TIME: "time_picker"
|
|
@@ -16104,11 +16115,11 @@ const vb = (e) => {
|
|
|
16104
16115
|
}, RO = ({
|
|
16105
16116
|
selectedMonthlyDate: e,
|
|
16106
16117
|
onChange: s,
|
|
16107
|
-
dataTestId: n =
|
|
16118
|
+
dataTestId: n = Ms.MONTH
|
|
16108
16119
|
}) => /* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink", children: /* @__PURE__ */ t.jsx(
|
|
16109
16120
|
Ht,
|
|
16110
16121
|
{
|
|
16111
|
-
inputId:
|
|
16122
|
+
inputId: Ms.MONTH,
|
|
16112
16123
|
placeholder: "Day 1",
|
|
16113
16124
|
options: Yb,
|
|
16114
16125
|
isSearchable: !1,
|
|
@@ -16125,7 +16136,7 @@ const vb = (e) => {
|
|
|
16125
16136
|
}) => /* @__PURE__ */ t.jsx(
|
|
16126
16137
|
Ht,
|
|
16127
16138
|
{
|
|
16128
|
-
inputId:
|
|
16139
|
+
inputId: Ms.TIME,
|
|
16129
16140
|
placeholder: "12:00 AM",
|
|
16130
16141
|
options: Aa,
|
|
16131
16142
|
isSearchable: !1,
|
|
@@ -16134,7 +16145,7 @@ const vb = (e) => {
|
|
|
16134
16145
|
value: r,
|
|
16135
16146
|
icon: /* @__PURE__ */ t.jsx(Oo, { className: "icon-dim-20 fcn-6" }),
|
|
16136
16147
|
onChange: s,
|
|
16137
|
-
"data-testid":
|
|
16148
|
+
"data-testid": Ms.TIME,
|
|
16138
16149
|
size: w.large,
|
|
16139
16150
|
error: a
|
|
16140
16151
|
}
|
|
@@ -16149,8 +16160,8 @@ const vb = (e) => {
|
|
|
16149
16160
|
hideTimeSelect: l = !1,
|
|
16150
16161
|
readOnly: c = !1,
|
|
16151
16162
|
isTodayBlocked: d = !1,
|
|
16152
|
-
dataTestIdForTime: u =
|
|
16153
|
-
dataTestidForDate: m =
|
|
16163
|
+
dataTestIdForTime: u = Ms.TIME,
|
|
16164
|
+
dataTestidForDate: m = Ms.DATE,
|
|
16154
16165
|
openDirection: p = "down",
|
|
16155
16166
|
error: _ = ""
|
|
16156
16167
|
}) => {
|
|
@@ -16192,7 +16203,7 @@ const vb = (e) => {
|
|
|
16192
16203
|
!l && /* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink", children: /* @__PURE__ */ t.jsx(
|
|
16193
16204
|
Ht,
|
|
16194
16205
|
{
|
|
16195
|
-
inputId:
|
|
16206
|
+
inputId: Ms.TIME,
|
|
16196
16207
|
placeholder: Gb.DEFAULT_TIME,
|
|
16197
16208
|
options: Aa,
|
|
16198
16209
|
icon: /* @__PURE__ */ t.jsx(Oo, { className: "icon-dim-20 fcn-6" }),
|
|
@@ -16540,7 +16551,7 @@ const wO = {
|
|
|
16540
16551
|
pluginStore: bu(l?.parentPlugins)
|
|
16541
16552
|
};
|
|
16542
16553
|
} catch (i) {
|
|
16543
|
-
throw r && !Gt(i) &&
|
|
16554
|
+
throw r && !Gt(i) && Me(i), i;
|
|
16544
16555
|
}
|
|
16545
16556
|
}, Tu = async ({
|
|
16546
16557
|
searchKey: e,
|
|
@@ -16565,7 +16576,7 @@ const wO = {
|
|
|
16565
16576
|
parentPluginIdList: i?.parentPlugins?.map((c) => c.id) || []
|
|
16566
16577
|
};
|
|
16567
16578
|
} catch (o) {
|
|
16568
|
-
throw Gt(o) ||
|
|
16579
|
+
throw Gt(o) || Me(o), o;
|
|
16569
16580
|
}
|
|
16570
16581
|
}, nT = async (e) => {
|
|
16571
16582
|
try {
|
|
@@ -16577,7 +16588,7 @@ const wO = {
|
|
|
16577
16588
|
const a = new Set(n.tagNames);
|
|
16578
16589
|
return Array.from(a).sort(Qe);
|
|
16579
16590
|
} catch (s) {
|
|
16580
|
-
throw
|
|
16591
|
+
throw Me(s), s;
|
|
16581
16592
|
}
|
|
16582
16593
|
}, PO = async (e) => {
|
|
16583
16594
|
const s = await ae(ze(F.PLUGIN_LIST_MIN, e));
|
|
@@ -16653,7 +16664,7 @@ const wO = {
|
|
|
16653
16664
|
onKeyDown: x,
|
|
16654
16665
|
children: [
|
|
16655
16666
|
e && /* @__PURE__ */ t.jsx("div", { className: `dc__no-shrink icon-dim-40 p-8 ${r ? "" : "dc__visible-hover--child"}`, children: /* @__PURE__ */ t.jsx(
|
|
16656
|
-
|
|
16667
|
+
Is,
|
|
16657
16668
|
{
|
|
16658
16669
|
isChecked: r,
|
|
16659
16670
|
onChange: x,
|
|
@@ -16834,14 +16845,14 @@ const wO = {
|
|
|
16834
16845
|
parentPluginIdList: Ne
|
|
16835
16846
|
} = D;
|
|
16836
16847
|
a(sT(n, oe, se)), v(Se);
|
|
16837
|
-
const K = V ? structuredClone(E) : [],
|
|
16848
|
+
const K = V ? structuredClone(E) : [], Ue = K.reduce(
|
|
16838
16849
|
(we, _t) => (we[_t.parentPluginId] = !0, we),
|
|
16839
16850
|
{}
|
|
16840
16851
|
);
|
|
16841
16852
|
Ne.forEach((we) => {
|
|
16842
|
-
|
|
16853
|
+
Ue[we] || (K.push({
|
|
16843
16854
|
parentPluginId: we
|
|
16844
|
-
}),
|
|
16855
|
+
}), Ue[we] = !0);
|
|
16845
16856
|
}), R(K);
|
|
16846
16857
|
};
|
|
16847
16858
|
U(() => {
|
|
@@ -17154,7 +17165,7 @@ const wO = {
|
|
|
17154
17165
|
{
|
|
17155
17166
|
className: `key-value-table w-100 bcn-1 dc__bottom-radius-4 ${c ? "two-columns" : "three-columns"}`,
|
|
17156
17167
|
children: N.map((M) => /* @__PURE__ */ t.jsxs("div", { className: "key-value-table__row", children: [
|
|
17157
|
-
g.map(({ key: D }) => /* @__PURE__ */ t.jsx(
|
|
17168
|
+
g.map(({ key: D }) => /* @__PURE__ */ t.jsx(Us, { children: /* @__PURE__ */ t.jsx(ct, { wrap: mT, condition: c, children: /* @__PURE__ */ t.jsx(
|
|
17158
17169
|
"div",
|
|
17159
17170
|
{
|
|
17160
17171
|
className: `key-value-table__cell bg__primary flexbox dc__align-items-center dc__gap-4 dc__position-rel ${c || M.data[D].disabled ? "cursor-not-allowed no-hover" : ""} ${d && !G(M.data[D].value, D, M.id) ? "key-value-table__cell--error no-hover" : ""}`,
|
|
@@ -17229,7 +17240,7 @@ const wO = {
|
|
|
17229
17240
|
showError: s,
|
|
17230
17241
|
showWarning: n,
|
|
17231
17242
|
className: a
|
|
17232
|
-
}) => s ? /* @__PURE__ */ t.jsx(
|
|
17243
|
+
}) => s ? /* @__PURE__ */ t.jsx(As, { className: a }) : n ? /* @__PURE__ */ t.jsx(Gn, { className: `${a} warning-icon-y7` }) : e ? /* @__PURE__ */ t.jsx(e, { className: `${a} tab-group__tab__icon` }) : null, hT = (e, s) => e !== null && /* @__PURE__ */ t.jsx("div", { className: `tab-group__tab__badge bcn-1 cn-7 fw-6 flex px-4 ${s}`, children: e }), gT = (e) => e && /* @__PURE__ */ t.jsx("span", { className: "tab-group__tab__indicator bcr-5 mt-4 dc__align-self-start" }), ET = (e) => e && /* @__PURE__ */ t.jsx("ul", { className: "tab-group__tab__description m-0 p-0 fs-12 lh-16 fw-4 cn-7 flexbox dc__align-items-center dc__gap-4", children: Array.isArray(e) ? e.map((s, n) => /* @__PURE__ */ t.jsxs("li", { className: "flex dc__gap-4", children: [
|
|
17233
17244
|
!!n && /* @__PURE__ */ t.jsx("span", { className: "dc__bullet" }),
|
|
17234
17245
|
s
|
|
17235
17246
|
] }, s)) : e }), xT = ({
|
|
@@ -17268,7 +17279,7 @@ const wO = {
|
|
|
17268
17279
|
switch (n) {
|
|
17269
17280
|
case "link":
|
|
17270
17281
|
return /* @__PURE__ */ t.jsx(
|
|
17271
|
-
|
|
17282
|
+
Ss,
|
|
17272
17283
|
{
|
|
17273
17284
|
className: `${f} dc__no-decor flexbox-col ${p ? "cursor-not-allowed" : ""}`,
|
|
17274
17285
|
"aria-disabled": p,
|
|
@@ -17279,7 +17290,7 @@ const wO = {
|
|
|
17279
17290
|
);
|
|
17280
17291
|
case "navLink":
|
|
17281
17292
|
return /* @__PURE__ */ t.jsx(
|
|
17282
|
-
|
|
17293
|
+
ut,
|
|
17283
17294
|
{
|
|
17284
17295
|
className: `${f} dc__no-decor flexbox-col tab-group__tab__nav-link ${p ? "cursor-not-allowed" : ""}`,
|
|
17285
17296
|
"aria-disabled": p,
|
|
@@ -17406,7 +17417,7 @@ const wO = {
|
|
|
17406
17417
|
throw new Error(b.message);
|
|
17407
17418
|
N();
|
|
17408
17419
|
} catch (v) {
|
|
17409
|
-
n(v.message || "Failed to load image"),
|
|
17420
|
+
n(v.message || "Failed to load image"), Me(v);
|
|
17410
17421
|
} finally {
|
|
17411
17422
|
_(!1);
|
|
17412
17423
|
}
|
|
@@ -18223,7 +18234,7 @@ const PT = (e) => {
|
|
|
18223
18234
|
...b.data[j].props,
|
|
18224
18235
|
inputId: `data-table-${b.id}-${j}-cell`,
|
|
18225
18236
|
classNamePrefix: "dynamic-data-table__cell__select-picker",
|
|
18226
|
-
variant:
|
|
18237
|
+
variant: Cs.BORDER_LESS,
|
|
18227
18238
|
value: ln(
|
|
18228
18239
|
b.data[j].props?.options,
|
|
18229
18240
|
b.data[j].value,
|
|
@@ -18242,7 +18253,7 @@ const PT = (e) => {
|
|
|
18242
18253
|
isCreatable: G,
|
|
18243
18254
|
isClearable: !0,
|
|
18244
18255
|
...B,
|
|
18245
|
-
variant:
|
|
18256
|
+
variant: Cs.BORDER_LESS,
|
|
18246
18257
|
classNamePrefix: "dynamic-data-table__cell__select-picker-text-area",
|
|
18247
18258
|
inputId: `data-table-${b.id}-${j}-cell`,
|
|
18248
18259
|
minHeight: 20,
|
|
@@ -18263,7 +18274,7 @@ const PT = (e) => {
|
|
|
18263
18274
|
}
|
|
18264
18275
|
case tt.BUTTON:
|
|
18265
18276
|
return /* @__PURE__ */ t.jsx("div", { className: "w-100 h-100 flex top", children: /* @__PURE__ */ t.jsx(
|
|
18266
|
-
|
|
18277
|
+
ct,
|
|
18267
18278
|
{
|
|
18268
18279
|
condition: !!u,
|
|
18269
18280
|
wrap: UT(u, b),
|
|
@@ -18384,7 +18395,7 @@ const PT = (e) => {
|
|
|
18384
18395
|
gridTemplateColumns: g
|
|
18385
18396
|
},
|
|
18386
18397
|
children: e.map((b) => /* @__PURE__ */ t.jsxs("div", { className: "dynamic-data-table__row", children: [
|
|
18387
|
-
s.map(({ key: j }, L) => /* @__PURE__ */ t.jsx(
|
|
18398
|
+
s.map(({ key: j }, L) => /* @__PURE__ */ t.jsx(Us, { children: O(b, j, L) }, j)),
|
|
18388
18399
|
!a && !n && /* @__PURE__ */ t.jsx("div", { className: "dynamic-data-table__row-delete-btn bg__primary", children: /* @__PURE__ */ t.jsx(
|
|
18389
18400
|
ie,
|
|
18390
18401
|
{
|
|
@@ -18744,7 +18755,7 @@ const Vt = ({
|
|
|
18744
18755
|
try {
|
|
18745
18756
|
await e();
|
|
18746
18757
|
} catch (r) {
|
|
18747
|
-
|
|
18758
|
+
Me(r);
|
|
18748
18759
|
} finally {
|
|
18749
18760
|
n(!1);
|
|
18750
18761
|
}
|
|
@@ -18802,10 +18813,10 @@ const Pu = (e, s) => e || (s === Mt.dark ? $n.vsDarkDT : $n.vs), WT = (e, s) =>
|
|
|
18802
18813
|
let r = e;
|
|
18803
18814
|
if (a)
|
|
18804
18815
|
switch (s) {
|
|
18805
|
-
case
|
|
18816
|
+
case Es.JSON:
|
|
18806
18817
|
r = JSON.stringify(a, null, n);
|
|
18807
18818
|
break;
|
|
18808
|
-
case
|
|
18819
|
+
case Es.YAML:
|
|
18809
18820
|
r = Et(a);
|
|
18810
18821
|
break;
|
|
18811
18822
|
}
|
|
@@ -18825,7 +18836,7 @@ const Pu = (e, s) => e || (s === Mt.dark ? $n.vsDarkDT : $n.vs), WT = (e, s) =>
|
|
|
18825
18836
|
code: o ? n : Xa(n, e, i),
|
|
18826
18837
|
defaultCode: o ? a : Xa(a, e, i),
|
|
18827
18838
|
diffMode: r,
|
|
18828
|
-
noParsing: [
|
|
18839
|
+
noParsing: [Es.JSON, Es.YAML].includes(e) ? o : !0
|
|
18829
18840
|
}), ku = ge.createContext(null);
|
|
18830
18841
|
function Ks() {
|
|
18831
18842
|
const e = ge.useContext(ku);
|
|
@@ -18836,7 +18847,7 @@ function Ks() {
|
|
|
18836
18847
|
const qT = 100, Wt = ge.memo(
|
|
18837
18848
|
({
|
|
18838
18849
|
value: e,
|
|
18839
|
-
mode: s =
|
|
18850
|
+
mode: s = Es.JSON,
|
|
18840
18851
|
noParsing: n = !1,
|
|
18841
18852
|
defaultValue: a = "",
|
|
18842
18853
|
children: r,
|
|
@@ -18911,10 +18922,10 @@ const qT = 100, Wt = ge.memo(
|
|
|
18911
18922
|
};
|
|
18912
18923
|
}, [R]);
|
|
18913
18924
|
const _e = (K) => {
|
|
18914
|
-
s ===
|
|
18925
|
+
s === Es.YAML && K && typeof K.getModel == "function" && typeof K.getModel().updateOptions == "function" && K.getModel().updateOptions({ tabSize: 2 }), K && (typeof K.onDidFocusEditorWidget == "function" && typeof S == "function" && K.onDidFocusEditorWidget(S), typeof K.onDidBlurEditorWidget == "function" && typeof A == "function" && K.onDidBlurEditorWidget(A)), I && K && (K.onDidContentSizeChange(() => {
|
|
18915
18926
|
$(K.getContentHeight());
|
|
18916
18927
|
}), $(K.getContentHeight())), O.current = K, b.current = Ti;
|
|
18917
|
-
}, Ae = (K,
|
|
18928
|
+
}, Ae = (K, Ue) => {
|
|
18918
18929
|
const we = K.getOriginalEditor(), _t = K.getModifiedEditor();
|
|
18919
18930
|
I && (we.onDidContentSizeChange(() => {
|
|
18920
18931
|
$(
|
|
@@ -18932,7 +18943,7 @@ const qT = 100, Wt = ge.memo(
|
|
|
18932
18943
|
);
|
|
18933
18944
|
}), $(Math.max(we.getContentHeight(), _t.getContentHeight()))), v && we.onDidChangeModelContent(() => {
|
|
18934
18945
|
V(_t.getValue(), we.getValue());
|
|
18935
|
-
}), O.current = K, b.current =
|
|
18946
|
+
}), O.current = K, b.current = Ue;
|
|
18936
18947
|
}, M = J(() => I ? H : l, [l, H, I]);
|
|
18937
18948
|
U(() => {
|
|
18938
18949
|
if (!E)
|
|
@@ -18957,8 +18968,8 @@ const qT = 100, Wt = ge.memo(
|
|
|
18957
18968
|
}, [m]), U(() => {
|
|
18958
18969
|
O.current && O.current.layout();
|
|
18959
18970
|
}, [j, L]);
|
|
18960
|
-
const D = (K,
|
|
18961
|
-
G({ type: "setCode", value: K }), G({ type: "setDefaultCode", value:
|
|
18971
|
+
const D = (K, Ue) => {
|
|
18972
|
+
G({ type: "setCode", value: K }), G({ type: "setDefaultCode", value: Ue }), de.current?.(K, Ue);
|
|
18962
18973
|
};
|
|
18963
18974
|
Qa(() => {
|
|
18964
18975
|
if (n) {
|
|
@@ -18971,8 +18982,8 @@ const qT = 100, Wt = ge.memo(
|
|
|
18971
18982
|
}, [p]), U(() => {
|
|
18972
18983
|
f && O.current.focus();
|
|
18973
18984
|
}, [f]);
|
|
18974
|
-
const V = (K,
|
|
18975
|
-
D(K,
|
|
18985
|
+
const V = (K, Ue) => {
|
|
18986
|
+
D(K, Ue);
|
|
18976
18987
|
}, oe = (K) => {
|
|
18977
18988
|
V(K, O.current?.getOriginalEditor?.().getValue?.() ?? "");
|
|
18978
18989
|
};
|
|
@@ -19098,11 +19109,11 @@ const qT = 100, Wt = ge.memo(
|
|
|
19098
19109
|
e.text,
|
|
19099
19110
|
e.children
|
|
19100
19111
|
] }), tS = (e) => /* @__PURE__ */ t.jsxs("div", { className: `code-editor__error ${e.className || ""}`, children: [
|
|
19101
|
-
/* @__PURE__ */ t.jsx(
|
|
19112
|
+
/* @__PURE__ */ t.jsx(As, { className: "code-editor__information-info-icon" }),
|
|
19102
19113
|
e.text,
|
|
19103
19114
|
e.children
|
|
19104
19115
|
] }), sS = (e) => /* @__PURE__ */ t.jsxs("div", { className: `code-editor__information ${e.className || ""}`, children: [
|
|
19105
|
-
/* @__PURE__ */ t.jsx(
|
|
19116
|
+
/* @__PURE__ */ t.jsx(gs, { className: "code-editor__information-info-icon" }),
|
|
19106
19117
|
e.text,
|
|
19107
19118
|
e.children
|
|
19108
19119
|
] }), nS = () => {
|
|
@@ -19119,7 +19130,7 @@ const qT = 100, Wt = ge.memo(
|
|
|
19119
19130
|
] });
|
|
19120
19131
|
}, rS = ({ className: e = "", style: s = {}, customLoader: n }) => {
|
|
19121
19132
|
const { height: a } = Ks();
|
|
19122
|
-
return n || /* @__PURE__ */ t.jsx("div", { className: `code-editor code-editor--placeholder disabled ${e}`, style: { ...s }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", style: { height: a || "100%" }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(
|
|
19133
|
+
return n || /* @__PURE__ */ t.jsx("div", { className: `code-editor code-editor--placeholder disabled ${e}`, style: { ...s }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", style: { height: a || "100%" }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx($e, { pageLoader: !0 }) }) }) });
|
|
19123
19134
|
};
|
|
19124
19135
|
Wt.LanguageChanger = ZT;
|
|
19125
19136
|
Wt.ThemeChanger = JT;
|
|
@@ -19221,7 +19232,7 @@ const Ja = "Please provide valid YAML", Nn = {
|
|
|
19221
19232
|
skipValidation: r = !1,
|
|
19222
19233
|
fallbackMergeStrategy: o
|
|
19223
19234
|
}) => {
|
|
19224
|
-
const i = a ===
|
|
19235
|
+
const i = a === xs.Secret, {
|
|
19225
19236
|
name: l,
|
|
19226
19237
|
external: c,
|
|
19227
19238
|
externalType: d,
|
|
@@ -19502,7 +19513,7 @@ const Ja = "Please provide valid YAML", Nn = {
|
|
|
19502
19513
|
fallbackMergeStrategy: o,
|
|
19503
19514
|
displayKeys: c
|
|
19504
19515
|
});
|
|
19505
|
-
return r ? /* @__PURE__ */ t.jsx(
|
|
19516
|
+
return r ? /* @__PURE__ */ t.jsx($e, { fullHeight: !0, pageLoader: !0 }) : /* @__PURE__ */ t.jsxs(
|
|
19506
19517
|
"div",
|
|
19507
19518
|
{
|
|
19508
19519
|
className: l || `bg__primary h-100 flexbox-col dc__gap-12 dc__overflow-auto ${i ? "" : "p-16"}`,
|
|
@@ -19721,13 +19732,13 @@ const Ja = "Please provide valid YAML", Nn = {
|
|
|
19721
19732
|
"p",
|
|
19722
19733
|
{
|
|
19723
19734
|
className: "m-0 fs-12 fw-4 lh-18 dc__word-break-all",
|
|
19724
|
-
dangerouslySetInnerHTML: { __html:
|
|
19735
|
+
dangerouslySetInnerHTML: { __html: Bs.sanitize(m(s)) }
|
|
19725
19736
|
}
|
|
19726
19737
|
), _ = () => /* @__PURE__ */ t.jsx(
|
|
19727
19738
|
"p",
|
|
19728
19739
|
{
|
|
19729
19740
|
className: "m-0 fs-13 fw-6 lh-20 cn-9 dc__ellipsis-right",
|
|
19730
|
-
dangerouslySetInnerHTML: { __html:
|
|
19741
|
+
dangerouslySetInnerHTML: { __html: Bs.sanitize(m(e)) }
|
|
19731
19742
|
}
|
|
19732
19743
|
), x = (g) => /* @__PURE__ */ t.jsx(
|
|
19733
19744
|
ne,
|
|
@@ -19746,7 +19757,7 @@ const Ja = "Please provide valid YAML", Nn = {
|
|
|
19746
19757
|
);
|
|
19747
19758
|
return (
|
|
19748
19759
|
// TODO: conditional wrap is not required since handled through alwaysShowTippyOnHover in tooltip
|
|
19749
|
-
/* @__PURE__ */ t.jsx(
|
|
19760
|
+
/* @__PURE__ */ t.jsx(ct, { condition: o, wrap: x, children: /* @__PURE__ */ t.jsxs(
|
|
19750
19761
|
"div",
|
|
19751
19762
|
{
|
|
19752
19763
|
className: "flexbox-col pt-8 pb-8 pl-12 pr-12 dc__align-self-stretch bg__primary dc__border-bottom-n1 dc__hover-n50",
|
|
@@ -19792,7 +19803,7 @@ const Ja = "Please provide valid YAML", Nn = {
|
|
|
19792
19803
|
e && /* @__PURE__ */ t.jsx("div", { className: "flex pl-24 dc__gap-4 flex-wrap dc__content-center", children: /* @__PURE__ */ t.jsxs("p", { className: "m-0 fs-13 fw-4 lh-20 cn-9", children: [
|
|
19793
19804
|
"Use a scoped variable for dynamic values, which are defined in the ",
|
|
19794
19805
|
/* @__PURE__ */ t.jsx(
|
|
19795
|
-
|
|
19806
|
+
Ss,
|
|
19796
19807
|
{
|
|
19797
19808
|
className: "cb-5 m-0",
|
|
19798
19809
|
to: Ie.GLOBAL_CONFIG_SCOPED_VARIABLES,
|
|
@@ -19900,7 +19911,7 @@ const Ja = "Please provide valid YAML", Nn = {
|
|
|
19900
19911
|
}
|
|
19901
19912
|
) }),
|
|
19902
19913
|
/* @__PURE__ */ t.jsx(Kl, {})
|
|
19903
|
-
] }), h = () => s ? /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__align-self-stretch dc__overflow-auto bg__primary flex-grow-1 h-250", children: /* @__PURE__ */ t.jsx(
|
|
19914
|
+
] }), h = () => s ? /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__align-self-stretch dc__overflow-auto bg__primary flex-grow-1 h-250", children: /* @__PURE__ */ t.jsx($e, { pageLoader: !0, size: 32 }) }) : n?.length === 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
19904
19915
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__align-self-stretch dc__overflow-auto flex-grow-1 h-250", children: /* @__PURE__ */ t.jsx(Xe, { title: "No variables found", image: Oc }) }),
|
|
19905
19916
|
/* @__PURE__ */ t.jsx(Kl, {})
|
|
19906
19917
|
] }) : p ? E() : /* @__PURE__ */ t.jsx(Vn, { reload: a, className: "bg__primary pb-16" });
|
|
@@ -20120,7 +20131,7 @@ class ql {
|
|
|
20120
20131
|
oa(this, nn, !1);
|
|
20121
20132
|
oa(this, an, !1);
|
|
20122
20133
|
ue(this, "updateStatus", (s, n) => {
|
|
20123
|
-
n.status === "Completed" && !
|
|
20134
|
+
n.status === "Completed" && !Rs(this, an) && ia(this, an, !0), n.status === "Failed" && !Rs(this, nn) && ia(this, nn, !0), n.status === "Failed" && n.retryOperation && this.retryOperationsSet.has(s) && (this.retryOperations.push(n.retryOperation), this.retryOperationsSet.add(s)), n.status !== "Progressing" && (this.barChartEntities[n.status] ? this.barChartEntities[n.status] += 1 : this.barChartEntities[n.status] = 1), this.barChartEntities.Pending = this.size - (this.barChartEntities.Failed ?? 0) - (this.barChartEntities.Completed ?? 0), this.barChartEntities.Pending <= 0 && delete this.barChartEntities.Pending;
|
|
20124
20135
|
});
|
|
20125
20136
|
ue(this, "addResult", (s) => {
|
|
20126
20137
|
const n = structuredClone(s), a = this.results.length, r = { ...n, id: a };
|
|
@@ -20141,8 +20152,8 @@ class ql {
|
|
|
20141
20152
|
this.map.set(s, r), this.results[s] = r, n.status === "Failed" && n.retryOperation && this.retryOperations.push(n.retryOperation), this.updateStatus(s, r);
|
|
20142
20153
|
});
|
|
20143
20154
|
ue(this, "getRetryOperations", () => this.retryOperations);
|
|
20144
|
-
ue(this, "hasAnyOperationFailed", () =>
|
|
20145
|
-
ue(this, "getHasAnyOperationSucceeded", () =>
|
|
20155
|
+
ue(this, "hasAnyOperationFailed", () => Rs(this, nn));
|
|
20156
|
+
ue(this, "getHasAnyOperationSucceeded", () => Rs(this, an));
|
|
20146
20157
|
this.size = s, this.barChartEntities.Pending = s;
|
|
20147
20158
|
}
|
|
20148
20159
|
}
|
|
@@ -20404,7 +20415,7 @@ const jS = ({
|
|
|
20404
20415
|
description: "Action completed"
|
|
20405
20416
|
}), r && E();
|
|
20406
20417
|
} catch (R) {
|
|
20407
|
-
|
|
20418
|
+
Me(R);
|
|
20408
20419
|
} finally {
|
|
20409
20420
|
m(!1);
|
|
20410
20421
|
}
|
|
@@ -20417,7 +20428,7 @@ const jS = ({
|
|
|
20417
20428
|
}, A = () => {
|
|
20418
20429
|
g.current.abort();
|
|
20419
20430
|
}, S = () => /* @__PURE__ */ t.jsx(
|
|
20420
|
-
|
|
20431
|
+
Vs,
|
|
20421
20432
|
{
|
|
20422
20433
|
...l,
|
|
20423
20434
|
handleClose: E,
|
|
@@ -20465,7 +20476,7 @@ const jS = ({
|
|
|
20465
20476
|
isDisabled: c = !1
|
|
20466
20477
|
}) => {
|
|
20467
20478
|
const d = !!l || c, u = (m) => /* @__PURE__ */ t.jsx(ce, { className: "default-tt w-200", placement: "top", content: l, arrow: !1, children: /* @__PURE__ */ t.jsx("span", { children: m }) });
|
|
20468
|
-
return /* @__PURE__ */ t.jsx(
|
|
20479
|
+
return /* @__PURE__ */ t.jsx(ct, { wrap: u, condition: !!l, children: /* @__PURE__ */ t.jsx("div", { className: d ? "cursor-not-allowed dc__position-rel" : "", children: /* @__PURE__ */ t.jsxs(
|
|
20469
20480
|
"div",
|
|
20470
20481
|
{
|
|
20471
20482
|
className: `flexbox p-12 dc__gap-12 dc__align-self-stretch br-4 border__secondary bg__primary dc__hover-n50 ${d ? "dc__disable-click dc__opacity-0_5" : ""}`,
|
|
@@ -20517,7 +20528,7 @@ const jS = ({
|
|
|
20517
20528
|
image: r_,
|
|
20518
20529
|
alt: "External-CI",
|
|
20519
20530
|
dataTestId: "deploy-image-external-service-link",
|
|
20520
|
-
type:
|
|
20531
|
+
type: ks.WEBHOOK
|
|
20521
20532
|
},
|
|
20522
20533
|
JOB: {
|
|
20523
20534
|
title: "Create a Job",
|
|
@@ -20540,7 +20551,7 @@ const jS = ({
|
|
|
20540
20551
|
appWorkflowId: e.appWorkflowId,
|
|
20541
20552
|
environmentId: -1,
|
|
20542
20553
|
id: 0,
|
|
20543
|
-
parentPipelineType:
|
|
20554
|
+
parentPipelineType: ks.WEBHOOK,
|
|
20544
20555
|
switchFromCiPipelineId: e.switchFromCiPipelineId
|
|
20545
20556
|
}
|
|
20546
20557
|
]
|
|
@@ -20604,7 +20615,7 @@ const jS = ({
|
|
|
20604
20615
|
description: Xl.SUCCESS_CHANGE_TO_WEBHOOK
|
|
20605
20616
|
}), l(), g());
|
|
20606
20617
|
}).catch((A) => {
|
|
20607
|
-
|
|
20618
|
+
Me(A), x(!1);
|
|
20608
20619
|
});
|
|
20609
20620
|
return;
|
|
20610
20621
|
}
|
|
@@ -20614,7 +20625,7 @@ const jS = ({
|
|
|
20614
20625
|
return;
|
|
20615
20626
|
N.stopPropagation();
|
|
20616
20627
|
const { pipelineType: C } = N.currentTarget.dataset;
|
|
20617
|
-
if (C ===
|
|
20628
|
+
if (C === ks.WEBHOOK) {
|
|
20618
20629
|
f();
|
|
20619
20630
|
return;
|
|
20620
20631
|
}
|
|
@@ -20780,7 +20791,7 @@ const jS = ({
|
|
|
20780
20791
|
/* @__PURE__ */ t.jsx(Hn, { className: "icon-dim-20 dc__no-shrink" }),
|
|
20781
20792
|
/* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 fw-4 lh-20", children: "Unsaved changes" })
|
|
20782
20793
|
] }), ZO = ({ handleClose: e, handleProceed: s }) => /* @__PURE__ */ t.jsx(
|
|
20783
|
-
|
|
20794
|
+
Vs,
|
|
20784
20795
|
{
|
|
20785
20796
|
handleClose: e,
|
|
20786
20797
|
variant: Yt.warning,
|
|
@@ -20799,24 +20810,26 @@ const jS = ({
|
|
|
20799
20810
|
}
|
|
20800
20811
|
}
|
|
20801
20812
|
), PS = {
|
|
20802
|
-
[
|
|
20803
|
-
[
|
|
20804
|
-
[
|
|
20805
|
-
[
|
|
20806
|
-
[
|
|
20807
|
-
[
|
|
20808
|
-
}, QO = ({ gitProvider: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(
|
|
20813
|
+
[dt.GIT]: "ic-git",
|
|
20814
|
+
[dt.GITHUB]: "ic-github",
|
|
20815
|
+
[dt.GITLAB]: "ic-gitlab",
|
|
20816
|
+
[dt.BITBUCKET]: "ic-bitbucket",
|
|
20817
|
+
[dt.GITEA]: "ic-git",
|
|
20818
|
+
[dt.AZURE]: "ic-azure"
|
|
20819
|
+
}, QO = ({ gitProvider: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(it, { name: PS[e] || "ic-git", size: s, color: null }), kS = {
|
|
20809
20820
|
error: "bcr-1 er-2",
|
|
20810
20821
|
help: "bcv-1 ev-2",
|
|
20811
20822
|
information: "bcb-1 eb-2",
|
|
20812
20823
|
success: "bcg-1 eg-2",
|
|
20813
|
-
warning: "bcy-1 ey-2"
|
|
20824
|
+
warning: "bcy-1 ey-2",
|
|
20825
|
+
neutral: "bcn-1 en-2"
|
|
20814
20826
|
}, MS = {
|
|
20815
20827
|
error: /* @__PURE__ */ t.jsx(ir, {}),
|
|
20816
20828
|
help: /* @__PURE__ */ t.jsx(mn, { className: "fcv-5" }),
|
|
20817
|
-
information: /* @__PURE__ */ t.jsx(
|
|
20829
|
+
information: /* @__PURE__ */ t.jsx(gs, {}),
|
|
20818
20830
|
success: /* @__PURE__ */ t.jsx(Mo, {}),
|
|
20819
|
-
warning: /* @__PURE__ */ t.jsx(Hn, {})
|
|
20831
|
+
warning: /* @__PURE__ */ t.jsx(Hn, {}),
|
|
20832
|
+
neutral: /* @__PURE__ */ t.jsx(gs, { className: "circle-fill--n7" })
|
|
20820
20833
|
}, US = {
|
|
20821
20834
|
[w.large]: "px-12",
|
|
20822
20835
|
[w.medium]: "px-8"
|
|
@@ -20870,7 +20883,7 @@ const jS = ({
|
|
|
20870
20883
|
r && /* @__PURE__ */ t.jsx(ie, { ...r, size: Ql[n] })
|
|
20871
20884
|
] }) : null;
|
|
20872
20885
|
};
|
|
20873
|
-
function
|
|
20886
|
+
function Me(e, s = !0, n = !1) {
|
|
20874
20887
|
e instanceof Rt && Array.isArray(e.errors) ? e.errors.map(({ userMessage: a, internalMessage: r }) => {
|
|
20875
20888
|
const o = a?.toLowerCase();
|
|
20876
20889
|
e.code === 403 && (o === He.UNAUTHORIZED.toLowerCase() || o === He.FORBIDDEN.toLowerCase()) ? n || Pe.showToast({
|
|
@@ -20888,7 +20901,7 @@ function Ue(e, s = !0, n = !1) {
|
|
|
20888
20901
|
description: "Some Error Occurred"
|
|
20889
20902
|
})));
|
|
20890
20903
|
}
|
|
20891
|
-
const
|
|
20904
|
+
const ct = ({ condition: e, wrap: s, children: n }) => e ? s(n) : /* @__PURE__ */ t.jsx(t.Fragment, { children: n });
|
|
20892
20905
|
function $S(e, s, n, a) {
|
|
20893
20906
|
let r = s[e], o = n[e];
|
|
20894
20907
|
return a && (r = r.toLowerCase(), o = o.toLowerCase()), r < o ? -1 : r > o ? 1 : 0;
|
|
@@ -20938,7 +20951,7 @@ const sL = (e, s = "") => e ? /* @__PURE__ */ t.jsx(
|
|
|
20938
20951
|
children: e[0]
|
|
20939
20952
|
}
|
|
20940
20953
|
) : null, nL = (e) => Array.from({ length: e });
|
|
20941
|
-
function
|
|
20954
|
+
function lt(...e) {
|
|
20942
20955
|
}
|
|
20943
20956
|
function FS(e) {
|
|
20944
20957
|
return !e;
|
|
@@ -20976,7 +20989,7 @@ function er(e, s = !1) {
|
|
|
20976
20989
|
}
|
|
20977
20990
|
const rL = (e, s = "-") => e ? `${Le(e).utc().format(Tt.TWELVE_HOURS_EXPORT_FORMAT)} (UTC)` : "-";
|
|
20978
20991
|
function oL() {
|
|
20979
|
-
const e =
|
|
20992
|
+
const e = vs(), s = J(() => new URLSearchParams(e.search), [e]), n = Array.from(s.entries()).reduce((a, r, o) => (a[r[0]] = r[1], a), {});
|
|
20980
20993
|
return { queryParams: s, searchParams: n };
|
|
20981
20994
|
}
|
|
20982
20995
|
const iL = (e, s) => {
|
|
@@ -21295,7 +21308,7 @@ function NL() {
|
|
|
21295
21308
|
};
|
|
21296
21309
|
return e;
|
|
21297
21310
|
}
|
|
21298
|
-
const zS = (e) => /* @__PURE__ */ t.jsx(
|
|
21311
|
+
const zS = (e) => /* @__PURE__ */ t.jsx(Be.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(ss, { className: "icon-dim-20 icon-n6" }) });
|
|
21299
21312
|
function Yu(e, s) {
|
|
21300
21313
|
return Array.isArray(e) ? e.reduce((n, a) => n.set(a[s], a), /* @__PURE__ */ new Map()) : (console.error(e, "is not array"), /* @__PURE__ */ new Map());
|
|
21301
21314
|
}
|
|
@@ -21308,7 +21321,7 @@ const bL = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, qS = (e, s = 300) => {
|
|
|
21308
21321
|
const r = Date.now();
|
|
21309
21322
|
r - n >= s && (n = r, e(...a));
|
|
21310
21323
|
};
|
|
21311
|
-
}, XS = (e, s, n) => e === kt.WEBHOOK ? n === kn.PULL_REQUEST ? /* @__PURE__ */ t.jsx(Do, { className: "scn-6" }) : n === kn.TAG_CREATION ? /* @__PURE__ */ t.jsx(nr, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(Bc, {}) : e === kt.BranchRegex || s ? /* @__PURE__ */ t.jsx(Nf, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(Nc, { className: "fcn-6" }), Ku = (e) =>
|
|
21324
|
+
}, XS = (e, s, n) => e === kt.WEBHOOK ? n === kn.PULL_REQUEST ? /* @__PURE__ */ t.jsx(Do, { className: "scn-6" }) : n === kn.TAG_CREATION ? /* @__PURE__ */ t.jsx(nr, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(Bc, {}) : e === kt.BranchRegex || s ? /* @__PURE__ */ t.jsx(Nf, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(Nc, { className: "fcn-6" }), Ku = (e) => Bs.sanitize(e, {
|
|
21312
21325
|
ADD_TAGS: ["iframe"],
|
|
21313
21326
|
ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
|
|
21314
21327
|
}), TL = (e, s) => {
|
|
@@ -21372,10 +21385,10 @@ class _n extends ge.Component {
|
|
|
21372
21385
|
(n.keyCode === 27 || n.key === "Escape") && (fe(n), this.props.onEscape ? this.props.onEscape(n) : this.props.close && this.props.close(n));
|
|
21373
21386
|
}
|
|
21374
21387
|
componentDidMount() {
|
|
21375
|
-
document.addEventListener("keydown", this.escFunction), this.modalRef.classList.add(this.props.noBackground ? "show" : "show-with-bg"),
|
|
21388
|
+
document.addEventListener("keydown", this.escFunction), this.modalRef.classList.add(this.props.noBackground ? "show" : "show-with-bg"), bs(!0), this.props.parentClassName && this.modalRef.classList.add(this.props.parentClassName);
|
|
21376
21389
|
}
|
|
21377
21390
|
componentWillUnmount() {
|
|
21378
|
-
document.removeEventListener("keydown", this.escFunction), this.modalRef.classList.remove("show"), this.modalRef.classList.remove("show-with-bg"),
|
|
21391
|
+
document.removeEventListener("keydown", this.escFunction), this.modalRef.classList.remove("show"), this.modalRef.classList.remove("show-with-bg"), bs(!1), this.props.parentClassName && this.modalRef.classList.remove(this.props.parentClassName);
|
|
21379
21392
|
}
|
|
21380
21393
|
render() {
|
|
21381
21394
|
return ko.createPortal(
|
|
@@ -21405,8 +21418,8 @@ const Wu = ({
|
|
|
21405
21418
|
disableTransition: d
|
|
21406
21419
|
}) => {
|
|
21407
21420
|
const u = q(null);
|
|
21408
|
-
U(() => (setTimeout(() => u.current?.classList?.add("show"), 1),
|
|
21409
|
-
u.current?.classList?.remove("show"),
|
|
21421
|
+
U(() => (setTimeout(() => u.current?.classList?.add("show"), 1), bs(!0), () => {
|
|
21422
|
+
u.current?.classList?.remove("show"), bs(!1);
|
|
21410
21423
|
}), []);
|
|
21411
21424
|
const m = {};
|
|
21412
21425
|
return (s === "left" || s === "right") && (m["--width"] = a, m["--minWidth"] = r, m["--maxWidth"] = o), (s === "top" || s === "bottom") && (m["--height"] = n), /* @__PURE__ */ t.jsx(_n, { className: "drawer--container", parentClassName: i || "", onEscape: l, close: c, children: /* @__PURE__ */ t.jsx("aside", { style: m, ref: u, className: `drawer ${d ? "disable-transition" : ""} ${s}`, children: e }) });
|
|
@@ -21424,10 +21437,10 @@ class zu extends ge.Component {
|
|
|
21424
21437
|
fe(n), n.keyCode === 27 && this.props.close && this.props.close(n);
|
|
21425
21438
|
}
|
|
21426
21439
|
componentDidMount() {
|
|
21427
|
-
document.addEventListener("keydown", this.escFunction), this.modalRef.classList.add("show-with-bg"),
|
|
21440
|
+
document.addEventListener("keydown", this.escFunction), this.modalRef.classList.add("show-with-bg"), bs(!0);
|
|
21428
21441
|
}
|
|
21429
21442
|
componentWillUnmount() {
|
|
21430
|
-
document.removeEventListener("keydown", this.escFunction), this.modalRef.classList.remove("show-with-bg"),
|
|
21443
|
+
document.removeEventListener("keydown", this.escFunction), this.modalRef.classList.remove("show-with-bg"), bs(!1);
|
|
21431
21444
|
}
|
|
21432
21445
|
render() {
|
|
21433
21446
|
return ko.createPortal(
|
|
@@ -21505,11 +21518,11 @@ const Xu = ({
|
|
|
21505
21518
|
const { url: a } = Kt(), r = e.filter((o) => !!o.name);
|
|
21506
21519
|
return /* @__PURE__ */ t.jsx(t.Fragment, { children: r.map((o, i) => /* @__PURE__ */ t.jsxs(ge.Fragment, { children: [
|
|
21507
21520
|
/* @__PURE__ */ t.jsx(
|
|
21508
|
-
|
|
21521
|
+
ct,
|
|
21509
21522
|
{
|
|
21510
21523
|
condition: !!o.to,
|
|
21511
21524
|
wrap: (l) => /* @__PURE__ */ t.jsx(
|
|
21512
|
-
|
|
21525
|
+
Ss,
|
|
21513
21526
|
{
|
|
21514
21527
|
className: `${a === o.to ? "active" : ""} ${n} ${o.className || ""}`,
|
|
21515
21528
|
to: o.to,
|
|
@@ -21611,7 +21624,7 @@ class LL extends sr {
|
|
|
21611
21624
|
}
|
|
21612
21625
|
class wL extends sr {
|
|
21613
21626
|
render() {
|
|
21614
|
-
return /* @__PURE__ */ t.jsx(vo.Consumer, { children: (s) => /* @__PURE__ */ t.jsx("button", { type: "submit", className: "cta dc__align-right", tabIndex: this.props.tabIndex, children: s.isLoading ? /* @__PURE__ */ t.jsx(
|
|
21627
|
+
return /* @__PURE__ */ t.jsx(vo.Consumer, { children: (s) => /* @__PURE__ */ t.jsx("button", { type: "submit", className: "cta dc__align-right", tabIndex: this.props.tabIndex, children: s.isLoading ? /* @__PURE__ */ t.jsx($e, {}) : this.props.children }) });
|
|
21615
21628
|
}
|
|
21616
21629
|
}
|
|
21617
21630
|
const gi = ({
|
|
@@ -21631,7 +21644,7 @@ const gi = ({
|
|
|
21631
21644
|
textConfig: _
|
|
21632
21645
|
}) => {
|
|
21633
21646
|
const x = () => i ? l ? u ? /* @__PURE__ */ t.jsx(
|
|
21634
|
-
|
|
21647
|
+
Ss,
|
|
21635
21648
|
{
|
|
21636
21649
|
to: l,
|
|
21637
21650
|
onClick: c,
|
|
@@ -21955,7 +21968,7 @@ const em = ({
|
|
|
21955
21968
|
le.errors?.[0]?.userMessage?.appReleaseTags?.length ? (Pe.showToast({
|
|
21956
21969
|
variant: xe.error,
|
|
21957
21970
|
description: le.errors?.[0]?.internalMessage
|
|
21958
|
-
}), Se(le.errors)) :
|
|
21971
|
+
}), Se(le.errors)) : Me(le);
|
|
21959
21972
|
}).finally(() => {
|
|
21960
21973
|
$(!1);
|
|
21961
21974
|
});
|
|
@@ -21963,10 +21976,10 @@ const em = ({
|
|
|
21963
21976
|
pn,
|
|
21964
21977
|
{
|
|
21965
21978
|
heading: "Image labels",
|
|
21966
|
-
additionalContent:
|
|
21979
|
+
additionalContent: Ue(),
|
|
21967
21980
|
iconClassName: "fcn-5 ml-4 icon-dim-16"
|
|
21968
21981
|
}
|
|
21969
|
-
),
|
|
21982
|
+
), Ue = () => /* @__PURE__ */ t.jsxs("div", { className: "h-250 fs-13 dc__overflow-auto p-12", children: [
|
|
21970
21983
|
/* @__PURE__ */ t.jsx("div", { children: "Image labels allow you to tag container images with readable and relatable labels eg. v1.0." }),
|
|
21971
21984
|
/* @__PURE__ */ t.jsxs("ul", { className: "pl-20 mt-8", children: [
|
|
21972
21985
|
/* @__PURE__ */ t.jsx("li", { children: "A label can only be added if a workflow has CD pipelines deploying to Production environments." }),
|
|
@@ -22048,7 +22061,7 @@ const em = ({
|
|
|
22048
22061
|
Y.id
|
|
22049
22062
|
)) }),
|
|
22050
22063
|
I && /* @__PURE__ */ t.jsxs("div", { className: "cn-7 mb-8 flex left", children: [
|
|
22051
|
-
/* @__PURE__ */ t.jsx(
|
|
22064
|
+
/* @__PURE__ */ t.jsx(gs, { className: "icon-dim-16 mr-2" }),
|
|
22052
22065
|
"Tags cannot be edited/removed later"
|
|
22053
22066
|
] }),
|
|
22054
22067
|
/* @__PURE__ */ t.jsx("div", { className: "mt-12", children: /* @__PURE__ */ t.jsx(
|
|
@@ -22085,7 +22098,7 @@ const em = ({
|
|
|
22085
22098
|
fe(Y), Sr();
|
|
22086
22099
|
},
|
|
22087
22100
|
disabled: H,
|
|
22088
|
-
children: H ? /* @__PURE__ */ t.jsx(
|
|
22101
|
+
children: H ? /* @__PURE__ */ t.jsx($e, {}) : "Save"
|
|
22089
22102
|
}
|
|
22090
22103
|
)
|
|
22091
22104
|
] })
|
|
@@ -22151,7 +22164,7 @@ const em = ({
|
|
|
22151
22164
|
className: `br-4 en-2 bw-1 mr-8 bg__primary pt-2 pr-8 pb-2 pl-8 tag-class dc__word-break-all flex ${n ? "icon-hover" : ""} ${x()}`,
|
|
22152
22165
|
children: [
|
|
22153
22166
|
u,
|
|
22154
|
-
c ? /* @__PURE__ */ t.jsx(
|
|
22167
|
+
c ? /* @__PURE__ */ t.jsx(As, { className: "icon-dim-12 mr-4" }) : /* @__PURE__ */ t.jsx(
|
|
22155
22168
|
ce,
|
|
22156
22169
|
{
|
|
22157
22170
|
className: "default-tt",
|
|
@@ -22300,7 +22313,7 @@ const PL = ({ classes: e, parentClasses: s }) => /* @__PURE__ */ t.jsx("div", {
|
|
|
22300
22313
|
const E = nc(g, f[0]);
|
|
22301
22314
|
m(E);
|
|
22302
22315
|
}).catch((x) => {
|
|
22303
|
-
|
|
22316
|
+
Me(x);
|
|
22304
22317
|
});
|
|
22305
22318
|
}, []);
|
|
22306
22319
|
const m = (x) => {
|
|
@@ -22322,7 +22335,7 @@ const PL = ({ classes: e, parentClasses: s }) => /* @__PURE__ */ t.jsx("div", {
|
|
|
22322
22335
|
value: a ?? l[0],
|
|
22323
22336
|
options: l,
|
|
22324
22337
|
onChange: p,
|
|
22325
|
-
variant:
|
|
22338
|
+
variant: Cs.BORDER_LESS
|
|
22326
22339
|
}
|
|
22327
22340
|
)
|
|
22328
22341
|
] }),
|
|
@@ -22335,7 +22348,7 @@ const PL = ({ classes: e, parentClasses: s }) => /* @__PURE__ */ t.jsx("div", {
|
|
|
22335
22348
|
value: d ?? o[0],
|
|
22336
22349
|
options: o,
|
|
22337
22350
|
onChange: _,
|
|
22338
|
-
variant:
|
|
22351
|
+
variant: Cs.BORDER_LESS
|
|
22339
22352
|
}
|
|
22340
22353
|
)
|
|
22341
22354
|
] })
|
|
@@ -22393,7 +22406,7 @@ function ML({
|
|
|
22393
22406
|
}
|
|
22394
22407
|
) : null;
|
|
22395
22408
|
}
|
|
22396
|
-
const mv = ({ startNode: e }) => e.type === us.WEBHOOK ?
|
|
22409
|
+
const mv = ({ startNode: e }) => e.type === us.WEBHOOK ? ks.WEBHOOK : e.type === us.CI ? ks.CI_PIPELINE : ks.CD_PIPELINE, UL = ({
|
|
22397
22410
|
position: e,
|
|
22398
22411
|
handleCDSelect: s,
|
|
22399
22412
|
startNode: n,
|
|
@@ -22632,7 +22645,7 @@ const rc = 5, pv = [
|
|
|
22632
22645
|
)
|
|
22633
22646
|
] })
|
|
22634
22647
|
] });
|
|
22635
|
-
}, bn = new
|
|
22648
|
+
}, bn = new Os.Renderer(), oc = ({
|
|
22636
22649
|
setExpandableIcon: e,
|
|
22637
22650
|
markdown: s,
|
|
22638
22651
|
className: n,
|
|
@@ -22649,17 +22662,17 @@ const rc = 5, pv = [
|
|
|
22649
22662
|
}, [i]);
|
|
22650
22663
|
const d = (m) => `
|
|
22651
22664
|
<tr>
|
|
22652
|
-
${m.map((p) => `<td align="${p.align}">${
|
|
22665
|
+
${m.map((p) => `<td align="${p.align}">${Os(p.text)}</td>`).join("")}
|
|
22653
22666
|
</tr>
|
|
22654
22667
|
`;
|
|
22655
22668
|
bn.listitem = ({ text: m, task: p, checked: _ }) => p ? `<li style="list-style: none">
|
|
22656
22669
|
<input disabled type="checkbox" ${_ ? "checked" : ""} class="dc__vertical-align-middle" style="margin: 0 0.2em 0.25em -1.4em">
|
|
22657
|
-
${
|
|
22658
|
-
</li>` : `<li>${
|
|
22670
|
+
${Os(m)}
|
|
22671
|
+
</li>` : `<li>${Os(m)}</li>`, bn.image = ({ href: m, title: p, text: _ }) => `<img src="${m}" alt="${_}" title="${p}" class="max-w-100">`, bn.table = ({ header: m, rows: p }) => `
|
|
22659
22672
|
<div class="table-container">
|
|
22660
22673
|
<table>
|
|
22661
22674
|
<thead>
|
|
22662
|
-
<tr>${m.map((_) => `<th align="${_.align}">${
|
|
22675
|
+
<tr>${m.map((_) => `<th align="${_.align}">${Os(_.text)}</th>`).join("")}</tr>
|
|
22663
22676
|
</thead>
|
|
22664
22677
|
<tbody>
|
|
22665
22678
|
${p.map((_) => d(_)).join("")}
|
|
@@ -22675,13 +22688,13 @@ const rc = 5, pv = [
|
|
|
22675
22688
|
${m}
|
|
22676
22689
|
</h${p}>
|
|
22677
22690
|
</a>`;
|
|
22678
|
-
},
|
|
22691
|
+
}, Os.setOptions({
|
|
22679
22692
|
renderer: bn,
|
|
22680
22693
|
gfm: !0,
|
|
22681
22694
|
...a && { breaks: !0 }
|
|
22682
22695
|
});
|
|
22683
22696
|
const u = () => ({
|
|
22684
|
-
__html:
|
|
22697
|
+
__html: Bs.sanitize(Os(i), { USE_PROFILES: { html: !0 } })
|
|
22685
22698
|
});
|
|
22686
22699
|
return /* @__PURE__ */ t.jsx(
|
|
22687
22700
|
"article",
|
|
@@ -22755,7 +22768,7 @@ const yt = {
|
|
|
22755
22768
|
try {
|
|
22756
22769
|
d(!0), await o(R), m(!0), _(R);
|
|
22757
22770
|
} catch (T) {
|
|
22758
|
-
|
|
22771
|
+
Me(T);
|
|
22759
22772
|
} finally {
|
|
22760
22773
|
d(!1);
|
|
22761
22774
|
}
|
|
@@ -23010,14 +23023,14 @@ export {
|
|
|
23010
23023
|
Jn as S,
|
|
23011
23024
|
ne as T,
|
|
23012
23025
|
Ie as U,
|
|
23013
|
-
|
|
23026
|
+
Es as V,
|
|
23014
23027
|
Of as W,
|
|
23015
23028
|
Lf as X,
|
|
23016
23029
|
Fy as Y,
|
|
23017
23030
|
he as Z,
|
|
23018
23031
|
Js as _,
|
|
23019
23032
|
Qu as a,
|
|
23020
|
-
|
|
23033
|
+
lt as a$,
|
|
23021
23034
|
Df as a0,
|
|
23022
23035
|
Pf as a1,
|
|
23023
23036
|
Vy as a2,
|
|
@@ -23035,7 +23048,7 @@ export {
|
|
|
23035
23048
|
Hf as aE,
|
|
23036
23049
|
Zs as aF,
|
|
23037
23050
|
Yf as aG,
|
|
23038
|
-
|
|
23051
|
+
ks as aH,
|
|
23039
23052
|
us as aI,
|
|
23040
23053
|
Pn as aJ,
|
|
23041
23054
|
to as aK,
|
|
@@ -23046,8 +23059,8 @@ export {
|
|
|
23046
23059
|
$o as aP,
|
|
23047
23060
|
Wc as aQ,
|
|
23048
23061
|
Gt as aR,
|
|
23049
|
-
|
|
23050
|
-
|
|
23062
|
+
Me as aS,
|
|
23063
|
+
ct as aT,
|
|
23051
23064
|
$S as aU,
|
|
23052
23065
|
fe as aV,
|
|
23053
23066
|
tL as aW,
|
|
@@ -23066,7 +23079,7 @@ export {
|
|
|
23066
23079
|
Ky as ai,
|
|
23067
23080
|
Ii as aj,
|
|
23068
23081
|
Qr as ak,
|
|
23069
|
-
|
|
23082
|
+
dt as al,
|
|
23070
23083
|
Wy as am,
|
|
23071
23084
|
Hc as an,
|
|
23072
23085
|
Uf as ao,
|
|
@@ -23100,8 +23113,8 @@ export {
|
|
|
23100
23113
|
SL as bE,
|
|
23101
23114
|
vL as bF,
|
|
23102
23115
|
AL as bG,
|
|
23103
|
-
|
|
23104
|
-
|
|
23116
|
+
$e as bH,
|
|
23117
|
+
i0 as bI,
|
|
23105
23118
|
Wu as bJ,
|
|
23106
23119
|
Iu as bK,
|
|
23107
23120
|
_n as bL,
|
|
@@ -23199,7 +23212,7 @@ export {
|
|
|
23199
23212
|
Hi as cl,
|
|
23200
23213
|
Og as cm,
|
|
23201
23214
|
S0 as cn,
|
|
23202
|
-
|
|
23215
|
+
Is as co,
|
|
23203
23216
|
Zu as cp,
|
|
23204
23217
|
Ld as cq,
|
|
23205
23218
|
Pj as cr,
|
|
@@ -23211,10 +23224,10 @@ export {
|
|
|
23211
23224
|
hg as cx,
|
|
23212
23225
|
gg as cy,
|
|
23213
23226
|
dd as cz,
|
|
23214
|
-
|
|
23227
|
+
Ph as d,
|
|
23215
23228
|
pE as d$,
|
|
23216
23229
|
KT as d0,
|
|
23217
|
-
|
|
23230
|
+
o0 as d1,
|
|
23218
23231
|
ii as d2,
|
|
23219
23232
|
pN as d3,
|
|
23220
23233
|
h0 as d4,
|
|
@@ -23224,7 +23237,7 @@ export {
|
|
|
23224
23237
|
$g as d8,
|
|
23225
23238
|
Ug as d9,
|
|
23226
23239
|
rd as dA,
|
|
23227
|
-
|
|
23240
|
+
Ns as dB,
|
|
23228
23241
|
pr as dC,
|
|
23229
23242
|
qe as dD,
|
|
23230
23243
|
u0 as dE,
|
|
@@ -23233,22 +23246,22 @@ export {
|
|
|
23233
23246
|
co as dH,
|
|
23234
23247
|
p0 as dI,
|
|
23235
23248
|
od as dJ,
|
|
23236
|
-
|
|
23249
|
+
Bh as dK,
|
|
23237
23250
|
wi as dL,
|
|
23238
23251
|
es as dM,
|
|
23239
|
-
|
|
23252
|
+
$h as dN,
|
|
23240
23253
|
Di as dO,
|
|
23241
23254
|
Pi as dP,
|
|
23242
23255
|
ki as dQ,
|
|
23243
|
-
|
|
23244
|
-
|
|
23245
|
-
|
|
23246
|
-
|
|
23256
|
+
Fh as dR,
|
|
23257
|
+
Vh as dS,
|
|
23258
|
+
Gh as dT,
|
|
23259
|
+
Hh as dU,
|
|
23247
23260
|
Wn as dV,
|
|
23248
23261
|
id as dW,
|
|
23249
23262
|
We as dX,
|
|
23250
23263
|
_0 as dY,
|
|
23251
|
-
|
|
23264
|
+
Yh as dZ,
|
|
23252
23265
|
f0 as d_,
|
|
23253
23266
|
D0 as da,
|
|
23254
23267
|
Zg as db,
|
|
@@ -23310,10 +23323,10 @@ export {
|
|
|
23310
23323
|
pj as eU,
|
|
23311
23324
|
_j as eV,
|
|
23312
23325
|
ed as eW,
|
|
23313
|
-
|
|
23314
|
-
|
|
23315
|
-
|
|
23316
|
-
|
|
23326
|
+
jh as eX,
|
|
23327
|
+
Lh as eY,
|
|
23328
|
+
wh as eZ,
|
|
23329
|
+
Dh as e_,
|
|
23317
23330
|
Q0 as ea,
|
|
23318
23331
|
ej as eb,
|
|
23319
23332
|
bE as ec,
|
|
@@ -23430,7 +23443,7 @@ export {
|
|
|
23430
23443
|
Fb as gK,
|
|
23431
23444
|
Vb as gL,
|
|
23432
23445
|
Gb as gM,
|
|
23433
|
-
|
|
23446
|
+
Ms as gN,
|
|
23434
23447
|
vO as gO,
|
|
23435
23448
|
Co as gP,
|
|
23436
23449
|
pi as gQ,
|
|
@@ -23505,12 +23518,12 @@ export {
|
|
|
23505
23518
|
Au as hU,
|
|
23506
23519
|
$O as hV,
|
|
23507
23520
|
FO as hW,
|
|
23508
|
-
|
|
23521
|
+
Vs as hX,
|
|
23509
23522
|
bO as hY,
|
|
23510
23523
|
TO as hZ,
|
|
23511
23524
|
Lb as h_,
|
|
23512
23525
|
ug as ha,
|
|
23513
|
-
|
|
23526
|
+
Cs as hb,
|
|
23514
23527
|
ru as hc,
|
|
23515
23528
|
qC as hd,
|
|
23516
23529
|
db as he,
|
|
@@ -23549,8 +23562,8 @@ export {
|
|
|
23549
23562
|
HO as i9,
|
|
23550
23563
|
JO as iA,
|
|
23551
23564
|
ZO as iB,
|
|
23552
|
-
|
|
23553
|
-
|
|
23565
|
+
Th as iC,
|
|
23566
|
+
it as iD,
|
|
23554
23567
|
JN as iE,
|
|
23555
23568
|
eC as iF,
|
|
23556
23569
|
Qd as iG,
|
|
@@ -23637,7 +23650,7 @@ export {
|
|
|
23637
23650
|
eh as jY,
|
|
23638
23651
|
xa as jZ,
|
|
23639
23652
|
th as j_,
|
|
23640
|
-
|
|
23653
|
+
bs as ja,
|
|
23641
23654
|
rl as jb,
|
|
23642
23655
|
hj as jc,
|
|
23643
23656
|
gj as jd,
|
|
@@ -23669,7 +23682,7 @@ export {
|
|
|
23669
23682
|
sh as k1,
|
|
23670
23683
|
nh as k2,
|
|
23671
23684
|
ah as k3,
|
|
23672
|
-
|
|
23685
|
+
Fs as k4,
|
|
23673
23686
|
gt as k5,
|
|
23674
23687
|
rh as k6,
|
|
23675
23688
|
wa as k7,
|
|
@@ -23729,14 +23742,14 @@ export {
|
|
|
23729
23742
|
Ct as ky,
|
|
23730
23743
|
ua as kz,
|
|
23731
23744
|
OL as l,
|
|
23732
|
-
|
|
23745
|
+
Mh as l0,
|
|
23733
23746
|
vn as l1,
|
|
23734
|
-
|
|
23747
|
+
Uh as l2,
|
|
23735
23748
|
Re as l3,
|
|
23736
23749
|
Pt as l4,
|
|
23737
23750
|
oo as l5,
|
|
23738
23751
|
et as l6,
|
|
23739
|
-
|
|
23752
|
+
xs as l7,
|
|
23740
23753
|
mr as l8,
|
|
23741
23754
|
td as l9,
|
|
23742
23755
|
JE as la,
|