@devtron-labs/devtron-fe-common-lib 1.6.0-patch-1 → 1.6.0
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.
@@ -1,29 +1,29 @@
|
|
1
1
|
import './assets/@code-editor.css';var xu = Object.defineProperty;
|
2
|
-
var
|
2
|
+
var Ho = (e) => {
|
3
3
|
throw TypeError(e);
|
4
4
|
};
|
5
5
|
var Eu = (e, s, n) => s in e ? xu(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
|
6
|
-
var de = (e, s, n) => Eu(e, typeof s != "symbol" ? s + "" : s, n),
|
7
|
-
var xs = (e, s, n) => (
|
6
|
+
var de = (e, s, n) => Eu(e, typeof s != "symbol" ? s + "" : s, n), Yo = (e, s, n) => s.has(e) || Ho("Cannot " + n);
|
7
|
+
var xs = (e, s, n) => (Yo(e, s, "read from private field"), n ? n.call(e) : s.get(e)), qn = (e, s, n) => s.has(e) ? Ho("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), Xn = (e, s, n, a) => (Yo(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
|
8
8
|
import { j as t, i as ae, n as Nu, Q as _r, k as bu, D as xa, d as Pl, h as Cu, A as Tu, R as Su, s as vu, c as Au, f as kl, a as Ml, u as Ul, J as Iu, b as yu, e as ju, _ as Ru, m as Cs } from "./@vendor-ROKJESOw.js";
|
9
|
-
import se, { useState as j, cloneElement as Ea, useRef as J, Component as Ka, Children as
|
9
|
+
import se, { useState as j, cloneElement as Ea, useRef as J, Component as Ka, Children as Ko, createElement as io, useMemo as ne, useCallback as Ge, useEffect as M, createContext as $t, useContext as Rs, Fragment as zs, useReducer as Lu, createRef as ts, memo as lo } from "react";
|
10
10
|
import { ReactComponent as Mt } from "./assets/ic-warning.10bcf8bd.svg";
|
11
11
|
import { ReactComponent as Ou } from "./assets/ic-cpu.8be677ee.svg";
|
12
12
|
import { ReactComponent as wu } from "./assets/ic-memory.c4159f96.svg";
|
13
|
-
import { ReactComponent as
|
13
|
+
import { ReactComponent as co } from "./assets/ic-timer.b62145ec.svg";
|
14
14
|
import { ReactComponent as Du } from "./assets/ic-spray-can.955302fc.svg";
|
15
15
|
import { ReactComponent as Wa } from "./assets/ic-tag.1613fc59.svg";
|
16
16
|
import { Link as _s, useLocation as fs, useHistory as hs, NavLink as rt, useParams as pt, useRouteMatch as Ft, generatePath as vs, Switch as Bl, Route as Ts, Redirect as Pu, Prompt as ku } from "react-router-dom";
|
17
17
|
import { ReactComponent as Mu } from "./assets/ic-delete-interactive.304dd293.svg";
|
18
18
|
import yt from "yaml";
|
19
|
-
import { ReactComponent as
|
19
|
+
import { ReactComponent as uo } from "./assets/ic-info-filled-override.99e8094a.svg";
|
20
20
|
import { ReactComponent as Uu } from "./assets/ic-var-initial.afdaa854.svg";
|
21
|
-
import { ReactComponent as
|
21
|
+
import { ReactComponent as mo } from "./assets/ic-info-outline.29f1089c.svg";
|
22
22
|
import Bu, { ReactComponent as qt } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
23
23
|
import { ReactComponent as $u } from "./assets/ic-check-square.2a3d3fb9.svg";
|
24
24
|
import { ReactComponent as Fu } from "./assets/ic-check-all.0376437d.svg";
|
25
25
|
import { ReactComponent as Je } from "./assets/ic-close.43adc42a.svg";
|
26
|
-
import { ReactComponent as
|
26
|
+
import { ReactComponent as po } from "./assets/ic-stack.a6a11fe3.svg";
|
27
27
|
import { ReactComponent as Vu } from "./assets/ic-world.1f6a5eaf.svg";
|
28
28
|
import { ReactComponent as Gu } from "./assets/ic-rocket-fail.874e54ce.svg";
|
29
29
|
import { ReactComponent as $l } from "./assets/ic-nav-rocket.433c9706.svg";
|
@@ -34,8 +34,8 @@ import { ReactComponent as Ku } from "./assets/ic-shield-check.ecde083d.svg";
|
|
34
34
|
import { ReactComponent as gs } from "./assets/ic-error-exclamation.c224de09.svg";
|
35
35
|
import { ReactComponent as Vl } from "./assets/ic-caret-down-small.66339dda.svg";
|
36
36
|
import { ReactComponent as Wu } from "./assets/ic-caret-left-small.fe00c98d.svg";
|
37
|
-
import { ReactComponent as
|
38
|
-
import { ReactComponent as
|
37
|
+
import { ReactComponent as _o } from "./assets/ic-clock.c21a2d14.svg";
|
38
|
+
import { ReactComponent as Or } from "./assets/ic-expand.ab992205.svg";
|
39
39
|
import { ReactComponent as Gl } from "./assets/ic-abort.0d2773e9.svg";
|
40
40
|
import { ReactComponent as za } from "./assets/ic-pencil.c75a6acc.svg";
|
41
41
|
import { ReactComponent as zu } from "./assets/ic-charts.f41e185f.svg";
|
@@ -48,7 +48,7 @@ import { ReactComponent as Zu } from "./assets/ic-laptop.06834890.svg";
|
|
48
48
|
import Qu from "./assets/lifebuoy.7d8fdf27.png";
|
49
49
|
import { SliderButton as em } from "@typeform/embed-react";
|
50
50
|
import { ReactComponent as Hl } from "./assets/ic-chat-circle-dots.e15514f8.svg";
|
51
|
-
import { ReactComponent as
|
51
|
+
import { ReactComponent as fo } from "./assets/ic-edit-file.aea811d8.svg";
|
52
52
|
import { ReactComponent as tm } from "./assets/ic-files.fc290dee.svg";
|
53
53
|
import { ReactComponent as sm } from "./assets/ic-onboarding.c98f9ef9.svg";
|
54
54
|
import { ReactComponent as nm } from "./assets/ic-feedback.d32fa6b0.svg";
|
@@ -56,11 +56,11 @@ import { ReactComponent as am } from "./assets/ic-discord-fill.1a1b291d.svg";
|
|
56
56
|
import { ReactComponent as Yl } from "./assets/ic-file-text.f9563710.svg";
|
57
57
|
import { ReactComponent as en } from "./assets/ic-help-outline.9c012a0c.svg";
|
58
58
|
import { ReactComponent as rm } from "./assets/ic-megaphone.b9f9a901.svg";
|
59
|
-
import
|
59
|
+
import ho, { components as Pe } from "react-select";
|
60
60
|
import { ReactComponent as Kl } from "./assets/ic-arrow-square-out.3d1a0d41.svg";
|
61
61
|
import { h as je } from "./@moment-C_WeV3Af.js";
|
62
62
|
import { ReactComponent as om } from "./assets/ic-arrow-backward.d951202a.svg";
|
63
|
-
import im, { ReactComponent as
|
63
|
+
import im, { ReactComponent as go } from "./assets/ic-docker.48906f4d.svg";
|
64
64
|
import { ReactComponent as Na } from "./assets/ic-search.976327f1.svg";
|
65
65
|
import { ReactComponent as Wl } from "./assets/ic-filter.8f403d6f.svg";
|
66
66
|
import { ReactComponent as zl } from "./assets/ic-filter-applied.9fc48d0f.svg";
|
@@ -82,8 +82,8 @@ import { ReactComponent as fm } from "./assets/ic-errorInfo.d8d674b8.svg";
|
|
82
82
|
import { ReactComponent as hm } from "./assets/ic-fullscreen.b05e5087.svg";
|
83
83
|
import { ReactComponent as gm } from "./assets/ic-exit-fullscreen.1ae582d1.svg";
|
84
84
|
import { ReactComponent as xm } from "./assets/ic-code-commit.161a6b3c.svg";
|
85
|
-
import { ReactComponent as
|
86
|
-
import { ReactComponent as
|
85
|
+
import { ReactComponent as xo } from "./assets/ic-error.b4065b9e.svg";
|
86
|
+
import { ReactComponent as wr } from "./assets/ic-file-code.ed2812f3.svg";
|
87
87
|
import { ReactComponent as Em } from "./assets/ic-diff-file-updated.a8293158.svg";
|
88
88
|
import { ReactComponent as Nm } from "./assets/ic-diff-file-added.e111ba14.svg";
|
89
89
|
import { ReactComponent as bm } from "./assets/ic-diff-file-removed.7863a55f.svg";
|
@@ -95,14 +95,14 @@ import { ReactComponent as Cm } from "./assets/ic-check-circle-dots.296c8a3b.svg
|
|
95
95
|
import { ReactComponent as Qa } from "./assets/ic-view-variable-toggle.93c3599f.svg";
|
96
96
|
import { r as ec, C as Tm, a as Sm } from "./@react-dates-CHLhA4kl.js";
|
97
97
|
import vm from "./assets/ic-calender-blank.963e3423.svg";
|
98
|
-
import { ReactComponent as
|
98
|
+
import { ReactComponent as Dr } from "./assets/ic-calendar.984accc5.svg";
|
99
99
|
import { ReactComponent as Am } from "./assets/ic-arrow-down.18e5e332.svg";
|
100
|
-
import { ReactComponent as
|
100
|
+
import { ReactComponent as Wo } from "./assets/ic-circle.98fce2b0.svg";
|
101
101
|
import { ReactComponent as Im } from "./assets/ic-commit.e3113dd9.svg";
|
102
|
-
import { ReactComponent as
|
102
|
+
import { ReactComponent as zo } from "./assets/ic-person.f78738ac.svg";
|
103
103
|
import { ReactComponent as ym } from "./assets/ic-message.be6dba43.svg";
|
104
|
-
import { ReactComponent as
|
105
|
-
import { ReactComponent as
|
104
|
+
import { ReactComponent as Eo } from "./assets/ic-pull-request.31d0c981.svg";
|
105
|
+
import { ReactComponent as qo } from "./assets/ic-check-circle.ad80d835.svg";
|
106
106
|
import { ReactComponent as jm } from "./assets/ic-hash.2d8669eb.svg";
|
107
107
|
import { ReactComponent as kn } from "./assets/ic-error-cross.bf21e563.svg";
|
108
108
|
import { ReactComponent as Rm } from "./assets/ic-appstatus-cancelled.05bb3352.svg";
|
@@ -123,7 +123,7 @@ import { ReactComponent as $m } from "./assets/ic-fullscreen-2.f138a5e8.svg";
|
|
123
123
|
import { ReactComponent as Fm } from "./assets/ic-lego-block.ee4b63f1.svg";
|
124
124
|
import { ReactComponent as Vm } from "./assets/ic-book-open.7cb94ee8.svg";
|
125
125
|
import Gm from "./assets/empty-noresult@2x.022ec87c.png";
|
126
|
-
import
|
126
|
+
import Pr from "./assets/ic-not-authorized.cb3b5ff2.svg";
|
127
127
|
import Hm from "./assets/ic-not-found.f5857c12.svg";
|
128
128
|
import mn from "./assets/ic-page-not-found.3c4f114b.svg";
|
129
129
|
import { ReactComponent as Ym } from "./assets/ic-tilde.ec1a1ea4.svg";
|
@@ -133,9 +133,9 @@ import { ReactComponent as Wm } from "./assets/ic-upload-arrow-animated.3db85855
|
|
133
133
|
import zm from "./assets/DeployAudio.566e45df.mp3";
|
134
134
|
import { m as ba, A as qm } from "./@framer-motion-CbfcgbXI.js";
|
135
135
|
import { ReactComponent as er } from "./assets/ic-warning-y5.2ad9d7f4.svg";
|
136
|
-
import { e as fr, K as Xm, a as Jm, M as Zm, b as Qm, m as
|
136
|
+
import { e as fr, K as Xm, a as Jm, M as Zm, b as Qm, m as Xo } from "./@monaco-editor-CVagbUeH.js";
|
137
137
|
import { ReactComponent as ep } from "./assets/ic-compare.0ee3e4cf.svg";
|
138
|
-
import
|
138
|
+
import No, { createPortal as tp } from "react-dom";
|
139
139
|
import { ReactComponent as rc } from "./assets/ic-drag.3f71e8aa.svg";
|
140
140
|
import sp from "./assets/ic-loading-failure.aa68693d.png";
|
141
141
|
import { ReactComponent as np } from "./assets/ic-arrows-clockwise.5990b4f7.svg";
|
@@ -155,7 +155,7 @@ import { deepEquals as ic } from "@rjsf/utils";
|
|
155
155
|
import { ReactComponent as hp } from "./assets/ic-open-in-new.6aea09d0.svg";
|
156
156
|
import { ReactComponent as gp } from "./assets/ic-rotate-devtron.5a8363d8.svg";
|
157
157
|
import { C as xp } from "./@react-select-CgLj7C5f.js";
|
158
|
-
import
|
158
|
+
import Jo from "react-mde";
|
159
159
|
import { ReactComponent as Ep } from "./assets/ic-header.a91a9800.svg";
|
160
160
|
import { ReactComponent as Np } from "./assets/ic-bold.2140b7c6.svg";
|
161
161
|
import { ReactComponent as bp } from "./assets/ic-italic.358ca070.svg";
|
@@ -165,7 +165,7 @@ import { ReactComponent as Sp } from "./assets/ic-code.1d1d4dd8.svg";
|
|
165
165
|
import { ReactComponent as vp } from "./assets/ic-quote.10768489.svg";
|
166
166
|
import { ReactComponent as Ap } from "./assets/ic-image.2a8ed117.svg";
|
167
167
|
import { ReactComponent as Ip } from "./assets/ic-ordered-list.879dc7c8.svg";
|
168
|
-
import { ReactComponent as
|
168
|
+
import { ReactComponent as Zo } from "./assets/ic-unordered-list.42c1cbbc.svg";
|
169
169
|
import { ReactComponent as yp } from "./assets/ic-checked-list.aba26c40.svg";
|
170
170
|
import { ReactComponent as lc } from "./assets/ic-webhook.d4431b07.svg";
|
171
171
|
import { ReactComponent as jp } from "./assets/ic-branch.8db43d66.svg";
|
@@ -174,7 +174,7 @@ import { ReactComponent as Lp } from "./assets/ic-medium-play.f7a8ddb7.svg";
|
|
174
174
|
import { ReactComponent as Op } from "./assets/ic-medium-pause.7449078a.svg";
|
175
175
|
import { ReactComponent as wp } from "./assets/ic-medium-clean-brush.f683d4d6.svg";
|
176
176
|
import { ReactComponent as Dp } from "./assets/ic-locked.dab69058.svg";
|
177
|
-
const Es = (e) => /* @__PURE__ */ t.jsx("div", { className: `dc__registry-icon dc__git-logo ${e}` }), Pp = 6e4, Ca = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ps = "https://docs.devtron.ai", an = "/v/v0.7",
|
177
|
+
const Es = (e) => /* @__PURE__ */ t.jsx("div", { className: `dc__registry-icon dc__git-logo ${e}` }), Pp = 6e4, Ca = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ps = "https://docs.devtron.ai", an = "/v/v0.7", bo = "https://discord.devtron.ai/", kp = "https://json-schema.org/draft/2020-12/schema", Js = {
|
178
178
|
APP_METRICS: `${Ps}${an}/usage/applications/app-details/app-metrics`,
|
179
179
|
APP_TAGS: `${Ps}${an}/usage/applications/create-application#tags`,
|
180
180
|
APP_OVERVIEW_TAGS: `${Ps}${an}/usage/applications/overview#manage-tags`,
|
@@ -537,7 +537,7 @@ const Zn = {
|
|
537
537
|
return a === 12 && r === 0 ? Zn.NOON : a === 0 && r === 0 ? Zn.MIDNIGHT : a >= 12 ? Zn.PM : Zn.AM;
|
538
538
|
};
|
539
539
|
var Tn = /* @__PURE__ */ ((e) => (e.inputChange = "input-change", e.selectOption = "select-option", e.deselectOption = "deselect-option", e.removeValue = "remove-value", e.inputBlur = "input-blur", e))(Tn || {});
|
540
|
-
const sn = "0001-01-01T00:00:00Z", cc = [void 0, null, "", NaN],
|
540
|
+
const sn = "0001-01-01T00:00:00Z", cc = [void 0, null, "", NaN], Qo = {
|
541
541
|
OK: 200,
|
542
542
|
NO_CONTENT: 204,
|
543
543
|
BAD_REQUEST: 400,
|
@@ -551,7 +551,7 @@ const sn = "0001-01-01T00:00:00Z", cc = [void 0, null, "", NaN], ei = {
|
|
551
551
|
UNPROCESSABLE_CONTENT: 422
|
552
552
|
};
|
553
553
|
var dc = /* @__PURE__ */ ((e) => (e.EA_ONLY = "EA_ONLY", e.FULL = "FULL", e))(dc || {});
|
554
|
-
const
|
554
|
+
const kr = {
|
555
555
|
PREVIEW: "Preview",
|
556
556
|
DEPLOY_CUSTOM_APP_CI_CD: "Deploy custom app using CI/CD pipelines",
|
557
557
|
INSTALL_CUSTOM_CI_CD: "Install CI/CD",
|
@@ -569,13 +569,13 @@ const Mr = {
|
|
569
569
|
TWELVE_HOURS_EXPORT_FORMAT: "DD-MMM-YYYY hh.mm A",
|
570
570
|
DD_MMM_YYYY_HH_MM: "DD MMM YYYY, hh:mm",
|
571
571
|
DD_MMM_YYYY: "DD MMM YYYY"
|
572
|
-
}, TA = "https://semver.org/",
|
572
|
+
}, TA = "https://semver.org/", ei = {
|
573
573
|
critical: 1,
|
574
574
|
high: 2,
|
575
575
|
medium: 3,
|
576
576
|
low: 4,
|
577
577
|
unknown: 5
|
578
|
-
},
|
578
|
+
}, Mr = window.navigator.userAgent.toUpperCase().includes("MAC");
|
579
579
|
var Bs = /* @__PURE__ */ ((e) => (e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.AZURE = "azure", e.GITEA = "gitea", e))(Bs || {});
|
580
580
|
const SA = (e) => JSON.stringify(JSON.parse(e ?? "{}"), null, 2), pc = Symbol(
|
581
581
|
`The element at this index remains unchanged from the original object.
|
@@ -605,8 +605,8 @@ const pn = {
|
|
605
605
|
Security: "SECURITY",
|
606
606
|
Changes: "CHANGES"
|
607
607
|
};
|
608
|
-
var vt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(vt || {}), _c = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(_c || {}), Kp = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(Kp || {}), Wp = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(Wp || {}), En = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(En || {}), zp = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(zp || {}), qp = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(qp || {}),
|
609
|
-
const
|
608
|
+
var vt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(vt || {}), _c = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(_c || {}), Kp = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(Kp || {}), Wp = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(Wp || {}), En = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(En || {}), zp = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(zp || {}), qp = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(qp || {}), Ur = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Ur || {}), Xp = /* @__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))(Xp || {}), fc = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(fc || {}), Jp = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(Jp || {}), Fs = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(Fs || {}), Zp = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Zp || {}), As = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(As || {}), ns = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(ns || {}), Sn = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Sn || {}), Br = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Br || {});
|
609
|
+
const ti = {
|
610
610
|
100: "Continue",
|
611
611
|
101: "Switching Protocols",
|
612
612
|
102: "Processing(WebDAV)",
|
@@ -682,10 +682,10 @@ function Qp() {
|
|
682
682
|
}
|
683
683
|
async function e_(e, s) {
|
684
684
|
const n = s.status;
|
685
|
-
let a = s.statusText ||
|
685
|
+
let a = s.statusText || ti[n];
|
686
686
|
const r = new bt({ code: n, errors: [] });
|
687
687
|
if (e !== "application/json")
|
688
|
-
a = `${
|
688
|
+
a = `${ti[n]}. Please try again.`;
|
689
689
|
else {
|
690
690
|
const o = await s.json();
|
691
691
|
o.errors && (r.errors = o.errors);
|
@@ -777,11 +777,11 @@ function Mn(e, s, n, a, r) {
|
|
777
777
|
});
|
778
778
|
});
|
779
779
|
}
|
780
|
-
const _t = (e, s, n, a) => Mn(e, "POST", s, n, a),
|
780
|
+
const _t = (e, s, n, a) => Mn(e, "POST", s, n, a), Co = (e, s, n) => Mn(e, "PUT", s, n), vA = (e, s, n) => Mn(e, "PATCH", s, n), ie = (e, s) => Mn(e, "GET", null, s), To = (e, s, n) => Mn(e, "DELETE", s, n), hc = (e, s) => (s.current.abort(), s.current = new AbortController(), e()), Ut = (e) => (
|
781
781
|
// The 0 code is common for aborted and blocked requests
|
782
782
|
e && e.code === 0 && e.message.search("abort|aborted") > -1
|
783
783
|
);
|
784
|
-
var s_ = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(s_ || {}), te = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e))(te || {}),
|
784
|
+
var s_ = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(s_ || {}), te = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e))(te || {}), $r = /* @__PURE__ */ ((e) => (e.DEVTRON_APP = "devtron_app", e.DEVTRON_HELM_CHART = "devtron_helm_chart", e.EXTERNAL_HELM_CHART = "external_helm_chart", e.EXTERNAL_ARGO_APP = "external_argo_app", e.EXTERNAL_FLUX_APP = "external_flux_app", e))($r || {}), n_ = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(n_ || {}), So = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(So || {}), ks = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(ks || {}), a_ = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.NONE = "none", e.UNKNOWN = "unknown", e.UPGRADING = "upgrading", e.UPGRADE_FAILED = "upgradeFailed", e.INSTALLED = "installed", e.INSTALLING = "installing", e.INSTALL_FAILED = "installFailed", e.NOT_INSTALLED = "notInstalled", e.TIMEOUT = "timeout", e))(a_ || {}), r_ = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(r_ || {}), gc = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(gc || {}), nt = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(nt || {}), vo = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(vo || {}), o_ = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(o_ || {}), vn = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(vn || {}), St = /* @__PURE__ */ ((e) => (e.Workloads = "Workloads", e.Networking = "Networking", e["Config & Storage"] = "Config & Storage", e.RBAC = "RBAC", e.Administration = "Administration", e["Custom Resource"] = "Custom Resource", e["Other Resources"] = "Other Resources", e.Events = "Events", e.Namespaces = "Namespaces", e.Nodes = "Nodes", e))(St || {}), i_ = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(i_ || {}), l_ = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(l_ || {}), ca = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(ca || {}), c_ = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(c_ || {}), xc = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(xc || {});
|
785
785
|
const AA = [
|
786
786
|
{
|
787
787
|
label: "GUI",
|
@@ -821,8 +821,8 @@ const p_ = {
|
|
821
821
|
NOTIFICATION: "notifier",
|
822
822
|
SECURITY_TRIVY: "security.trivy",
|
823
823
|
SECURITY_CLAIR: "security.clair"
|
824
|
-
}, f_ = "ddd DD MMM YYYY HH:mm:ss",
|
825
|
-
var h_ = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(h_ || {}), Nn = /* @__PURE__ */ ((e) => (e.PRE = "PRE", e.DEPLOY = "DEPLOY", e.POST = "POST", e))(Nn || {}), da = /* @__PURE__ */ ((e) => (e.LAST_SAVED_CONFIG = "LAST_SAVED_CONFIG", e.LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG", e.SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG", e))(da || {}),
|
824
|
+
}, f_ = "ddd DD MMM YYYY HH:mm:ss", Fr = "API-TOKEN:", Ec = "••••••••";
|
825
|
+
var h_ = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(h_ || {}), Nn = /* @__PURE__ */ ((e) => (e.PRE = "PRE", e.DEPLOY = "DEPLOY", e.POST = "POST", e))(Nn || {}), da = /* @__PURE__ */ ((e) => (e.LAST_SAVED_CONFIG = "LAST_SAVED_CONFIG", e.LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG", e.SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG", e))(da || {}), Vr = /* @__PURE__ */ ((e) => (e.production = "Production", e.nonProduction = "Non-Production", e))(Vr || {}), W = /* @__PURE__ */ ((e) => (e.DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED", e.GIT_COMMIT = "GIT_COMMIT", e.GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED", e.ARGOCD_SYNC = "ARGOCD_SYNC", e.ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED", e.KUBECTL_APPLY = "KUBECTL_APPLY", e.KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED", e.KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED", e.HEALTHY = "HEALTHY", e.APP_HEALTH = "APP_HEALTH", e.DEPLOYMENT_FAILED = "FAILED", e.FETCH_TIMED_OUT = "TIMED_OUT", e.UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS", e.DEGRADED = "DEGRADED", e.DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED", e.ABORTED = "ABORTED", e.INPROGRESS = "INPROGRESS", e.HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED", e))(W || {});
|
826
826
|
const $e = {
|
827
827
|
DATA_NOT_AVAILABLE: "Data not available",
|
828
828
|
API_TOKEN: {
|
@@ -1065,7 +1065,7 @@ const $e = {
|
|
1065
1065
|
succeeded: "healthy",
|
1066
1066
|
timedout: "timed-out",
|
1067
1067
|
unabletofetch: "failed"
|
1068
|
-
},
|
1068
|
+
}, Gr = {
|
1069
1069
|
suspended: "var(--Y500)",
|
1070
1070
|
unknown: "var(--N700)",
|
1071
1071
|
queued: "var(--N700)",
|
@@ -1090,7 +1090,7 @@ const $e = {
|
|
1090
1090
|
initiating: !0,
|
1091
1091
|
starting: !0,
|
1092
1092
|
running: !0
|
1093
|
-
}, E_ = ["KIND", "NAME", "STATUS", "MESSAGE"], N_ = "Not available for build as this commit contains changes in excluded files or folders",
|
1093
|
+
}, E_ = ["KIND", "NAME", "STATUS", "MESSAGE"], N_ = "Not available for build as this commit contains changes in excluded files or folders", si = {
|
1094
1094
|
SAMPLE_NODE_REPO_URL: "https://github.com/devtron-labs/getting-started-nodejs",
|
1095
1095
|
CREATE_DEVTRON_APP_URL: "create-d-app",
|
1096
1096
|
AppTabs: {
|
@@ -1115,7 +1115,7 @@ const $e = {
|
|
1115
1115
|
}
|
1116
1116
|
};
|
1117
1117
|
var b_ = /* @__PURE__ */ ((e) => (e[e.DEVTRON_APP = 0] = "DEVTRON_APP", e[e.HELM_APP = 1] = "HELM_APP", e[e.EXTERNAL_ARGO_APP = 2] = "EXTERNAL_ARGO_APP", e[e.EXTERNAL_FLUX_APP = 3] = "EXTERNAL_FLUX_APP", e))(b_ || {});
|
1118
|
-
const
|
1118
|
+
const ni = /\x1B\[.*?m/g;
|
1119
1119
|
var U = /* @__PURE__ */ ((e) => (e.xs = "xs", e.small = "small", e.medium = "medium", e.large = "large", e.xl = "xl", e))(U || {});
|
1120
1120
|
const Nc = "popup";
|
1121
1121
|
var C_ = /* @__PURE__ */ ((e) => (e.allProjects = "-1", e.allExistingAndFutureNonProdEnvironments = "-1", e.allExistingAndFutureProdEnvironments = "-2", e.allExistingAndFutureEnvironments = "-3", e))(C_ || {});
|
@@ -1129,7 +1129,7 @@ const jA = Object.values(
|
|
1129
1129
|
allowed: !1
|
1130
1130
|
}, Ta = "all", T_ = "https://enterprise.devtron.ai/portal/en/newticket", S_ = "https://enterprise.devtron.ai/portal/en/myarea", v_ = "https://github.com/devtron-labs/devtron/issues/new/choose", wA = {
|
1131
1131
|
WORKFLOW_EDITOR_CONTAINER: "workflow-editor-container"
|
1132
|
-
}, DA = -1,
|
1132
|
+
}, DA = -1, ai = "devtron-base-main-identifier", A_ = "devtron.ai/", I_ = "You have unsaved changes. Are you sure you want to leave?", PA = "Please don't wander off! Reloading or going back might disrupt the ongoing operation.", ke = ({ pageLoader: e, size: s, theme: n, styles: a, fillColor: r }) => {
|
1133
1133
|
const o = s ? `${s}px` : e ? "48px" : "20px";
|
1134
1134
|
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: [
|
1135
1135
|
/* @__PURE__ */ t.jsx(
|
@@ -1175,8 +1175,8 @@ const jA = Object.values(
|
|
1175
1175
|
), y_ = {
|
1176
1176
|
Control: "Ctrl",
|
1177
1177
|
Shift: "⇧",
|
1178
|
-
Meta:
|
1179
|
-
Alt:
|
1178
|
+
Meta: Mr ? "⌘" : "Win",
|
1179
|
+
Alt: Mr ? "⌥" : "Alt",
|
1180
1180
|
F: "F",
|
1181
1181
|
E: "E",
|
1182
1182
|
R: "R",
|
@@ -1333,7 +1333,7 @@ const R_ = {
|
|
1333
1333
|
rootClassName: i,
|
1334
1334
|
useInfoIcon: l = !1
|
1335
1335
|
}) => /* @__PURE__ */ t.jsxs("div", { className: `flex column dc__gap-8 p-16 ${s ? "dc__border br-4" : ""} ${i || ""}`, children: [
|
1336
|
-
l ? /* @__PURE__ */ t.jsx(
|
1336
|
+
l ? /* @__PURE__ */ t.jsx(mo, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(gs, { className: "icon-dim-24 alert-icon-r5-imp" }),
|
1337
1337
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column dc__gap-4 dc__align-center", children: [
|
1338
1338
|
/* @__PURE__ */ t.jsx("h3", { className: "fs-13 lh-20 fw-6 cn-9 m-0", children: n }),
|
1339
1339
|
(a || r) && /* @__PURE__ */ t.jsxs("div", { className: "flex column fs-13 lh-20 fw-4 cn-7", children: [
|
@@ -1351,7 +1351,7 @@ const R_ = {
|
|
1351
1351
|
dataTestId: "generic-section-reload-button"
|
1352
1352
|
}
|
1353
1353
|
)
|
1354
|
-
] }),
|
1354
|
+
] }), ri = {
|
1355
1355
|
title: "Resource not found",
|
1356
1356
|
subTitle: "The resource you are looking for does not exist"
|
1357
1357
|
}, Tc = ({
|
@@ -1368,8 +1368,8 @@ const R_ = {
|
|
1368
1368
|
}) => r ? /* @__PURE__ */ t.jsx(RC, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx(ke, { ...s }) : a ? l ? /* @__PURE__ */ t.jsx(Os, { ...l }) : c ? /* @__PURE__ */ t.jsx(ir, { ...c }) : a?.code === 404 ? /* @__PURE__ */ t.jsx(
|
1369
1369
|
ze,
|
1370
1370
|
{
|
1371
|
-
title: o?.title ??
|
1372
|
-
subTitle: o?.subTitle ??
|
1371
|
+
title: o?.title ?? ri.title,
|
1372
|
+
subTitle: o?.subTitle ?? ri.subTitle
|
1373
1373
|
}
|
1374
1374
|
) : /* @__PURE__ */ t.jsx(wn, { ...i }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: d }), k_ = (e = {}) => ({
|
1375
1375
|
container: (s, n) => ({
|
@@ -1689,7 +1689,7 @@ const R_ = {
|
|
1689
1689
|
}
|
1690
1690
|
);
|
1691
1691
|
};
|
1692
|
-
var V_ = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(V_ || {}), _n = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(_n || {}), G_ = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(G_ || {}), ve = /* @__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))(ve || {}), Rt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Rt || {}),
|
1692
|
+
var V_ = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(V_ || {}), _n = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(_n || {}), G_ = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(G_ || {}), ve = /* @__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))(ve || {}), Rt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Rt || {}), Hr = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(Hr || {}), Qe = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(Qe || {}), cs = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(cs || {}), sr = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(sr || {}), vc = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(vc || {});
|
1693
1693
|
const Ac = (e) => {
|
1694
1694
|
const s = J(null), [n, a] = j(!1), r = e.theme === tr.white, o = (N) => {
|
1695
1695
|
N.keyCode === 27 && l(N);
|
@@ -1844,7 +1844,7 @@ const Ac = (e) => {
|
|
1844
1844
|
)
|
1845
1845
|
}
|
1846
1846
|
);
|
1847
|
-
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 || {}), At = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(At || {}), xe = /* @__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))(xe || {}), Ic = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Ic || {}), os = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(os || {}), yc = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(yc || {}), Sa = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Sa || {}), In = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(In || {}),
|
1847
|
+
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 || {}), At = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(At || {}), xe = /* @__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))(xe || {}), Ic = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Ic || {}), os = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(os || {}), yc = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(yc || {}), Sa = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Sa || {}), In = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(In || {}), Yr = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(Kr || {}), lt = /* @__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))(lt || {}), jc = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(jc || {});
|
1848
1848
|
const ds = {
|
1849
1849
|
// Will not enforce any decimal specification on input field
|
1850
1850
|
STEP: "any",
|
@@ -1890,7 +1890,7 @@ const ds = {
|
|
1890
1890
|
}, hr = {
|
1891
1891
|
[xe.CPU]: Ou,
|
1892
1892
|
[xe.MEMORY]: wu,
|
1893
|
-
[xe.BUILD_TIMEOUT]:
|
1893
|
+
[xe.BUILD_TIMEOUT]: co,
|
1894
1894
|
[xe.NODE_SELECTOR]: Du,
|
1895
1895
|
[xe.TOLERANCE]: Wa,
|
1896
1896
|
[xe.CONFIG_MAP]: null,
|
@@ -1903,7 +1903,7 @@ const ds = {
|
|
1903
1903
|
[xe.TOLERANCE]: "Toleration",
|
1904
1904
|
[xe.CONFIG_MAP]: "ConfigMaps",
|
1905
1905
|
[xe.SECRET]: "Secret"
|
1906
|
-
},
|
1906
|
+
}, Wr = [
|
1907
1907
|
{
|
1908
1908
|
heading: /* @__PURE__ */ t.jsx("h3", { className: "m-0 cn-9 fs-13 fw-6 lh-20 w-240 dc__no-shrink", children: "CPU (Request - Limit)" }),
|
1909
1909
|
marker: hr[xe.CPU],
|
@@ -1950,7 +1950,7 @@ const ds = {
|
|
1950
1950
|
],
|
1951
1951
|
locator: xe.BUILD_TIMEOUT
|
1952
1952
|
}
|
1953
|
-
], HA =
|
1953
|
+
], HA = Wr.reduce(
|
1954
1954
|
(e, s) => (e[s.locator] = s, e),
|
1955
1955
|
{}
|
1956
1956
|
), Rc = Object.fromEntries(
|
@@ -1959,10 +1959,10 @@ const ds = {
|
|
1959
1959
|
...At,
|
1960
1960
|
...In
|
1961
1961
|
}).map((e) => [e, null])
|
1962
|
-
), H_ = [At.NAME],
|
1962
|
+
), H_ = [At.NAME], oi = {
|
1963
1963
|
SUBMIT_BUTTON: "build-infra-submit-button",
|
1964
1964
|
CANCEL_BUTTON: "build-infra-cancel-button"
|
1965
|
-
}, Wt = "runner", Y_ = jc.ALPHA1,
|
1965
|
+
}, Wt = "runner", Y_ = jc.ALPHA1, ii = {
|
1966
1966
|
[P.BUILD_TIMEOUT]: !0,
|
1967
1967
|
[P.CPU_LIMIT]: !0,
|
1968
1968
|
[P.CPU_REQUEST]: !0,
|
@@ -1973,10 +1973,10 @@ const ds = {
|
|
1973
1973
|
[P.CONFIG_MAP]: !0,
|
1974
1974
|
[P.SECRET]: !0,
|
1975
1975
|
[In.TARGET_PLATFORM]: !0
|
1976
|
-
},
|
1976
|
+
}, li = Object.values(xe).reduce(
|
1977
1977
|
(e, s) => (e[`activate_${s}`] = s, e[`de_activate_${s}`] = s, e),
|
1978
1978
|
{}
|
1979
|
-
),
|
1979
|
+
), ci = {
|
1980
1980
|
[xe.CPU]: [P.CPU_REQUEST, P.CPU_LIMIT],
|
1981
1981
|
[xe.MEMORY]: [P.MEMORY_REQUEST, P.MEMORY_LIMIT],
|
1982
1982
|
[xe.BUILD_TIMEOUT]: [P.BUILD_TIMEOUT],
|
@@ -2055,7 +2055,7 @@ const ds = {
|
|
2055
2055
|
type: "submit",
|
2056
2056
|
className: "cta submit h-32 flex",
|
2057
2057
|
disabled: e || a,
|
2058
|
-
"data-testid":
|
2058
|
+
"data-testid": oi.SUBMIT_BUTTON,
|
2059
2059
|
children: a ? /* @__PURE__ */ t.jsx(ke, { size: 16 }) : o()
|
2060
2060
|
}
|
2061
2061
|
) }) }),
|
@@ -2065,7 +2065,7 @@ const ds = {
|
|
2065
2065
|
type: "button",
|
2066
2066
|
className: "cta cancel h-32 flex",
|
2067
2067
|
disabled: a,
|
2068
|
-
"data-testid":
|
2068
|
+
"data-testid": oi.CANCEL_BUTTON,
|
2069
2069
|
onClick: s,
|
2070
2070
|
children: Ke.EDIT_CANCEL
|
2071
2071
|
}
|
@@ -2073,11 +2073,11 @@ const ds = {
|
|
2073
2073
|
] });
|
2074
2074
|
};
|
2075
2075
|
var us = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.BORDER_LESS = "border-less", e))(us || {});
|
2076
|
-
const
|
2076
|
+
const di = {
|
2077
2077
|
[U.small]: "12px",
|
2078
2078
|
[U.medium]: "13px",
|
2079
2079
|
[U.large]: "13px"
|
2080
|
-
},
|
2080
|
+
}, ui = {
|
2081
2081
|
[U.small]: { width: "12px", height: "12px" },
|
2082
2082
|
[U.medium]: { width: "16px", height: "16px" },
|
2083
2083
|
[U.large]: { width: "16px", height: "16px" }
|
@@ -2085,7 +2085,7 @@ const ui = {
|
|
2085
2085
|
[U.small]: "auto",
|
2086
2086
|
[U.medium]: "auto",
|
2087
2087
|
[U.large]: "36px"
|
2088
|
-
},
|
2088
|
+
}, mi = (e) => {
|
2089
2089
|
switch (e) {
|
2090
2090
|
case U.medium:
|
2091
2091
|
return {
|
@@ -2109,7 +2109,7 @@ const ui = {
|
|
2109
2109
|
minWidth: "200px"
|
2110
2110
|
};
|
2111
2111
|
}
|
2112
|
-
},
|
2112
|
+
}, pi = (e) => {
|
2113
2113
|
switch (e) {
|
2114
2114
|
case us.BORDER_LESS:
|
2115
2115
|
return {
|
@@ -2149,8 +2149,8 @@ const ui = {
|
|
2149
2149
|
backgroundColor: "var(--bg-menu)",
|
2150
2150
|
border: "1px solid var(--N200)",
|
2151
2151
|
boxShadow: "0px 2px 4px 0px rgba(0, 0, 0, 0.20)",
|
2152
|
-
width:
|
2153
|
-
minWidth:
|
2152
|
+
width: mi(n).width,
|
2153
|
+
minWidth: mi(n).minWidth,
|
2154
2154
|
zIndex: "var(--select-picker-menu-index)",
|
2155
2155
|
...i && {
|
2156
2156
|
right: 0
|
@@ -2175,7 +2175,7 @@ const ui = {
|
|
2175
2175
|
maxHeight: "120px",
|
2176
2176
|
overflow: "auto",
|
2177
2177
|
alignItems: "safe center",
|
2178
|
-
...
|
2178
|
+
...pi(a)?.control(l, c) || {},
|
2179
2179
|
"&:hover": {
|
2180
2180
|
borderColor: c.isDisabled ? "var(--N200)" : "var(--N300)"
|
2181
2181
|
},
|
@@ -2206,7 +2206,7 @@ const ui = {
|
|
2206
2206
|
}),
|
2207
2207
|
dropdownIndicator: (l, c) => ({
|
2208
2208
|
...l,
|
2209
|
-
...
|
2209
|
+
...ui[s],
|
2210
2210
|
display: "flex",
|
2211
2211
|
alignItems: "center",
|
2212
2212
|
flexShrink: "0",
|
@@ -2217,7 +2217,7 @@ const ui = {
|
|
2217
2217
|
}),
|
2218
2218
|
clearIndicator: (l) => ({
|
2219
2219
|
...l,
|
2220
|
-
...
|
2220
|
+
...ui[s],
|
2221
2221
|
padding: 0,
|
2222
2222
|
display: "flex",
|
2223
2223
|
alignItems: "center",
|
@@ -2326,7 +2326,7 @@ const ui = {
|
|
2326
2326
|
placeholder: (l) => ({
|
2327
2327
|
...l,
|
2328
2328
|
color: "var(--N500)",
|
2329
|
-
fontSize:
|
2329
|
+
fontSize: di[s],
|
2330
2330
|
lineHeight: "20px",
|
2331
2331
|
fontWeight: 400,
|
2332
2332
|
margin: 0,
|
@@ -2343,10 +2343,10 @@ const ui = {
|
|
2343
2343
|
...l,
|
2344
2344
|
margin: 0,
|
2345
2345
|
color: "var(--N900)",
|
2346
|
-
fontSize:
|
2346
|
+
fontSize: di[s],
|
2347
2347
|
fontWeight: 400,
|
2348
2348
|
lineHeight: "20px",
|
2349
|
-
...
|
2349
|
+
...pi(a)?.singleValue(l, c) || {}
|
2350
2350
|
})
|
2351
2351
|
}), ef = (e, s, n) => {
|
2352
2352
|
const a = s.reduce((l, c) => (l[n(c)] = !0, l), {}), r = e.map((l) => n(l));
|
@@ -2417,11 +2417,11 @@ const tf = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2417
2417
|
} = n;
|
2418
2418
|
if (o)
|
2419
2419
|
return /* @__PURE__ */ t.jsx(Pe.ValueContainer, { ...n });
|
2420
|
-
const c = Ia(s) ? (a() ?? []).length : s, d =
|
2420
|
+
const c = Ia(s) ? (a() ?? []).length : s, d = Ko.count(l);
|
2421
2421
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-8 flex-grow-1", children: [
|
2422
2422
|
/* @__PURE__ */ t.jsx("div", { className: "flex left flex-grow-1", children: /* @__PURE__ */ t.jsx(Pe.ValueContainer, { ...n, children: r && c > 0 && !i ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
2423
2423
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 fw-4 lh-20 cn-9 dc__truncate", children: r }),
|
2424
|
-
/* @__PURE__ */ t.jsx("div", { className: "dc__position-abs", children:
|
2424
|
+
/* @__PURE__ */ t.jsx("div", { className: "dc__position-abs", children: Ko.map(l, (u, m) => m === d - 1 ? u : null) })
|
2425
2425
|
] }) : l }) }),
|
2426
2426
|
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 })
|
2427
2427
|
] });
|
@@ -2484,7 +2484,7 @@ const tf = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2484
2484
|
}
|
2485
2485
|
} = e;
|
2486
2486
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
2487
|
-
/* @__PURE__ */
|
2487
|
+
/* @__PURE__ */ io(Pe.MenuList, { ...e, key: n }, /* @__PURE__ */ t.jsx("div", { className: "py-4 cursor", children: r ? o() : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
2488
2488
|
s,
|
2489
2489
|
i?.()
|
2490
2490
|
] }) })),
|
@@ -2745,7 +2745,7 @@ const tf = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2745
2745
|
/* @__PURE__ */ t.jsx("span", { className: "dc__ellipsis-right__2nd-line", children: e })
|
2746
2746
|
] }),
|
2747
2747
|
n && /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4 fs-11 lh-16 cn-7", children: [
|
2748
|
-
/* @__PURE__ */ t.jsx(
|
2748
|
+
/* @__PURE__ */ t.jsx(uo, { className: "icon-dim-16 dc__no-shrink dc__align-self-start" }),
|
2749
2749
|
/* @__PURE__ */ t.jsx("span", { className: "dc__ellipsis-right__2nd-line", children: n })
|
2750
2750
|
] })
|
2751
2751
|
] });
|
@@ -2954,7 +2954,7 @@ const wc = (e) => ({
|
|
2954
2954
|
)
|
2955
2955
|
},
|
2956
2956
|
approvalConfigData: Yc(e?.approvalConfigData)
|
2957
|
-
}),
|
2957
|
+
}), _i = (e, s) => !e || !s ? {
|
2958
2958
|
canApproverDeploy: s?.canApproverDeploy ?? !1,
|
2959
2959
|
deploymentApprovalInfo: null
|
2960
2960
|
} : {
|
@@ -2981,7 +2981,7 @@ const wc = (e) => ({
|
|
2981
2981
|
defaultValue: a.value
|
2982
2982
|
}));
|
2983
2983
|
return n.push(...s), n.sort((a, r) => Ze(a.name, r.name)), n;
|
2984
|
-
},
|
2984
|
+
}, fi = (e) => e ? {
|
2985
2985
|
appReleaseTagNames: e.appReleaseTagNames ?? [],
|
2986
2986
|
tagsEditable: e.tagsEditable ?? !1,
|
2987
2987
|
hideImageTaggingHardDelete: e.hideImageTaggingHardDelete,
|
@@ -2997,7 +2997,7 @@ const wc = (e) => ({
|
|
2997
2997
|
totalCount: 0,
|
2998
2998
|
requestedUserId: 0,
|
2999
2999
|
runtimeParams: []
|
3000
|
-
},
|
3000
|
+
}, hi = (e) => e ? {
|
3001
3001
|
isApprovalPendingForPromotion: e.isApprovalPendingForPromotion,
|
3002
3002
|
imagePromotionApproverEmails: e.imagePromotionApproverEmails ?? []
|
3003
3003
|
} : {
|
@@ -3007,9 +3007,9 @@ const wc = (e) => ({
|
|
3007
3007
|
if (!e)
|
3008
3008
|
return {
|
3009
3009
|
materials: [],
|
3010
|
-
...
|
3011
|
-
...
|
3012
|
-
...
|
3010
|
+
...fi(e),
|
3011
|
+
..._i(!1, e),
|
3012
|
+
...hi(e)
|
3013
3013
|
};
|
3014
3014
|
const o = yf({
|
3015
3015
|
artifacts: e.ci_artifacts,
|
@@ -3017,10 +3017,10 @@ const wc = (e) => ({
|
|
3017
3017
|
artifactId: e.latest_wf_artifact_id,
|
3018
3018
|
artifactStatus: e.latest_wf_artifact_status,
|
3019
3019
|
disableDefaultSelection: r
|
3020
|
-
}), i =
|
3020
|
+
}), i = _i(
|
3021
3021
|
s === vt.CD || s === vt.APPROVAL,
|
3022
3022
|
e
|
3023
|
-
), l =
|
3023
|
+
), l = fi(e), c = hi(e);
|
3024
3024
|
return {
|
3025
3025
|
materials: a && a === fc.RESOURCE ? o.filter((u) => u.filterState === En.ALLOWED) : o,
|
3026
3026
|
...i,
|
@@ -3034,13 +3034,13 @@ const wc = (e) => ({
|
|
3034
3034
|
const o = Of(r);
|
3035
3035
|
let i;
|
3036
3036
|
switch (e) {
|
3037
|
-
case
|
3037
|
+
case Ur.ROLLBACK:
|
3038
3038
|
i = We(
|
3039
3039
|
`${H.CD_MATERIAL_GET}/${s}/material/rollback`,
|
3040
3040
|
o
|
3041
3041
|
);
|
3042
3042
|
break;
|
3043
|
-
case
|
3043
|
+
case Ur.IMAGE_PROMOTION:
|
3044
3044
|
i = We(H.APP_ARTIFACT_PROMOTE_MATERIAL, r);
|
3045
3045
|
break;
|
3046
3046
|
default:
|
@@ -3094,7 +3094,7 @@ function eI(e) {
|
|
3094
3094
|
const s = `${H.NAMESPACE}/autocomplete?ids=${e}`;
|
3095
3095
|
return ie(s);
|
3096
3096
|
}
|
3097
|
-
function
|
3097
|
+
function gi(e) {
|
3098
3098
|
const s = `${H.GIT_HOST_EVENT}/${e}`;
|
3099
3099
|
return ie(s);
|
3100
3100
|
}
|
@@ -3147,14 +3147,14 @@ const Df = (e, s) => {
|
|
3147
3147
|
}, [e, s]);
|
3148
3148
|
};
|
3149
3149
|
let gr;
|
3150
|
-
const
|
3150
|
+
const xi = () => ({
|
3151
3151
|
width: window.innerWidth,
|
3152
3152
|
height: window.innerHeight
|
3153
|
-
}),
|
3154
|
-
const [e, s] = j(
|
3153
|
+
}), Ao = () => {
|
3154
|
+
const [e, s] = j(xi);
|
3155
3155
|
function n(a) {
|
3156
3156
|
gr && window.cancelAnimationFrame(gr), gr = window.requestAnimationFrame(() => {
|
3157
|
-
s(
|
3157
|
+
s(xi());
|
3158
3158
|
});
|
3159
3159
|
}
|
3160
3160
|
return M(() => (window.addEventListener("resize", n, !1), () => window.removeEventListener("resize", n, !1)), []), e;
|
@@ -3164,9 +3164,9 @@ const Ei = () => ({
|
|
3164
3164
|
SEARCH_KEY: "searchKey",
|
3165
3165
|
SORT_BY: "sortBy",
|
3166
3166
|
SORT_ORDER: "sortOrder"
|
3167
|
-
},
|
3167
|
+
}, Ei = (e, s) => {
|
3168
3168
|
e && localStorage.setItem(e, s);
|
3169
|
-
}, { PAGE_SIZE:
|
3169
|
+
}, { PAGE_SIZE: Ni, PAGE_NUMBER: xr, SEARCH_KEY: bi, SORT_BY: Ci, SORT_ORDER: Ti } = kf, Pc = ({
|
3170
3170
|
initialSortKey: e,
|
3171
3171
|
parseSearchParams: s,
|
3172
3172
|
localStorageKey: n
|
@@ -3175,7 +3175,7 @@ const Ei = () => ({
|
|
3175
3175
|
const I = new URLSearchParams(a.search);
|
3176
3176
|
if (!o.current && n)
|
3177
3177
|
if (a.search)
|
3178
|
-
|
3178
|
+
Ei(
|
3179
3179
|
n,
|
3180
3180
|
JSON.stringify(s(I))
|
3181
3181
|
);
|
@@ -3192,7 +3192,7 @@ const Ei = () => ({
|
|
3192
3192
|
}
|
3193
3193
|
return I;
|
3194
3194
|
})(), c = (I) => s ? s(I) : {}, { pageSize: d, pageNumber: u, searchKey: m, sortBy: p, sortOrder: f, parsedParams: g } = ne(() => {
|
3195
|
-
const I = l.get(
|
3195
|
+
const I = l.get(Ni), b = l.get(xr), A = l.get(bi), L = l.get(Ti), R = l.get(Ci) || e || "", O = Object.values(_e).includes(L) ? L : _e.ASC, w = c(l);
|
3196
3196
|
return {
|
3197
3197
|
pageSize: Number(I) || $s,
|
3198
3198
|
pageNumber: Number(b) || Vs,
|
@@ -3217,18 +3217,18 @@ const Ei = () => ({
|
|
3217
3217
|
_(xr, I);
|
3218
3218
|
},
|
3219
3219
|
changePageSize: (I) => {
|
3220
|
-
_(
|
3220
|
+
_(Ni, I), E();
|
3221
3221
|
},
|
3222
3222
|
searchKey: m,
|
3223
3223
|
handleSearch: (I) => {
|
3224
|
-
_(
|
3224
|
+
_(bi, I), E();
|
3225
3225
|
},
|
3226
3226
|
offset: x,
|
3227
3227
|
sortBy: p,
|
3228
3228
|
sortOrder: f,
|
3229
3229
|
handleSorting: (I) => {
|
3230
3230
|
let b;
|
3231
|
-
I === p && f === _e.ASC ? b = _e.DESC : b = _e.ASC, _(
|
3231
|
+
I === p && f === _e.ASC ? b = _e.DESC : b = _e.ASC, _(Ci, I), _(Ti, b), E();
|
3232
3232
|
},
|
3233
3233
|
clearFilters: () => {
|
3234
3234
|
r.replace({ search: "" }), n && localStorage.removeItem(n);
|
@@ -3239,7 +3239,7 @@ const Ei = () => ({
|
|
3239
3239
|
cc.includes(I[b]) ? l.delete(b) : Array.isArray(I[b]) ? (l.delete(b), I[b].forEach((A) => {
|
3240
3240
|
l.append(b, A);
|
3241
3241
|
})) : l.set(b, I[b]);
|
3242
|
-
}),
|
3242
|
+
}), Ei(n, JSON.stringify(c(l))), E();
|
3243
3243
|
}
|
3244
3244
|
};
|
3245
3245
|
}, kc = $t(null), Fn = () => Rs(kc), sa = (e) => {
|
@@ -3368,7 +3368,7 @@ const Ei = () => ({
|
|
3368
3368
|
},
|
3369
3369
|
offset: d
|
3370
3370
|
};
|
3371
|
-
}, Er = [
|
3371
|
+
}, Er = [Mr ? "Meta" : "Control", "Enter"], Bf = ({
|
3372
3372
|
appliedFilterOptions: e,
|
3373
3373
|
handleApplyFilter: s,
|
3374
3374
|
options: n,
|
@@ -3647,7 +3647,7 @@ const Ei = () => ({
|
|
3647
3647
|
] }),
|
3648
3648
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12", children: [
|
3649
3649
|
o,
|
3650
|
-
/* @__PURE__ */ t.jsx("div", { className: "w-100 flexbox-col dc__gap-16 br-4 dc__border-n1 p-16", children:
|
3650
|
+
/* @__PURE__ */ t.jsx("div", { className: "w-100 flexbox-col dc__gap-16 br-4 dc__border-n1 p-16", children: Wr.map((c, d) => /* @__PURE__ */ t.jsx(
|
3651
3651
|
Vf,
|
3652
3652
|
{
|
3653
3653
|
marker: c.marker,
|
@@ -3662,7 +3662,7 @@ const Ei = () => ({
|
|
3662
3662
|
isGlobalProfile: a
|
3663
3663
|
}
|
3664
3664
|
),
|
3665
|
-
showDivider: d !==
|
3665
|
+
showDivider: d !== Wr.length - 1,
|
3666
3666
|
isInheriting: l(c.actions),
|
3667
3667
|
children: /* @__PURE__ */ t.jsx("div", { className: "w-50 flexbox dc__gap-12 w-100 dc__align-start", children: c.actions.map((u) => /* @__PURE__ */ t.jsx(
|
3668
3668
|
Ff,
|
@@ -3697,13 +3697,13 @@ const Ei = () => ({
|
|
3697
3697
|
INVALID_SEMANTIC_VERSION: "Please follow semantic versioning",
|
3698
3698
|
INVALID_DATE: "Please enter a valid date",
|
3699
3699
|
DATE_BEFORE_CURRENT_TIME: "The date & time cannot be before the current time"
|
3700
|
-
},
|
3700
|
+
}, Si = 350, vi = {
|
3701
3701
|
MAX_LIMIT: 50,
|
3702
3702
|
MIN_LIMIT: 3
|
3703
|
-
},
|
3703
|
+
}, zr = (e) => {
|
3704
3704
|
const s = [];
|
3705
3705
|
return e.length > 63 && s.push("Can be max 63 characters"), jt.START_END_ALPHANUMERIC.test(e) || s.push("Must start and end with an alphanumeric character"), jt.ALPHANUMERIC_WITH_SPECIAL_CHAR.test(e) || s.push("Can only contain alphanumeric chars and (-), (_), (.)"), s;
|
3706
|
-
},
|
3706
|
+
}, Io = (e, s = !0) => {
|
3707
3707
|
const n = [], a = s && e.startsWith(A_);
|
3708
3708
|
if (!e)
|
3709
3709
|
n.push("Key is required");
|
@@ -3713,9 +3713,9 @@ const Ei = () => ({
|
|
3713
3713
|
n.push("Key: Max 1 ( / ) allowed");
|
3714
3714
|
else if (r === 1) {
|
3715
3715
|
const [o, i] = e.split("/");
|
3716
|
-
n.push(...
|
3716
|
+
n.push(...zr(i).map((c) => `Name: ${c}`)), o.length > 253 && n.push("Prefix: Can be max 253 characters"), jt.KUBERNETES_KEY_PREFIX.test(o) || n.push("Prefix: Must be a DNS subdomain (a series of DNS labels separated by dots (.)");
|
3717
3717
|
} else
|
3718
|
-
n.push(...
|
3718
|
+
n.push(...zr(e).map((o) => `Name: ${o}`));
|
3719
3719
|
}
|
3720
3720
|
return { isValid: n.length === 0, messages: n };
|
3721
3721
|
}, Kf = (e) => e?.trim() ? { isValid: !0 } : { message: "This field is required", isValid: !1 }, Wf = (e) => /^.{3,50}$/.test(e) ? /^[a-z0-9-._]+$/.test(e) ? /^(?![-._]).*[^-._]$/.test(e) ? {
|
@@ -3729,9 +3729,9 @@ const Ei = () => ({
|
|
3729
3729
|
} : {
|
3730
3730
|
isValid: !1,
|
3731
3731
|
message: Xe.getMinMaxCharMessage(3, 50)
|
3732
|
-
}, zf = (e) => e?.length >
|
3732
|
+
}, zf = (e) => e?.length > Si ? {
|
3733
3733
|
isValid: !1,
|
3734
|
-
message: Xe.getMaxCharMessage(
|
3734
|
+
message: Xe.getMaxCharMessage(Si)
|
3735
3735
|
} : {
|
3736
3736
|
isValid: !0
|
3737
3737
|
}, Bc = (e, s, n) => e?.length < n ? {
|
@@ -3742,7 +3742,7 @@ const Ei = () => ({
|
|
3742
3742
|
message: Xe.getMaxCharMessage(s)
|
3743
3743
|
} : {
|
3744
3744
|
isValid: !0
|
3745
|
-
},
|
3745
|
+
}, Ai = (e) => {
|
3746
3746
|
if (!e)
|
3747
3747
|
return {
|
3748
3748
|
isValid: !1,
|
@@ -3848,7 +3848,7 @@ const Ei = () => ({
|
|
3848
3848
|
} : {
|
3849
3849
|
isValid: !1,
|
3850
3850
|
message: "Please provide a version"
|
3851
|
-
}, oI = (e) => Bc(e,
|
3851
|
+
}, oI = (e) => Bc(e, vi.MAX_LIMIT, vi.MIN_LIMIT), iI = (e) => {
|
3852
3852
|
try {
|
3853
3853
|
return e && JSON.parse(e), {
|
3854
3854
|
isValid: !0
|
@@ -3885,13 +3885,13 @@ const Ei = () => ({
|
|
3885
3885
|
return { isValid: !1, message: "Iframe must have a valid src attribute." };
|
3886
3886
|
const o = $c(r);
|
3887
3887
|
return o.isValid ? { isValid: !0 } : o;
|
3888
|
-
},
|
3888
|
+
}, Ii = (e) => {
|
3889
3889
|
const s = jt.ALPHANUMERIC_WITH_SPECIAL_CHAR_AND_SLASH;
|
3890
3890
|
return new RegExp(s).test(e) ? { isValid: !0, message: "" } : {
|
3891
3891
|
isValid: !1,
|
3892
3892
|
message: 'Use only alphanumeric, (/), (-), (_); Do not use "spaces"'
|
3893
3893
|
};
|
3894
|
-
},
|
3894
|
+
}, yi = (e, s) => {
|
3895
3895
|
const n = Kf(e);
|
3896
3896
|
if (!n.isValid)
|
3897
3897
|
return n;
|
@@ -3917,7 +3917,7 @@ const Ei = () => ({
|
|
3917
3917
|
messages: []
|
3918
3918
|
};
|
3919
3919
|
}, Zf = (e, s) => {
|
3920
|
-
const n =
|
3920
|
+
const n = Io(e, !1);
|
3921
3921
|
return n.isValid ? s.filter((r) => r === e).length > 1 ? {
|
3922
3922
|
isValid: !1,
|
3923
3923
|
messages: ["Key should be unique"]
|
@@ -3937,7 +3937,7 @@ const Ei = () => ({
|
|
3937
3937
|
limit: {
|
3938
3938
|
isValid: !0
|
3939
3939
|
}
|
3940
|
-
}, c =
|
3940
|
+
}, c = Ai(e.value).message, d = Ai(s.value).message;
|
3941
3941
|
if (c && (l.request = {
|
3942
3942
|
message: c,
|
3943
3943
|
isValid: !1
|
@@ -3965,15 +3965,15 @@ const Ei = () => ({
|
|
3965
3965
|
message: Ke.VALIDATE_REQUEST_LIMIT.CAN_NOT_COMPUTE,
|
3966
3966
|
isValid: !1
|
3967
3967
|
}, l);
|
3968
|
-
},
|
3968
|
+
}, ji = ({
|
3969
3969
|
selector: { key: e, value: s, id: n },
|
3970
3970
|
existingKeys: a,
|
3971
3971
|
profileInputErrors: r
|
3972
3972
|
}) => {
|
3973
3973
|
const o = Zf(e, a).messages, i = Fc(s).messages, c = !(!e && !s) && (o.length > 0 || i.length > 0);
|
3974
3974
|
r[P.NODE_SELECTOR]?.[n] || (r[P.NODE_SELECTOR] || (r[P.NODE_SELECTOR] = {}), r[P.NODE_SELECTOR][n] = {}), r[P.NODE_SELECTOR][n] = {
|
3975
|
-
...o.length > 0 && { [
|
3976
|
-
...i.length > 0 && { [
|
3975
|
+
...o.length > 0 && { [Yr.KEY]: o },
|
3976
|
+
...i.length > 0 && { [Yr.VALUE]: i }
|
3977
3977
|
}, c || (delete r[P.NODE_SELECTOR][n], Object.keys(r[P.NODE_SELECTOR]).length === 0 && (r[P.NODE_SELECTOR] = null));
|
3978
3978
|
}, eh = (e) => {
|
3979
3979
|
const s = structuredClone(Rc);
|
@@ -4075,8 +4075,8 @@ const Ei = () => ({
|
|
4075
4075
|
case "activate_timeout":
|
4076
4076
|
case "activate_memory":
|
4077
4077
|
case "activate_cpu": {
|
4078
|
-
const b =
|
4079
|
-
|
4078
|
+
const b = li[h];
|
4079
|
+
ci[b]?.forEach((L) => {
|
4080
4080
|
y[L] = {
|
4081
4081
|
...I[L],
|
4082
4082
|
active: !0
|
@@ -4089,8 +4089,8 @@ const Ei = () => ({
|
|
4089
4089
|
case "de_activate_memory":
|
4090
4090
|
case "de_activate_timeout":
|
4091
4091
|
case "de_activate_cpu": {
|
4092
|
-
const b =
|
4093
|
-
|
4092
|
+
const b = li[h];
|
4093
|
+
ci[b]?.forEach((L) => {
|
4094
4094
|
y[L] = {
|
4095
4095
|
...y[L],
|
4096
4096
|
...I[L]?.defaultValue,
|
@@ -4123,7 +4123,7 @@ const Ei = () => ({
|
|
4123
4123
|
}
|
4124
4124
|
case lt.ADD_TARGET_PLATFORM: {
|
4125
4125
|
const { handleCaptureSnapshot: b } = N;
|
4126
|
-
v[In.TARGET_PLATFORM] = C ?
|
4126
|
+
v[In.TARGET_PLATFORM] = C ? yi(
|
4127
4127
|
C,
|
4128
4128
|
x(T.configurations)
|
4129
4129
|
).message : "", T.configurations[C] = i.fallbackPlatformConfigurationMap[C] || // Here need to update target platform name for each configuration
|
@@ -4144,7 +4144,7 @@ const Ei = () => ({
|
|
4144
4144
|
return;
|
4145
4145
|
}
|
4146
4146
|
delete T.configurations[C], Object.keys(v).forEach((b) => {
|
4147
|
-
|
4147
|
+
ii[b] && (v[b] = null);
|
4148
4148
|
});
|
4149
4149
|
break;
|
4150
4150
|
}
|
@@ -4159,7 +4159,7 @@ const Ei = () => ({
|
|
4159
4159
|
});
|
4160
4160
|
return;
|
4161
4161
|
}
|
4162
|
-
v[In.TARGET_PLATFORM] =
|
4162
|
+
v[In.TARGET_PLATFORM] = yi(
|
4163
4163
|
A,
|
4164
4164
|
x(T.configurations)
|
4165
4165
|
).message;
|
@@ -4188,7 +4188,7 @@ const Ei = () => ({
|
|
4188
4188
|
case lt.RESTORE_PROFILE_CONFIG_SNAPSHOT: {
|
4189
4189
|
const { configSnapshot: b } = N;
|
4190
4190
|
T.configurations = b, Object.keys(v).forEach((A) => {
|
4191
|
-
|
4191
|
+
ii[A] && (v[A] = null);
|
4192
4192
|
});
|
4193
4193
|
break;
|
4194
4194
|
}
|
@@ -4212,7 +4212,7 @@ const Ei = () => ({
|
|
4212
4212
|
(L) => L.key
|
4213
4213
|
);
|
4214
4214
|
y[P.NODE_SELECTOR].value.forEach((L) => {
|
4215
|
-
|
4215
|
+
ji({
|
4216
4216
|
selector: L,
|
4217
4217
|
existingKeys: A,
|
4218
4218
|
profileInputErrors: v
|
@@ -4235,7 +4235,7 @@ const Ei = () => ({
|
|
4235
4235
|
(O) => O.key
|
4236
4236
|
);
|
4237
4237
|
y[P.NODE_SELECTOR].value.forEach((O) => {
|
4238
|
-
|
4238
|
+
ji({
|
4239
4239
|
selector: O,
|
4240
4240
|
existingKeys: R,
|
4241
4241
|
profileInputErrors: v
|
@@ -4276,16 +4276,16 @@ const Ei = () => ({
|
|
4276
4276
|
operator: S,
|
4277
4277
|
value: R
|
4278
4278
|
});
|
4279
|
-
const w =
|
4279
|
+
const w = Io(A).messages, B = S !== os.EXISTS ? Fc(R).messages : [], G = !(S === os.EXISTS ? !A : !A && !R) && (w.length > 0 || B.length > 0);
|
4280
4280
|
v[P.TOLERANCE]?.[b] || (v[P.TOLERANCE] || (v[P.TOLERANCE] = {}), v[P.TOLERANCE][b] = {}), v[P.TOLERANCE][b] = {
|
4281
|
-
...w.length > 0 && { [
|
4282
|
-
...B.length > 0 && { [
|
4281
|
+
...w.length > 0 && { [Kr.KEY]: w },
|
4282
|
+
...B.length > 0 && { [Kr.VALUE]: B }
|
4283
4283
|
}, G || (delete v[P.TOLERANCE][b], Object.keys(v[P.TOLERANCE]).length === 0 && (v[P.TOLERANCE] = null));
|
4284
4284
|
break;
|
4285
4285
|
}
|
4286
4286
|
case lt.ADD_CM_CS_ITEM: {
|
4287
4287
|
const { id: b, infraConfigType: A } = N, S = {
|
4288
|
-
useFormProps:
|
4288
|
+
useFormProps: Vo({
|
4289
4289
|
configMapSecretData: null,
|
4290
4290
|
componentType: Lc[A],
|
4291
4291
|
cmSecretStateLabel: sr.BASE,
|
@@ -4363,7 +4363,7 @@ const Ei = () => ({
|
|
4363
4363
|
try {
|
4364
4364
|
const a = { name: e }, {
|
4365
4365
|
result: { configurationUnits: r, defaultConfigurations: o, profile: i }
|
4366
|
-
} = await ie(We(
|
4366
|
+
} = await ie(We(yo(), a));
|
4367
4367
|
return dh({
|
4368
4368
|
configurationUnits: r,
|
4369
4369
|
defaultConfigurations: o,
|
@@ -4374,7 +4374,7 @@ const Ei = () => ({
|
|
4374
4374
|
} catch (a) {
|
4375
4375
|
throw Me(a), a;
|
4376
4376
|
}
|
4377
|
-
}, nh = async (e) => await _t(
|
4377
|
+
}, nh = async (e) => await _t(yo(), e), ah = async ({
|
4378
4378
|
name: e,
|
4379
4379
|
profileInput: s,
|
4380
4380
|
canConfigureUseK8sDriver: n
|
@@ -4382,8 +4382,8 @@ const Ei = () => ({
|
|
4382
4382
|
const a = !!e, r = mh(s, n);
|
4383
4383
|
if (a) {
|
4384
4384
|
const i = { name: e };
|
4385
|
-
return await
|
4386
|
-
We(
|
4385
|
+
return await Co(
|
4386
|
+
We(yo(), i),
|
4387
4387
|
r
|
4388
4388
|
);
|
4389
4389
|
}
|
@@ -4462,7 +4462,7 @@ const Ei = () => ({
|
|
4462
4462
|
return Qs(e);
|
4463
4463
|
const n = e.value?.map(
|
4464
4464
|
(a) => {
|
4465
|
-
const r =
|
4465
|
+
const r = Vo({
|
4466
4466
|
configMapSecretData: a,
|
4467
4467
|
componentType: Lc[e.key],
|
4468
4468
|
cmSecretStateLabel: null,
|
@@ -4495,7 +4495,7 @@ const Ei = () => ({
|
|
4495
4495
|
key: s.key,
|
4496
4496
|
value: a
|
4497
4497
|
};
|
4498
|
-
},
|
4498
|
+
}, Ri = (e, s) => Object.entries(e || {}).reduce((n, [a, r]) => {
|
4499
4499
|
const o = r?.reduce(
|
4500
4500
|
(i, l) => {
|
4501
4501
|
const c = ih(l, s), u = {
|
@@ -4578,10 +4578,10 @@ const Ei = () => ({
|
|
4578
4578
|
fromCreateView: a,
|
4579
4579
|
canConfigureUseK8sDriver: r
|
4580
4580
|
}) => {
|
4581
|
-
const o = !a && n?.name === nr, i =
|
4581
|
+
const o = !a && n?.name === nr, i = Ri(
|
4582
4582
|
s,
|
4583
4583
|
o
|
4584
|
-
), l =
|
4584
|
+
), l = Ri(
|
4585
4585
|
a ? {
|
4586
4586
|
[Wt]: []
|
4587
4587
|
} : n?.configurations,
|
@@ -4662,7 +4662,7 @@ const Ei = () => ({
|
|
4662
4662
|
buildxDriverType: uh(e.useK8sDriver)
|
4663
4663
|
}
|
4664
4664
|
};
|
4665
|
-
},
|
4665
|
+
}, yo = () => `${H.INFRA_CONFIG_PROFILE}/${Y_}`, pI = (e, s) => s ? `activate_${e}` : `de_activate_${e}`;
|
4666
4666
|
var ph = /* @__PURE__ */ ((e) => (e.email = "email_id", e.lastLogin = "last_login", e))(ph || {}), _h = /* @__PURE__ */ ((e) => (e.active = "active", e.inactive = "inactive", e))(_h || {}), fh = /* @__PURE__ */ ((e) => (e.active = "active", e.inactive = "inactive", e.temporary = "temporaryAccess", e))(fh || {}), hh = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(hh || {});
|
4667
4667
|
const gh = ({
|
4668
4668
|
id: e,
|
@@ -4752,7 +4752,7 @@ const gh = ({
|
|
4752
4752
|
]
|
4753
4753
|
}
|
4754
4754
|
),
|
4755
|
-
/* @__PURE__ */ t.jsx("div", { className: "fs-13 fw-4 lh-20 cn-9", children: e.map((d) => /* @__PURE__ */
|
4755
|
+
/* @__PURE__ */ t.jsx("div", { className: "fs-13 fw-4 lh-20 cn-9", children: e.map((d) => /* @__PURE__ */ io(
|
4756
4756
|
gh,
|
4757
4757
|
{
|
4758
4758
|
...d,
|
@@ -4767,8 +4767,8 @@ const gh = ({
|
|
4767
4767
|
}
|
4768
4768
|
)) })
|
4769
4769
|
] });
|
4770
|
-
},
|
4771
|
-
label: e.startsWith(
|
4770
|
+
}, Li = (e) => ({
|
4771
|
+
label: e.startsWith(Fr) ? e.split(":")[1] : e,
|
4772
4772
|
value: e
|
4773
4773
|
}), fI = async () => {
|
4774
4774
|
const { result: e } = await ie(H.USER_LIST_MIN);
|
@@ -4778,11 +4778,11 @@ const gh = ({
|
|
4778
4778
|
return [
|
4779
4779
|
{
|
4780
4780
|
label: "Users",
|
4781
|
-
options: s.filter((n) => n !==
|
4781
|
+
options: s.filter((n) => n !== So.system && !n.startsWith(Fr)).map((n) => Li(n))
|
4782
4782
|
},
|
4783
4783
|
{
|
4784
4784
|
label: "API Tokens",
|
4785
|
-
options: s.filter((n) => n.startsWith(
|
4785
|
+
options: s.filter((n) => n.startsWith(Fr)).map((n) => Li(n))
|
4786
4786
|
}
|
4787
4787
|
];
|
4788
4788
|
};
|
@@ -5044,7 +5044,7 @@ const EI = (e, s, n, a) => ({
|
|
5044
5044
|
var Ah = /* @__PURE__ */ ((e) => (e.ALL_CLUSTERS = "all", e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e))(Ah || {}), Ih = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e.CONNECTION_FAILED = "connection failed", e))(Ih || {});
|
5045
5045
|
const bI = (e, s) => _t(H.K8S_RESOURCE_LIST, e, {
|
5046
5046
|
signal: s
|
5047
|
-
}), CI = (e) => _t(H.K8S_RESOURCE_CREATE, e), TI = (e, s) => _t(H.DELETE_RESOURCE, e, { abortControllerRef: s }), SI = (e, s) =>
|
5047
|
+
}), CI = (e) => _t(H.K8S_RESOURCE_CREATE, e), TI = (e, s) => _t(H.DELETE_RESOURCE, e, { abortControllerRef: s }), SI = (e, s) => To(H.NODE_CAPACITY, e, { abortControllerRef: s }), vI = (e, s) => Co(`${H.NODE_CAPACITY}/cordon`, e, { abortControllerRef: s }), AI = (e, s) => Co(`${H.NODE_CAPACITY}/drain`, e, { abortControllerRef: s }), II = () => ie(H.CLUSTER_LIST_RAW), yI = ({
|
5048
5048
|
optionsData: e,
|
5049
5049
|
setOptionsData: s,
|
5050
5050
|
children: n
|
@@ -5071,7 +5071,7 @@ const bI = (e, s) => _t(H.K8S_RESOURCE_LIST, e, {
|
|
5071
5071
|
return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12 w-100", children: [
|
5072
5072
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
5073
5073
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center px-8 py-2", children: [
|
5074
|
-
/* @__PURE__ */ t.jsx(
|
5074
|
+
/* @__PURE__ */ t.jsx(co, { className: "icon-dim-20 dc__no-shrink scn-7" }),
|
5075
5075
|
/* @__PURE__ */ t.jsx(he, { content: Ht.GracePeriod.infoText, alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 cn-9 lh-20 dc__underline-dotted", children: "Grace period" }) }),
|
5076
5076
|
/* @__PURE__ */ t.jsxs("span", { className: "flex left dc__border br-4 cn-9 fw-4 fs-13 lh-20 dc__overflow-hidden", children: [
|
5077
5077
|
/* @__PURE__ */ t.jsx(
|
@@ -5106,7 +5106,7 @@ const bI = (e, s) => _t(H.K8S_RESOURCE_LIST, e, {
|
|
5106
5106
|
n
|
5107
5107
|
] });
|
5108
5108
|
};
|
5109
|
-
var
|
5109
|
+
var jo = /* @__PURE__ */ ((e) => (e[e.DEPLOYMENT_TEMPLATE = 1] = "DEPLOYMENT_TEMPLATE", e[e.MANIFEST = 2] = "MANIFEST", e))(jo || {}), yh = /* @__PURE__ */ ((e) => (e[e.APPROVAL_PENDING = 1] = "APPROVAL_PENDING", e[e.VALUES_FROM_DRAFT = 2] = "VALUES_FROM_DRAFT", e))(yh || {}), jh = /* @__PURE__ */ ((e) => (e.APPROVAL_PENDING = "approvalPending", e.VALUES_FROM_DRAFT = "valuesFromDraft", e.PUBLISHED_VALUES = "publishedValues", e))(jh || {});
|
5110
5110
|
const Rh = {
|
5111
5111
|
data: "",
|
5112
5112
|
resolvedData: "",
|
@@ -5115,7 +5115,7 @@ const Rh = {
|
|
5115
5115
|
try {
|
5116
5116
|
const n = {
|
5117
5117
|
...e,
|
5118
|
-
valuesAndManifestFlag:
|
5118
|
+
valuesAndManifestFlag: jo.MANIFEST
|
5119
5119
|
};
|
5120
5120
|
return await _t(H.APP_TEMPLATE_DATA, n, {
|
5121
5121
|
signal: s
|
@@ -5127,7 +5127,7 @@ const Rh = {
|
|
5127
5127
|
try {
|
5128
5128
|
const n = {
|
5129
5129
|
...e,
|
5130
|
-
valuesAndManifestFlag:
|
5130
|
+
valuesAndManifestFlag: jo.DEPLOYMENT_TEMPLATE
|
5131
5131
|
}, { result: a } = await _t(H.APP_TEMPLATE_DATA, n, {
|
5132
5132
|
signal: s
|
5133
5133
|
}), r = Object.keys(a.variableSnapshot || {}).length > 0, o = yt.parse(a.data), i = yt.parse(a.resolvedData);
|
@@ -5152,7 +5152,7 @@ const Rh = {
|
|
5152
5152
|
parsingError: l,
|
5153
5153
|
restoreLastSavedYAML: c
|
5154
5154
|
}) => e ? i ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 fs-13 fw-4 lh-20 cn-9", children: [
|
5155
|
-
/* @__PURE__ */ t.jsx(
|
5155
|
+
/* @__PURE__ */ t.jsx(uo, { className: "icon-dim-16 dc__no-shrink" }),
|
5156
5156
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-6", children: [
|
5157
5157
|
/* @__PURE__ */ t.jsx("span", { children: "Application metrics are" }),
|
5158
5158
|
/* @__PURE__ */ t.jsx("span", { className: "fw-6", children: o ? "Enabled" : "Not enabled" })
|
@@ -5202,7 +5202,7 @@ class OI {
|
|
5202
5202
|
this.title = s, this.subTitle = n;
|
5203
5203
|
}
|
5204
5204
|
}
|
5205
|
-
var Ms = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(Ms || {}), Lh = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(Lh || {}),
|
5205
|
+
var Ms = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(Ms || {}), Lh = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(Lh || {}), Ro = /* @__PURE__ */ ((e) => (e.PATCH = "patch", e.REPLACE = "replace", e))(Ro || {}), Oh = /* @__PURE__ */ ((e) => (e.DISCARD_DRAFT = "discardDraft", e.EDIT_HISTORY = "editHistory", e))(Oh || {});
|
5206
5206
|
const wI = {
|
5207
5207
|
BASE_DEPLOYMENT_TEMPLATE: [Ms.VALUES, Ms.DRY_RUN],
|
5208
5208
|
OVERRIDE: [Ms.INHERITED, Ms.VALUES, Ms.DRY_RUN]
|
@@ -5365,7 +5365,7 @@ const kh = (e) => {
|
|
5365
5365
|
"Ensure the uploaded file name is unique to avoid conflicts or overrides."
|
5366
5366
|
] })
|
5367
5367
|
] }),
|
5368
|
-
children: /* @__PURE__ */ t.jsx("div", { className: "cursor flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(
|
5368
|
+
children: /* @__PURE__ */ t.jsx("div", { className: "cursor flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(mo, { className: "icon-dim-18" }) })
|
5369
5369
|
}
|
5370
5370
|
), Uh = (e) => e.replace(jt.ESCAPED_CHARACTERS, "\\$&"), GI = ({ searchText: e, text: s, highlightClasses: n }) => {
|
5371
5371
|
if (!e)
|
@@ -5378,7 +5378,7 @@ const kh = (e) => {
|
|
5378
5378
|
}
|
5379
5379
|
}, ms = (e) => {
|
5380
5380
|
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);
|
5381
|
-
},
|
5381
|
+
}, Oi = ({ identifier: e, preventFocus: s }) => {
|
5382
5382
|
const n = document.getElementById(e);
|
5383
5383
|
n && (s ? n.setAttribute("inert", "true") : n.removeAttribute("inert"));
|
5384
5384
|
}, Bh = (e) => !!(e.webhookData || e.author || e.message || e.modifiedTime || e.revision), HI = (e) => !!e?.every(Bh), YI = (e) => ({
|
@@ -5399,7 +5399,7 @@ function Hc(e, s, n = _e.ASC) {
|
|
5399
5399
|
const KI = (e) => {
|
5400
5400
|
switch (e) {
|
5401
5401
|
case vn.PULL_REQUEST:
|
5402
|
-
return /* @__PURE__ */ t.jsx(
|
5402
|
+
return /* @__PURE__ */ t.jsx(Eo, { className: "icon-dim-12" });
|
5403
5403
|
case vn.TAG_CREATION:
|
5404
5404
|
return /* @__PURE__ */ t.jsx(Wa, { className: "icon-dim-12" });
|
5405
5405
|
default:
|
@@ -5446,7 +5446,7 @@ const KI = (e) => {
|
|
5446
5446
|
arrow: !1,
|
5447
5447
|
children: e
|
5448
5448
|
}
|
5449
|
-
),
|
5449
|
+
), wi = (e) => {
|
5450
5450
|
const s = {
|
5451
5451
|
deploymentStatus: "inprogress",
|
5452
5452
|
deploymentStatusText: "In progress",
|
@@ -5561,8 +5561,8 @@ function Gh(e, s) {
|
|
5561
5561
|
{ nodes: {}, aggregation: {}, statusCount: {}, nodeStatusCount: {}, aggregatorStatusCount: {} }
|
5562
5562
|
);
|
5563
5563
|
}
|
5564
|
-
const Hh = (e, s = !1) => s ? btoa(e) : atob(e),
|
5565
|
-
if (!
|
5564
|
+
const Hh = (e, s = !1) => s ? btoa(e) : atob(e), qr = (e, s = !1) => Object.keys(e).map((n) => ({ key: n, value: e[n] ? Hh(e[n], s) : e[n] })).reduce((n, a) => (n[a.key] = a.value, n), {}), Di = (e) => !!e && e !== sn, Yh = (e, s) => {
|
5565
|
+
if (!Di(e) || !Di(s))
|
5566
5566
|
return "-";
|
5567
5567
|
const n = je(s).diff(je(e), "seconds"), a = je(s).diff(je(e), "minutes"), r = je(s).diff(je(e), "hours");
|
5568
5568
|
if (n < 60)
|
@@ -5638,11 +5638,11 @@ const Hh = (e, s = !1) => s ? btoa(e) : atob(e), Xr = (e, s = !1) => Object.keys
|
|
5638
5638
|
default:
|
5639
5639
|
return null;
|
5640
5640
|
}
|
5641
|
-
},
|
5641
|
+
}, Lo = (e) => !e || typeof e != "object" ? e : Object.keys(e).reduce((s, n) => {
|
5642
5642
|
const a = n.toLowerCase(), r = e[n];
|
5643
|
-
return r && typeof r == "object" ? s[a] =
|
5643
|
+
return r && typeof r == "object" ? s[a] = Lo(r) : s[a] = r, s;
|
5644
5644
|
}, {}), Kc = (e, s) => {
|
5645
|
-
const n =
|
5645
|
+
const n = Lo(s), r = e === Lt.WEBHOOK || n?.webhookdata?.id !== 0 ? n.webhookdata : {}, o = je(r.data.date, "YYYY-MM-DDTHH:mm:ssZ");
|
5646
5646
|
return o.isValid() ? o.format(mt.TWELVE_HOURS_FORMAT) : r.data.date;
|
5647
5647
|
}, yn = (e) => Nu(e), ZI = (e, s = "") => ({ pathname: n }) => e === n || s || I_, ar = (e) => {
|
5648
5648
|
if (!e?.length)
|
@@ -5762,7 +5762,7 @@ const sg = {
|
|
5762
5762
|
progressBarBg: "var(--G500)"
|
5763
5763
|
},
|
5764
5764
|
[Ee.error]: {
|
5765
|
-
icon: /* @__PURE__ */ t.jsx(
|
5765
|
+
icon: /* @__PURE__ */ t.jsx(xo, {}),
|
5766
5766
|
type: "error",
|
5767
5767
|
title: "Error",
|
5768
5768
|
progressBarBg: "var(--R500)"
|
@@ -5845,14 +5845,14 @@ const Ss = class Ss {
|
|
5845
5845
|
};
|
5846
5846
|
Ys = new WeakMap(), // eslint-disable-next-line no-use-before-define
|
5847
5847
|
qn(Ss, Ys);
|
5848
|
-
let
|
5849
|
-
const t0 = () => /* @__PURE__ */ t.jsx(bu, { ...sg }), De =
|
5848
|
+
let Xr = Ss;
|
5849
|
+
const t0 = () => /* @__PURE__ */ t.jsx(bu, { ...sg }), De = Xr.instance;
|
5850
5850
|
var tt = /* @__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))(tt || {}), zc = /* @__PURE__ */ ((e) => (e.OPEN = "OPEN", e.CLOSED = "CLOSED", e))(zc || {});
|
5851
5851
|
const rg = "bulk-selection-pop-up-menu", br = {
|
5852
5852
|
[tt.SELECT_ALL_ON_PAGE]: "All on this page",
|
5853
5853
|
[tt.SELECT_ALL_ACROSS_PAGES]: "All across pages",
|
5854
5854
|
[tt.CLEAR_ALL_SELECTIONS]: "Clear selection(s)"
|
5855
|
-
}, rn = "*", og = (e) => `Invalid action ${e} passed to useBulkSelection`, ig = "useBulkSelection must be used within BulkSelectionContext",
|
5855
|
+
}, rn = "*", og = (e) => `Invalid action ${e} passed to useBulkSelection`, ig = "useBulkSelection must be used within BulkSelectionContext", Pi = "Selections on other pages are cleared", qc = $t({
|
5856
5856
|
selectedIdentifiers: {},
|
5857
5857
|
handleBulkSelection: at,
|
5858
5858
|
isChecked: !1,
|
@@ -5894,7 +5894,7 @@ const rg = "bulk-selection-pop-up-menu", br = {
|
|
5894
5894
|
case tt.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION: {
|
5895
5895
|
De.showToast({
|
5896
5896
|
variant: Ee.info,
|
5897
|
-
description:
|
5897
|
+
description: Pi
|
5898
5898
|
}), d(o, h);
|
5899
5899
|
break;
|
5900
5900
|
}
|
@@ -5918,7 +5918,7 @@ const rg = "bulk-selection-pop-up-menu", br = {
|
|
5918
5918
|
case tt.SELECT_ALL_ON_PAGE: {
|
5919
5919
|
a[rn] && De.showToast({
|
5920
5920
|
variant: Ee.info,
|
5921
|
-
description:
|
5921
|
+
description: Pi
|
5922
5922
|
}), u(o);
|
5923
5923
|
break;
|
5924
5924
|
}
|
@@ -6047,7 +6047,7 @@ const rg = "bulk-selection-pop-up-menu", br = {
|
|
6047
6047
|
}, m = () => r ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__info flex left fs-13 dc__gap-8", children: [
|
6048
6048
|
/* @__PURE__ */ t.jsx($l, { className: "icon-dim-16 scn-6" }),
|
6049
6049
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4", children: r })
|
6050
|
-
] }) : null, p = () => !o || !i ? null : o ===
|
6050
|
+
] }) : null, p = () => !o || !i ? null : o === So.system ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__deployed-by flex left", children: [
|
6051
6051
|
/* @__PURE__ */ t.jsx(Hu, { className: "icon-dim-16 mr-6" }),
|
6052
6052
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4", children: "Auto triggered" })
|
6053
6053
|
] }) : /* @__PURE__ */ t.jsxs("div", { className: "material-history__deployed-by flex left", children: [
|
@@ -6073,7 +6073,7 @@ const rg = "bulk-selection-pop-up-menu", br = {
|
|
6073
6073
|
c ?? m()
|
6074
6074
|
] });
|
6075
6075
|
}, ug = ({ name: e }) => /* @__PURE__ */ t.jsx("div", { className: "bg__secondary py-2 px-6 dc__mxw-200 br-4", children: /* @__PURE__ */ t.jsx(he, { content: e, children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate cn-7 fs-12 fw-5 lh-16", children: e }) }) }), mg = ({ targetPlatforms: e }) => e?.length ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-start", children: [
|
6076
|
-
/* @__PURE__ */ t.jsx(
|
6076
|
+
/* @__PURE__ */ t.jsx(po, { className: "icon-dim-20 dc__no-shrink scn-7 p-2" }),
|
6077
6077
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__gap-6 flex-wrap", children: e.map(({ name: s }) => /* @__PURE__ */ t.jsx(ug, { name: s }, s)) })
|
6078
6078
|
] }) : null, pg = ({ targetPlatforms: e }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4 cursor-text", onClick: ge, children: [
|
6079
6079
|
/* @__PURE__ */ t.jsx("h6", { className: "m-0 fw-6 lh-18 fs-12", children: "Target platforms" }),
|
@@ -6166,7 +6166,7 @@ const rg = "bulk-selection-pop-up-menu", br = {
|
|
6166
6166
|
Ya,
|
6167
6167
|
{
|
6168
6168
|
text: "Multi-arch image",
|
6169
|
-
startIcon: /* @__PURE__ */ t.jsx(
|
6169
|
+
startIcon: /* @__PURE__ */ t.jsx(po, { className: "dc__no-shrink scn-6 icon-dim-16 mr-6" }),
|
6170
6170
|
isSoftDeleted: !1,
|
6171
6171
|
isEditing: !1,
|
6172
6172
|
tagId: 0,
|
@@ -6222,7 +6222,7 @@ const rg = "bulk-selection-pop-up-menu", br = {
|
|
6222
6222
|
color: "var(--N300)",
|
6223
6223
|
label: "-",
|
6224
6224
|
value: 0
|
6225
|
-
},
|
6225
|
+
}, Oo = ({
|
6226
6226
|
entities: e = [gg],
|
6227
6227
|
rootClassName: s,
|
6228
6228
|
countClassName: n,
|
@@ -6273,7 +6273,7 @@ const xg = {
|
|
6273
6273
|
[-1]: "Failed",
|
6274
6274
|
0: "Progressing",
|
6275
6275
|
1: "Completed"
|
6276
|
-
},
|
6276
|
+
}, Jr = {
|
6277
6277
|
category: Q.IMAGE_SCAN,
|
6278
6278
|
subCategory: q.VULNERABILITIES,
|
6279
6279
|
detailViewData: null
|
@@ -6285,7 +6285,7 @@ const xg = {
|
|
6285
6285
|
category: Q.KUBERNETES_MANIFEST,
|
6286
6286
|
subCategory: q.MISCONFIGURATIONS,
|
6287
6287
|
detailViewData: null
|
6288
|
-
}, bg = (e) => e.imageScan ?
|
6288
|
+
}, bg = (e) => e.imageScan ? Jr : e.codeScan ? Eg : e.kubernetesManifest ? Ng : Jr, Gs = {
|
6289
6289
|
IMAGE_SCAN: "Image Scan",
|
6290
6290
|
CODE_SCAN: "Code Scan",
|
6291
6291
|
KUBERNETES_MANIFEST: "Kubernetes Manifest"
|
@@ -6336,7 +6336,7 @@ const xg = {
|
|
6336
6336
|
X.FAILURES,
|
6337
6337
|
X.EXCEPTIONS,
|
6338
6338
|
X.SUCCESSES
|
6339
|
-
], Vn = ya.DESC,
|
6339
|
+
], Vn = ya.DESC, wo = {
|
6340
6340
|
image: mn,
|
6341
6341
|
title: "Scan failed",
|
6342
6342
|
subTitle: "Error: Security scan failed"
|
@@ -6420,7 +6420,7 @@ const xg = {
|
|
6420
6420
|
gridTemplateColumns: s.map((r) => typeof r == "number" ? `${r}px` : r).join(" "),
|
6421
6421
|
handleResize: a
|
6422
6422
|
};
|
6423
|
-
},
|
6423
|
+
}, Do = ({ imageProps: e, fallbackImage: s }) => {
|
6424
6424
|
const [n, a] = j(e.src);
|
6425
6425
|
M(() => {
|
6426
6426
|
a(e.src);
|
@@ -6433,7 +6433,7 @@ const xg = {
|
|
6433
6433
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
6434
6434
|
/* @__PURE__ */ t.jsx(t.Fragment, { children: n || !n && typeof s == "string" ? /* @__PURE__ */ t.jsx("img", { alt: "", ...e, src: n || s, onError: r }) : s })
|
6435
6435
|
);
|
6436
|
-
},
|
6436
|
+
}, Po = ({
|
6437
6437
|
scanToolName: e,
|
6438
6438
|
scanToolUrl: s,
|
6439
6439
|
fontSize: n = 13,
|
@@ -6444,7 +6444,7 @@ const xg = {
|
|
6444
6444
|
/* @__PURE__ */ t.jsx("span", { className: "fw-6 ml-4", "data-testid": "scanned-by-tool", children: e })
|
6445
6445
|
] }),
|
6446
6446
|
/* @__PURE__ */ t.jsx(
|
6447
|
-
|
6447
|
+
Do,
|
6448
6448
|
{
|
6449
6449
|
imageProps: {
|
6450
6450
|
src: s,
|
@@ -6465,7 +6465,7 @@ const xg = {
|
|
6465
6465
|
).filter((s) => !!s)
|
6466
6466
|
), Gn = (e) => e && Object.keys(e).sort(
|
6467
6467
|
(s, n) => Ra.indexOf(s) - Ra.indexOf(n)
|
6468
|
-
).map((s) => `${e[s]} ${ja[s].label}`).join(", "),
|
6468
|
+
).map((s) => `${e[s]} ${ja[s].label}`).join(", "), ki = (e) => ({
|
6469
6469
|
[X.UNKNOWN]: 1,
|
6470
6470
|
[X.LOW]: 2,
|
6471
6471
|
[X.MEDIUM]: 3,
|
@@ -6474,7 +6474,7 @@ const xg = {
|
|
6474
6474
|
[X.FAILURES]: 6,
|
6475
6475
|
[X.EXCEPTIONS]: 7,
|
6476
6476
|
[X.SUCCESSES]: 8
|
6477
|
-
})[e] || 1e4, Hn = (e, s) =>
|
6477
|
+
})[e] || 1e4, Hn = (e, s) => ki(e) - ki(s), o0 = (e) => {
|
6478
6478
|
const s = e[Q.IMAGE_SCAN].vulnerability?.summary?.severities, n = e[Q.CODE_SCAN].vulnerability?.summary?.severities;
|
6479
6479
|
return {
|
6480
6480
|
critical: (s?.[X.CRITICAL] || 0) + (n?.[X.CRITICAL] || 0),
|
@@ -6483,10 +6483,10 @@ const xg = {
|
|
6483
6483
|
low: (s?.[X.LOW] || 0) + (n?.[X.LOW] || 0),
|
6484
6484
|
unknown: (s?.[X.UNKNOWN] || 0) + (n?.[X.UNKNOWN] || 0)
|
6485
6485
|
};
|
6486
|
-
},
|
6486
|
+
}, ko = (e, s) => Ra.reduce((n, a) => n || e[a] - s[a], 0), Mo = (e, s) => ({
|
6487
6487
|
SvgImage: Fl,
|
6488
6488
|
title: "You're secure!",
|
6489
|
-
children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__border-radius-24 bg__primary pl-16 pr-16 pt-8 pb-8 en-1 bw-1", children: /* @__PURE__ */ t.jsx(
|
6489
|
+
children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__border-radius-24 bg__primary pl-16 pr-16 pt-8 pb-8 en-1 bw-1", children: /* @__PURE__ */ t.jsx(Po, { scanToolName: e, scanToolUrl: s }) })
|
6490
6490
|
}), vg = (e, s) => e.toString().localeCompare(s.toString()), Ag = (e) => {
|
6491
6491
|
switch (e.toLowerCase()) {
|
6492
6492
|
case ks.HIGH:
|
@@ -6616,7 +6616,7 @@ const xg = {
|
|
6616
6616
|
onClick: p,
|
6617
6617
|
"aria-label": "Expand all rows",
|
6618
6618
|
children: /* @__PURE__ */ t.jsx(
|
6619
|
-
|
6619
|
+
Or,
|
6620
6620
|
{
|
6621
6621
|
className: "icon-dim-20 rotate",
|
6622
6622
|
style: {
|
@@ -6654,7 +6654,7 @@ const xg = {
|
|
6654
6654
|
"aria-label": `Expand row ${x}`,
|
6655
6655
|
"data-testid": `security-table-expand-${x}`,
|
6656
6656
|
children: /* @__PURE__ */ t.jsx(
|
6657
|
-
|
6657
|
+
Or,
|
6658
6658
|
{
|
6659
6659
|
className: "icon-dim-20 rotate",
|
6660
6660
|
style: {
|
@@ -6680,12 +6680,12 @@ const xg = {
|
|
6680
6680
|
))
|
6681
6681
|
] });
|
6682
6682
|
}, Rg = ({ entities: e, lastScanTimeString: s, scanToolName: n, scanToolUrl: a }) => /* @__PURE__ */ t.jsxs("div", { className: "info-card", children: [
|
6683
|
-
/* @__PURE__ */ t.jsx(
|
6683
|
+
/* @__PURE__ */ t.jsx(Oo, { entities: e, rootClassName: "p-16 fs-13", countClassName: "fw-6" }),
|
6684
6684
|
(s || n) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
6685
6685
|
/* @__PURE__ */ t.jsx("div", { className: "dc__border-bottom-n1 w-100 h-1" }),
|
6686
6686
|
/* @__PURE__ */ t.jsxs("div", { className: "w-100 flexbox dc__content-space pl-16 pr-16 pb-8 pt-8", children: [
|
6687
6687
|
s && s !== sn && /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 dc__align-items-center", children: [
|
6688
|
-
/* @__PURE__ */ t.jsx(
|
6688
|
+
/* @__PURE__ */ t.jsx(_o, { className: "icon-dim-16" }),
|
6689
6689
|
/* @__PURE__ */ t.jsx(
|
6690
6690
|
"span",
|
6691
6691
|
{
|
@@ -6696,7 +6696,7 @@ const xg = {
|
|
6696
6696
|
)
|
6697
6697
|
] }),
|
6698
6698
|
n && /* @__PURE__ */ t.jsx(
|
6699
|
-
|
6699
|
+
Po,
|
6700
6700
|
{
|
6701
6701
|
scanToolName: n,
|
6702
6702
|
scanToolUrl: a,
|
@@ -6728,7 +6728,7 @@ const xg = {
|
|
6728
6728
|
/* @__PURE__ */ t.jsx("span", { className: a.isCause ? "cr-5" : "", children: a.number }),
|
6729
6729
|
/* @__PURE__ */ t.jsx("span", { children: a.content }, a.number)
|
6730
6730
|
] })) || /* @__PURE__ */ t.jsx(Lg, { href: n }) })
|
6731
|
-
] }),
|
6731
|
+
] }), Uo = (e, s) => ({
|
6732
6732
|
headers: [
|
6733
6733
|
{ headerText: "cve id", isSortable: !1, width: 150 },
|
6734
6734
|
{
|
@@ -6896,7 +6896,7 @@ const xg = {
|
|
6896
6896
|
}), Qc = (e, s, n, a, r, o) => ({
|
6897
6897
|
headers: [
|
6898
6898
|
{ headerText: "file path (relative)", isSortable: !0, width: 289 },
|
6899
|
-
{ headerText: "scan summary", isSortable: !0, width: 289, compareFunc:
|
6899
|
+
{ headerText: "scan summary", isSortable: !0, width: 289, compareFunc: ko },
|
6900
6900
|
{ headerText: "type", isSortable: !0, width: 150 }
|
6901
6901
|
],
|
6902
6902
|
rows: e?.list?.length ? e.list.map((i, l) => ({
|
@@ -6978,7 +6978,7 @@ const xg = {
|
|
6978
6978
|
}), ed = (e, s, n, a, r, o) => ({
|
6979
6979
|
headers: [
|
6980
6980
|
{ headerText: "file path (relative)", isSortable: !0, width: 372 },
|
6981
|
-
{ headerText: "scan summary", isSortable: !0, width: 372, compareFunc:
|
6981
|
+
{ headerText: "scan summary", isSortable: !0, width: 372, compareFunc: ko }
|
6982
6982
|
],
|
6983
6983
|
rows: e?.list?.length ? e.list.map((i, l) => ({
|
6984
6984
|
id: l,
|
@@ -7010,7 +7010,7 @@ const xg = {
|
|
7010
7010
|
}), Pg = (e, s, n, a) => {
|
7011
7011
|
switch (s) {
|
7012
7012
|
case q.VULNERABILITIES:
|
7013
|
-
return
|
7013
|
+
return Uo(e[s], a);
|
7014
7014
|
case q.LICENSE:
|
7015
7015
|
return Og(e[s]);
|
7016
7016
|
case q.MISCONFIGURATIONS:
|
@@ -7067,7 +7067,7 @@ const xg = {
|
|
7067
7067
|
}, Mg = (e, s, n) => {
|
7068
7068
|
if (e[s]?.list?.length && !n || n?.rows)
|
7069
7069
|
return null;
|
7070
|
-
const r = (n ? `${n.titlePrefix}: ${n.title}` : "") || "code scan", { scanToolName: o, scanToolUrl: i } = e, l =
|
7070
|
+
const r = (n ? `${n.titlePrefix}: ${n.title}` : "") || "code scan", { scanToolName: o, scanToolUrl: i } = e, l = Mo(o, i);
|
7071
7071
|
switch (s) {
|
7072
7072
|
case q.VULNERABILITIES:
|
7073
7073
|
return {
|
@@ -7095,7 +7095,7 @@ const xg = {
|
|
7095
7095
|
}, Ug = (e, s, n) => {
|
7096
7096
|
switch (e[Q.CODE_SCAN].status) {
|
7097
7097
|
case "Failed":
|
7098
|
-
return
|
7098
|
+
return wo;
|
7099
7099
|
case "Completed":
|
7100
7100
|
return Mg(e[Q.CODE_SCAN], s, n);
|
7101
7101
|
case "Progressing":
|
@@ -7103,7 +7103,7 @@ const xg = {
|
|
7103
7103
|
default:
|
7104
7104
|
return La;
|
7105
7105
|
}
|
7106
|
-
},
|
7106
|
+
}, Zr = (e) => ({
|
7107
7107
|
titlePrefix: "Image",
|
7108
7108
|
title: e.image,
|
7109
7109
|
entities: Et(e.summary.severities),
|
@@ -7114,14 +7114,14 @@ const xg = {
|
|
7114
7114
|
}), Bg = (e, s, n) => {
|
7115
7115
|
const a = e?.list?.length ? yg(e.list) : null;
|
7116
7116
|
return {
|
7117
|
-
...
|
7117
|
+
...Zr(e),
|
7118
7118
|
headers: [
|
7119
7119
|
{ headerText: "source", isSortable: !1, width: 428 },
|
7120
7120
|
{
|
7121
7121
|
headerText: "vulnerability",
|
7122
7122
|
isSortable: !0,
|
7123
7123
|
width: 300,
|
7124
|
-
compareFunc:
|
7124
|
+
compareFunc: ko
|
7125
7125
|
}
|
7126
7126
|
],
|
7127
7127
|
rows: a?.length ? a.map((r, o) => ({
|
@@ -7133,13 +7133,13 @@ const xg = {
|
|
7133
7133
|
Yn,
|
7134
7134
|
{
|
7135
7135
|
detailViewData: {
|
7136
|
-
...
|
7136
|
+
...Zr({
|
7137
7137
|
...e,
|
7138
7138
|
image: r.source,
|
7139
7139
|
summary: r.summary
|
7140
7140
|
}),
|
7141
7141
|
titlePrefix: "Source",
|
7142
|
-
...
|
7142
|
+
...Uo(r, n)
|
7143
7143
|
},
|
7144
7144
|
setDetailViewData: s,
|
7145
7145
|
children: /* @__PURE__ */ t.jsx("span", { className: "cb-5 fw-4 cursor", children: r.source })
|
@@ -7155,8 +7155,8 @@ const xg = {
|
|
7155
7155
|
})) : null
|
7156
7156
|
};
|
7157
7157
|
}, $g = (e, s, n) => e.list?.every((r) => !!r.target) ? Bg(e, s, n) : {
|
7158
|
-
...
|
7159
|
-
...
|
7158
|
+
...Zr(e),
|
7159
|
+
...Uo(e, n)
|
7160
7160
|
}, Oa = (e) => {
|
7161
7161
|
switch (e) {
|
7162
7162
|
case "Completed":
|
@@ -7319,7 +7319,7 @@ const xg = {
|
|
7319
7319
|
}, Kg = (e, s) => {
|
7320
7320
|
if (s.rows)
|
7321
7321
|
return null;
|
7322
|
-
const n = `${s.titlePrefix}: ${s.title}`, a =
|
7322
|
+
const n = `${s.titlePrefix}: ${s.title}`, a = Mo(s.scanToolName, s.scanToolUrl);
|
7323
7323
|
switch (e) {
|
7324
7324
|
case q.VULNERABILITIES:
|
7325
7325
|
return {
|
@@ -7341,7 +7341,7 @@ const xg = {
|
|
7341
7341
|
return null;
|
7342
7342
|
switch (n.status) {
|
7343
7343
|
case "Failed":
|
7344
|
-
return
|
7344
|
+
return wo;
|
7345
7345
|
case "Completed":
|
7346
7346
|
return Kg(s, n);
|
7347
7347
|
case "Progressing":
|
@@ -7395,7 +7395,7 @@ const xg = {
|
|
7395
7395
|
}, Xg = (e, s, n) => {
|
7396
7396
|
if (s !== q.EXPOSED_SECRETS && s !== q.MISCONFIGURATIONS || e[s]?.list?.length && !n || n?.rows)
|
7397
7397
|
return null;
|
7398
|
-
const r = (n ? `${n.titlePrefix}: ${n.title}` : "") || "Kubernetes manifests", { scanToolName: o, scanToolUrl: i } = e, l =
|
7398
|
+
const r = (n ? `${n.titlePrefix}: ${n.title}` : "") || "Kubernetes manifests", { scanToolName: o, scanToolUrl: i } = e, l = Mo(o, i);
|
7399
7399
|
switch (s) {
|
7400
7400
|
case q.MISCONFIGURATIONS:
|
7401
7401
|
return {
|
@@ -7413,7 +7413,7 @@ const xg = {
|
|
7413
7413
|
}, Jg = (e, s, n) => {
|
7414
7414
|
switch (e[Q.KUBERNETES_MANIFEST].status) {
|
7415
7415
|
case "Failed":
|
7416
|
-
return
|
7416
|
+
return wo;
|
7417
7417
|
case "Completed":
|
7418
7418
|
return Xg(e[Q.KUBERNETES_MANIFEST], s, n);
|
7419
7419
|
case "Progressing":
|
@@ -7692,9 +7692,9 @@ const xg = {
|
|
7692
7692
|
}), o.reduce((l, c) => (Object.keys(c).forEach((d) => {
|
7693
7693
|
l[d] ? l[d] += c[d] : l[d] = c[d];
|
7694
7694
|
}), l), {});
|
7695
|
-
},
|
7695
|
+
}, Qr = (e) => e === "Progressing" || e === "Running", wa = (e) => e.some((a) => Qr(a.status)) ? "Progressing" : e.some((a) => a.status === "Failed") ? "Failed" : "Completed", d0 = (e) => {
|
7696
7696
|
const s = e.imageScan?.vulnerability?.list ?? [], n = e.imageScan?.license?.list ?? [], a = e.codeScan?.status, r = e.kubernetesManifest?.status, o = wa(s), i = wa(n);
|
7697
|
-
return o === "Progressing" || i === "Progressing" ||
|
7697
|
+
return o === "Progressing" || i === "Progressing" || Qr(a) || Qr(r) ? "Progressing" : o === "Failed" || i === "Failed" || a === "Failed" || r === "Failed" ? "Failed" : "Completed";
|
7698
7698
|
}, rd = ({
|
7699
7699
|
category: e,
|
7700
7700
|
subCategory: s,
|
@@ -7745,7 +7745,7 @@ const xg = {
|
|
7745
7745
|
] }),
|
7746
7746
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12", children: [
|
7747
7747
|
r || !(i || n.success) ? /* @__PURE__ */ t.jsx("div", { className: "bcn-1 br-4 h-8" }) : /* @__PURE__ */ t.jsx(
|
7748
|
-
|
7748
|
+
Oo,
|
7749
7749
|
{
|
7750
7750
|
entities: l,
|
7751
7751
|
labelClassName: "fs-13 fw-4 lh-20 cn-9",
|
@@ -7759,7 +7759,7 @@ const xg = {
|
|
7759
7759
|
}
|
7760
7760
|
);
|
7761
7761
|
}, u0 = ({ scanResult: e, Sidebar: s }) => {
|
7762
|
-
const [n, a] = j(!1), [r, o] = j(
|
7762
|
+
const [n, a] = j(!1), [r, o] = j(Jr), { imageScan: i, codeScan: l, kubernetesManifest: c } = e, d = sx(e);
|
7763
7763
|
if (!nd(d))
|
7764
7764
|
return /* @__PURE__ */ t.jsx(
|
7765
7765
|
ze,
|
@@ -7801,7 +7801,7 @@ const xg = {
|
|
7801
7801
|
return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12", children: [
|
7802
7802
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space pb-8 dc__border-bottom-n1", children: [
|
7803
7803
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-6 lh-1-5 cn-9", children: m[_].label }),
|
7804
|
-
/* @__PURE__ */ t.jsx(
|
7804
|
+
/* @__PURE__ */ t.jsx(Po, { scanToolName: h, scanToolUrl: N })
|
7805
7805
|
] }),
|
7806
7806
|
E ? /* @__PURE__ */ t.jsx("div", { className: "dc__border br-8", children: /* @__PURE__ */ t.jsx(
|
7807
7807
|
Os,
|
@@ -7898,11 +7898,11 @@ const xg = {
|
|
7898
7898
|
] });
|
7899
7899
|
}, m0 = (e) => e.sort(
|
7900
7900
|
(s, n) => $h(
|
7901
|
-
|
7902
|
-
|
7901
|
+
ei[s.severity],
|
7902
|
+
ei[n.severity],
|
7903
7903
|
_e.ASC
|
7904
7904
|
)
|
7905
|
-
),
|
7905
|
+
), Mi = ({ currentTab: e, activeTab: s, setActiveTab: n, buttonText: a }) => {
|
7906
7906
|
const r = () => {
|
7907
7907
|
n(e);
|
7908
7908
|
};
|
@@ -7943,7 +7943,7 @@ const xg = {
|
|
7943
7943
|
/* @__PURE__ */ t.jsxs("ul", { className: `tab-list tab-list--vulnerability ${c ? "" : "tab-bottom-radius"}`, children: [
|
7944
7944
|
c && (e ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
7945
7945
|
/* @__PURE__ */ t.jsx(
|
7946
|
-
|
7946
|
+
Mi,
|
7947
7947
|
{
|
7948
7948
|
currentTab: pn.Changes,
|
7949
7949
|
activeTab: u,
|
@@ -7952,7 +7952,7 @@ const xg = {
|
|
7952
7952
|
}
|
7953
7953
|
),
|
7954
7954
|
/* @__PURE__ */ t.jsx(
|
7955
|
-
|
7955
|
+
Mi,
|
7956
7956
|
{
|
7957
7957
|
currentTab: pn.Security,
|
7958
7958
|
activeTab: u,
|
@@ -7986,7 +7986,7 @@ const xg = {
|
|
7986
7986
|
}, _0 = ({ image: e }) => /* @__PURE__ */ t.jsx(ae, { className: "default-tt w-200", arrow: !1, placement: "top", content: __, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox pt-2 pb-2 pl-8 pr-8 br-4 bcr-1 dc__align-items-center dc__gap-4", children: [
|
7987
7987
|
/* @__PURE__ */ t.jsx(Gl, { className: "icon-dim-20 fcr-5 dc__no-shrink" }),
|
7988
7988
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 lh-16 fw-4 cr-5", children: e })
|
7989
|
-
] }) }),
|
7989
|
+
] }) }), Ui = ({
|
7990
7990
|
label: e,
|
7991
7991
|
value: s,
|
7992
7992
|
handleRemoveFilter: n,
|
@@ -8040,7 +8040,7 @@ const xg = {
|
|
8040
8040
|
return u.length > 0 && /* @__PURE__ */ t.jsxs("div", { className: `flexbox pt-6 pb-6 flex-wrap dc__gap-8 ${o}`, children: [
|
8041
8041
|
u.map(
|
8042
8042
|
([m, p]) => Array.isArray(p) ? p.map((f) => /* @__PURE__ */ t.jsx(
|
8043
|
-
|
8043
|
+
Ui,
|
8044
8044
|
{
|
8045
8045
|
label: m,
|
8046
8046
|
value: f,
|
@@ -8052,7 +8052,7 @@ const xg = {
|
|
8052
8052
|
},
|
8053
8053
|
`${m}-${f}`
|
8054
8054
|
)) : /* @__PURE__ */ t.jsx(
|
8055
|
-
|
8055
|
+
Ui,
|
8056
8056
|
{
|
8057
8057
|
label: m,
|
8058
8058
|
value: p,
|
@@ -8377,7 +8377,7 @@ const zt = {
|
|
8377
8377
|
const { email: n, setEmail: a } = hd();
|
8378
8378
|
return /* @__PURE__ */ t.jsx(e, { ...s, email: n, setEmail: a });
|
8379
8379
|
};
|
8380
|
-
var
|
8380
|
+
var Bo = /* @__PURE__ */ ((e) => (e.GRAY_ON_WHITE = "gui-yaml-switch", e.WHITE_ON_GRAY = "gui-yaml-switch-window-bg", e))(Bo || {});
|
8381
8381
|
const gd = se.createContext(null);
|
8382
8382
|
function lx() {
|
8383
8383
|
const e = se.useContext(gd);
|
@@ -8456,7 +8456,7 @@ const ux = {
|
|
8456
8456
|
disabled: r = !1,
|
8457
8457
|
rootClassName: o = "",
|
8458
8458
|
name: i,
|
8459
|
-
variant: l =
|
8459
|
+
variant: l = Bo.WHITE_ON_GRAY,
|
8460
8460
|
size: c = U.medium
|
8461
8461
|
}) => /* @__PURE__ */ t.jsx(
|
8462
8462
|
Ct,
|
@@ -8479,7 +8479,7 @@ const ux = {
|
|
8479
8479
|
d.value
|
8480
8480
|
))
|
8481
8481
|
}
|
8482
|
-
),
|
8482
|
+
), Bi = {
|
8483
8483
|
[ps.light]: {
|
8484
8484
|
tippyContent: "Light",
|
8485
8485
|
icon: /* @__PURE__ */ t.jsx(Xu, { className: "scn-9" })
|
@@ -8497,10 +8497,10 @@ const ux = {
|
|
8497
8497
|
const i = Object.values(zt);
|
8498
8498
|
return {
|
8499
8499
|
tabs: i.map((l) => ({
|
8500
|
-
label: /* @__PURE__ */ t.jsx("span", { className: "dc__no-shrink icon-dim-20 flex dc__fill-available-space", children:
|
8500
|
+
label: /* @__PURE__ */ t.jsx("span", { className: "dc__no-shrink icon-dim-20 flex dc__fill-available-space", children: Bi[l].icon }),
|
8501
8501
|
value: l
|
8502
8502
|
})),
|
8503
|
-
tooltips: i.map((l) =>
|
8503
|
+
tooltips: i.map((l) => Bi[l].tippyContent)
|
8504
8504
|
};
|
8505
8505
|
}, []);
|
8506
8506
|
if (!window._env_.FEATURE_EXPERIMENTAL_THEMING_ENABLE)
|
@@ -8520,7 +8520,7 @@ const ux = {
|
|
8520
8520
|
tabs: a,
|
8521
8521
|
tooltips: r,
|
8522
8522
|
size: U.large,
|
8523
|
-
variant:
|
8523
|
+
variant: Bo.GRAY_ON_WHITE
|
8524
8524
|
}
|
8525
8525
|
)
|
8526
8526
|
] });
|
@@ -8560,11 +8560,11 @@ const ux = {
|
|
8560
8560
|
] })
|
8561
8561
|
] }) });
|
8562
8562
|
}, fx = (e) => _t(H.TELEMETRY_EVENT, e);
|
8563
|
-
let
|
8563
|
+
let $i;
|
8564
8564
|
const hx = async (e, s) => {
|
8565
8565
|
const n = await ie(`${H.SERVER_INFO_API}?showServerStatus=false`);
|
8566
|
-
return
|
8567
|
-
}, gx = 864e5, hn = (e) => 1 + (/* @__PURE__ */ new Date()).valueOf() + (e ?? 0) * gx,
|
8566
|
+
return $i = n, typeof Storage < "u" && (localStorage.serverInfo = JSON.stringify($i)), Promise.resolve(n);
|
8567
|
+
}, gx = 864e5, hn = (e) => 1 + (/* @__PURE__ */ new Date()).valueOf() + (e ?? 0) * gx, eo = async (e, s) => {
|
8568
8568
|
const n = {
|
8569
8569
|
eventType: s || e.target?.dataset.posthog,
|
8570
8570
|
key: mc,
|
@@ -8578,13 +8578,13 @@ const hx = async (e, s) => {
|
|
8578
8578
|
var Pa = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Pa || {});
|
8579
8579
|
const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className: e, hideGettingStartedCard: s }) => {
|
8580
8580
|
const n = async (r) => {
|
8581
|
-
Da("clickedOkay", 1), s(), await
|
8581
|
+
Da("clickedOkay", 1), s(), await eo(r);
|
8582
8582
|
}, a = async (r) => {
|
8583
8583
|
const o = {
|
8584
8584
|
key: mc,
|
8585
8585
|
value: `${uc}`
|
8586
8586
|
};
|
8587
|
-
await xx(o), s(o.value), await
|
8587
|
+
await xx(o), s(o.value), await eo(r);
|
8588
8588
|
};
|
8589
8589
|
return /* @__PURE__ */ t.jsxs("div", { className: "getting_tippy__position", children: [
|
8590
8590
|
/* @__PURE__ */ t.jsx("div", { className: "arrow-up" }),
|
@@ -8600,7 +8600,7 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
8600
8600
|
size: U.xs,
|
8601
8601
|
dataTestId: "getting-started-okay",
|
8602
8602
|
onClick: n,
|
8603
|
-
"data-posthog":
|
8603
|
+
"data-posthog": kr.TOOLTIP_OKAY
|
8604
8604
|
}
|
8605
8605
|
),
|
8606
8606
|
/* @__PURE__ */ t.jsx(
|
@@ -8611,7 +8611,7 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
8611
8611
|
dataTestId: "getting-started-don't-show-again",
|
8612
8612
|
onClick: a,
|
8613
8613
|
style: He.neutral,
|
8614
|
-
"data-posthog":
|
8614
|
+
"data-posthog": kr.TOOLTIP_DONT_SHOW_AGAIN,
|
8615
8615
|
variant: Re.secondary
|
8616
8616
|
}
|
8617
8617
|
)
|
@@ -8622,7 +8622,7 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
8622
8622
|
{
|
8623
8623
|
name: "Open new ticket",
|
8624
8624
|
link: T_,
|
8625
|
-
icon:
|
8625
|
+
icon: fo
|
8626
8626
|
},
|
8627
8627
|
{
|
8628
8628
|
name: "View all tickets",
|
@@ -8632,14 +8632,14 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
8632
8632
|
], bx = [
|
8633
8633
|
{
|
8634
8634
|
name: "Chat with support",
|
8635
|
-
link:
|
8635
|
+
link: bo,
|
8636
8636
|
icon: Hl,
|
8637
8637
|
showSeparator: !0
|
8638
8638
|
},
|
8639
8639
|
{
|
8640
8640
|
name: "Raise an issue/request",
|
8641
8641
|
link: v_,
|
8642
|
-
icon:
|
8642
|
+
icon: fo
|
8643
8643
|
}
|
8644
8644
|
], Cx = ({
|
8645
8645
|
className: e,
|
@@ -8658,7 +8658,7 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
8658
8658
|
},
|
8659
8659
|
{
|
8660
8660
|
name: "Join discord community",
|
8661
|
-
link:
|
8661
|
+
link: bo,
|
8662
8662
|
icon: am,
|
8663
8663
|
showSeparator: l
|
8664
8664
|
},
|
@@ -8751,7 +8751,7 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
8751
8751
|
s ? null : /* @__PURE__ */ t.jsx(Je, { className: "icon-dim-20 ml-8 fcn-9", onClick: i })
|
8752
8752
|
] });
|
8753
8753
|
return r || s ? /* @__PURE__ */ t.jsx("div", { className: `announcement-banner-container ${e}`, children: /* @__PURE__ */ t.jsx(
|
8754
|
-
|
8754
|
+
Go,
|
8755
8755
|
{
|
8756
8756
|
message: l(),
|
8757
8757
|
classname: "warn fw-6 lh-20",
|
@@ -8873,7 +8873,7 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
8873
8873
|
}, G = () => {
|
8874
8874
|
A(!b), y && I(!1), Da("clickedOkay", 1), F();
|
8875
8875
|
}, Z = async (V) => {
|
8876
|
-
!window._env_.K8S_CLIENT && S.serverInfo?.installationType !== Pa.ENTERPRISE && await B(), I(!y), b && A(!1), Da("clickedOkay", 1), F(), await
|
8876
|
+
!window._env_.K8S_CLIENT && S.serverInfo?.installationType !== Pa.ENTERPRISE && await B(), I(!y), b && A(!1), Da("clickedOkay", 1), F(), await eo(V, kr.HELP), is.event({
|
8877
8877
|
category: "Main Navigation",
|
8878
8878
|
action: "Help Clicked"
|
8879
8879
|
});
|
@@ -9010,8 +9010,8 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
9010
9010
|
}, c = () => {
|
9011
9011
|
n.push(Se.CHARTS_DISCOVER);
|
9012
9012
|
}, d = () => {
|
9013
|
-
const f = `${Se.APP}/${Se.APP_LIST}/${s.appType ??
|
9014
|
-
n.push(`${f}/${
|
9013
|
+
const f = `${Se.APP}/${Se.APP_LIST}/${s.appType ?? si.AppType.DEVTRON_APPS}`;
|
9014
|
+
n.push(`${f}/${si.CREATE_DEVTRON_APP_URL}${a.search}`);
|
9015
9015
|
}, u = () => {
|
9016
9016
|
n.push(`${Se.JOB}/${Se.APP_LIST}/${Se.CREATE_JOB}`);
|
9017
9017
|
}, m = () => r === dc.FULL ? /* @__PURE__ */ t.jsx(
|
@@ -9143,7 +9143,7 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
9143
9143
|
/* @__PURE__ */ t.jsx(st.Body, { rootClassName: `pt-4 pb-4 dc__border dc__overflow-hidden ${r}`, children: n })
|
9144
9144
|
] })
|
9145
9145
|
] });
|
9146
|
-
},
|
9146
|
+
}, to = {
|
9147
9147
|
DEFAULT_PLACEHOLDER: "Select Environment",
|
9148
9148
|
GROUP_HEADING_PREFIX: "Cluster:",
|
9149
9149
|
NO_ENVIRONMENTS_AVAILABLE: "No environments available"
|
@@ -9153,7 +9153,7 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
9153
9153
|
{}
|
9154
9154
|
);
|
9155
9155
|
return Object.entries(s).map(([n, a]) => ({
|
9156
|
-
label: `${
|
9156
|
+
label: `${to.GROUP_HEADING_PREFIX} ${n}`,
|
9157
9157
|
options: a.map((r) => ({
|
9158
9158
|
label: r.environment_name,
|
9159
9159
|
value: String(r.id)
|
@@ -9173,7 +9173,7 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
9173
9173
|
handleEnvironmentChange: e,
|
9174
9174
|
selectedEnvironmentsMap: s,
|
9175
9175
|
isMulti: n,
|
9176
|
-
placeholder: a =
|
9176
|
+
placeholder: a = to.DEFAULT_PLACEHOLDER,
|
9177
9177
|
processOptions: r,
|
9178
9178
|
styles: o,
|
9179
9179
|
isClearable: i,
|
@@ -9184,9 +9184,9 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
9184
9184
|
), p = ne(() => d ? r?.(d) || d : [], [d, r]), f = ne(() => {
|
9185
9185
|
const x = Ix(s, p);
|
9186
9186
|
return n ? x : x?.[0] || null;
|
9187
|
-
}, [s, p, n]), g = () => u ? /* @__PURE__ */ t.jsx(Os, { withBorder: !0, reload: m }) : /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children:
|
9187
|
+
}, [s, p, n]), g = () => u ? /* @__PURE__ */ t.jsx(Os, { withBorder: !0, reload: m }) : /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: to.NO_ENVIRONMENTS_AVAILABLE });
|
9188
9188
|
return /* @__PURE__ */ t.jsx(
|
9189
|
-
|
9189
|
+
ho,
|
9190
9190
|
{
|
9191
9191
|
isMulti: n,
|
9192
9192
|
options: p,
|
@@ -9240,14 +9240,14 @@ const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className:
|
|
9240
9240
|
] })
|
9241
9241
|
] });
|
9242
9242
|
var ka = /* @__PURE__ */ ((e) => (e.GOT_IT = "Got it", e.VIEW_DOCUMENTATION = "View Documentation", e))(ka || {});
|
9243
|
-
const
|
9243
|
+
const Fi = (e) => {
|
9244
9244
|
switch (e) {
|
9245
9245
|
case Ls.SMALL:
|
9246
9246
|
return { width: "100%", height: "200px" };
|
9247
9247
|
default:
|
9248
9248
|
return { width: "100%", height: "250px" };
|
9249
9249
|
}
|
9250
|
-
},
|
9250
|
+
}, Vi = ({
|
9251
9251
|
renderDescriptionContent: e,
|
9252
9252
|
closeModalText: s = ka.GOT_IT,
|
9253
9253
|
docLink: n = "",
|
@@ -9261,8 +9261,8 @@ const Vi = (e) => {
|
|
9261
9261
|
{
|
9262
9262
|
style: {
|
9263
9263
|
...i,
|
9264
|
-
width: `${
|
9265
|
-
height: `${
|
9264
|
+
width: `${Fi(r).width}`,
|
9265
|
+
height: `${Fi(r).height}`
|
9266
9266
|
}
|
9267
9267
|
}
|
9268
9268
|
) }) : null, c = () => /* @__PURE__ */ t.jsxs("div", { className: "pl-20 pr-20 pb-16 dc__gap-16", children: [
|
@@ -9336,7 +9336,7 @@ const Vi = (e) => {
|
|
9336
9336
|
}
|
9337
9337
|
) }),
|
9338
9338
|
/* @__PURE__ */ t.jsx(
|
9339
|
-
|
9339
|
+
Vi,
|
9340
9340
|
{
|
9341
9341
|
SVGImage: m.SVGImage,
|
9342
9342
|
docLink: m.docLink,
|
@@ -9348,7 +9348,7 @@ const Vi = (e) => {
|
|
9348
9348
|
}
|
9349
9349
|
)
|
9350
9350
|
] }) : /* @__PURE__ */ t.jsx(
|
9351
|
-
|
9351
|
+
Vi,
|
9352
9352
|
{
|
9353
9353
|
SVGImage: i,
|
9354
9354
|
closeModal: r,
|
@@ -9550,7 +9550,7 @@ const Vi = (e) => {
|
|
9550
9550
|
...e,
|
9551
9551
|
color: "var(--N900)"
|
9552
9552
|
})
|
9553
|
-
}, P0 = (e) => /* @__PURE__ */ t.jsx(
|
9553
|
+
}, P0 = (e) => /* @__PURE__ */ t.jsx(ho, { ...e }), Tr = {
|
9554
9554
|
APPLICATION: "Application",
|
9555
9555
|
ENVIRONMENT: "Environment",
|
9556
9556
|
PIPELINE: "Pipeline"
|
@@ -9588,7 +9588,7 @@ const Vi = (e) => {
|
|
9588
9588
|
ERROR: "error"
|
9589
9589
|
}, Sr = {
|
9590
9590
|
PENDING: "Pending"
|
9591
|
-
}, Px = "1", kx = "/resource-browser/1/devtron-ci/pod/k8sEmptyGroup", Mx = "devtron-ci", ra = 3,
|
9591
|
+
}, Px = "1", kx = "/resource-browser/1/devtron-ci/pod/k8sEmptyGroup", Mx = "devtron-ci", ra = 3, Gi = "deployment-status", Ux = ["KIND", "NAME", "SYNC STATUS", "MESSAGE"], Hi = "STAGE_INFO", Bx = "|";
|
9592
9592
|
var we = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(we || {}), rs = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(rs || {});
|
9593
9593
|
const $x = {
|
9594
9594
|
[ye.SUCCEEDED]: "cg-5",
|
@@ -9604,7 +9604,7 @@ const $x = {
|
|
9604
9604
|
[ye.QUEUED]: "queued"
|
9605
9605
|
};
|
9606
9606
|
var ft = /* @__PURE__ */ ((e) => (e.Degraded = "degraded", e.Healthy = "healthy", e.Progressing = "progressing", e.Missing = "missing", e.Suspended = "suspended", e.Unknown = "unknown", e))(ft || {}), jn = /* @__PURE__ */ ((e) => (e.drifted = "drifted", e))(jn || {});
|
9607
|
-
const
|
9607
|
+
const Yi = {
|
9608
9608
|
missing: 1,
|
9609
9609
|
degraded: 2,
|
9610
9610
|
progressing: 3,
|
@@ -9652,7 +9652,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9652
9652
|
appReleaseTagNames: e.appReleaseTagNames,
|
9653
9653
|
tagsEditable: e.tagsEditable,
|
9654
9654
|
hideImageTaggingHardDelete: e.hideImageTaggingHardDelete
|
9655
|
-
}),
|
9655
|
+
}), Ki = (e, s, n) => {
|
9656
9656
|
const a = [];
|
9657
9657
|
return Object.keys(s).forEach((r) => {
|
9658
9658
|
const o = n.find((i) => i.id == r);
|
@@ -9673,7 +9673,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9673
9673
|
] }, o)
|
9674
9674
|
)) })
|
9675
9675
|
] });
|
9676
|
-
},
|
9676
|
+
}, Wi = (e) => {
|
9677
9677
|
switch (e) {
|
9678
9678
|
case "success":
|
9679
9679
|
return /* @__PURE__ */ t.jsx(Om, { className: "icon-dim-20 green-tick", "data-testid": "success-green-tick" });
|
@@ -9692,7 +9692,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9692
9692
|
case "time_out":
|
9693
9693
|
return /* @__PURE__ */ t.jsx(Dm, { className: "icon-dim-20" });
|
9694
9694
|
default:
|
9695
|
-
return /* @__PURE__ */ t.jsx(
|
9695
|
+
return /* @__PURE__ */ t.jsx(co, { className: "icon-dim-20 timer-icon" });
|
9696
9696
|
}
|
9697
9697
|
}, Kx = (e) => {
|
9698
9698
|
switch (e) {
|
@@ -9703,32 +9703,32 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9703
9703
|
default:
|
9704
9704
|
return /* @__PURE__ */ t.jsx(sc, { className: "dc__no-shrink icon-dim-16 ic-in-progress-orange" });
|
9705
9705
|
}
|
9706
|
-
},
|
9706
|
+
}, zi = () => /* @__PURE__ */ t.jsx(tc, { className: "icon-dim-20 dc__no-shrink" }), qi = () => /* @__PURE__ */ t.jsx(kn, { className: "icon-dim-20 dc__no-shrink ic-error-cross-red" }), Xi = () => /* @__PURE__ */ t.jsx(sc, { className: "dc__no-shrink icon-dim-20 ic-in-progress-orange" }), Ji = () => /* @__PURE__ */ t.jsx("div", { className: "dc__app-summary__icon dc__no-shrink icon-dim-20 succeeded" }), Wx = (e) => {
|
9707
9707
|
const s = e?.toUpperCase();
|
9708
9708
|
switch (s) {
|
9709
9709
|
case W.ABORTED:
|
9710
|
-
return
|
9710
|
+
return zi();
|
9711
9711
|
case W.DEGRADED:
|
9712
|
-
return
|
9712
|
+
return qi();
|
9713
9713
|
case W.INPROGRESS:
|
9714
|
-
return
|
9714
|
+
return Xi();
|
9715
9715
|
case W.HEALTHY:
|
9716
|
-
return
|
9716
|
+
return Ji();
|
9717
9717
|
}
|
9718
9718
|
const n = s?.toLocaleLowerCase();
|
9719
9719
|
switch (n) {
|
9720
9720
|
case ye.CANCELLED:
|
9721
|
-
return
|
9721
|
+
return zi();
|
9722
9722
|
case ye.FAILED:
|
9723
9723
|
case ye.ERROR:
|
9724
|
-
return
|
9724
|
+
return qi();
|
9725
9725
|
case ye.RUNNING:
|
9726
9726
|
case ye.PROGRESSING:
|
9727
9727
|
case ye.STARTING:
|
9728
9728
|
case ye.INITIATING:
|
9729
|
-
return
|
9729
|
+
return Xi();
|
9730
9730
|
case ye.SUCCEEDED:
|
9731
|
-
return
|
9731
|
+
return Ji();
|
9732
9732
|
default:
|
9733
9733
|
return /* @__PURE__ */ t.jsx(
|
9734
9734
|
"div",
|
@@ -9757,10 +9757,10 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9757
9757
|
const d = e === Lt.WEBHOOK, u = e === Lt.BranchRegex || !!o || i, [m, p] = j(""), [f, g] = j(""), [x, _] = j(!!d), E = () => {
|
9758
9758
|
if (d) {
|
9759
9759
|
const v = JSON.parse(s);
|
9760
|
-
|
9760
|
+
gi(v.eventId).then((C) => {
|
9761
9761
|
const y = C.result;
|
9762
9762
|
p(y.name), g(
|
9763
|
-
|
9763
|
+
Ki(
|
9764
9764
|
y.name,
|
9765
9765
|
v.condition,
|
9766
9766
|
y.selectors
|
@@ -9789,9 +9789,9 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9789
9789
|
if (!d)
|
9790
9790
|
return;
|
9791
9791
|
const v = JSON.parse(s), C = v.eventId, y = v.condition;
|
9792
|
-
|
9792
|
+
gi(C).then((I) => {
|
9793
9793
|
const b = I.result;
|
9794
|
-
p(b.name), g(
|
9794
|
+
p(b.name), g(Ki(b.name, y, b.selectors)), _(!1);
|
9795
9795
|
}).catch((I) => {
|
9796
9796
|
throw I;
|
9797
9797
|
});
|
@@ -9846,7 +9846,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9846
9846
|
ciMaterials: r,
|
9847
9847
|
gitTriggers: o
|
9848
9848
|
}) => /* @__PURE__ */ t.jsxs("div", { className: "build-card-popup p-16 br-4 w-400 bg__primary mxh-300 dc__overflow-auto", children: [
|
9849
|
-
/* @__PURE__ */ t.jsx("span", { className: "fw-6 fs-16 mb-4", style: { color:
|
9849
|
+
/* @__PURE__ */ t.jsx("span", { className: "fw-6 fs-16 mb-4", style: { color: Gr[e.toLowerCase()] }, children: e.toLowerCase() === "cancelled" ? "Aborted" : e }),
|
9850
9850
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column left", children: [
|
9851
9851
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left fs-12 cn-7", children: [
|
9852
9852
|
/* @__PURE__ */ t.jsx("div", { children: je(s).format(mt.TWELVE_HOURS_FORMAT) }),
|
@@ -9972,7 +9972,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9972
9972
|
/* @__PURE__ */ t.jsx("div", { className: "dc__first-letter-capitalize dc__no-shrink", children: ["pre", "post"].includes(d?.toLowerCase()) ? `${d}-deploy` : d }),
|
9973
9973
|
/* @__PURE__ */ t.jsx("span", { className: "dc__bullet dc__bullet--d2 ml-4 mr-4" }),
|
9974
9974
|
l && /* @__PURE__ */ t.jsxs("div", { className: "dc__app-commit__hash dc__app-commit__hash--no-bg dc__no-shrink", children: [
|
9975
|
-
/* @__PURE__ */ t.jsx(
|
9975
|
+
/* @__PURE__ */ t.jsx(go, { className: "commit-hash__icon grayscale" }),
|
9976
9976
|
l.split(":")[1].slice(-12)
|
9977
9977
|
] }),
|
9978
9978
|
/* @__PURE__ */ t.jsx("span", { className: "dc__bullet dc__bullet--d2 ml-4 mr-4" })
|
@@ -10036,7 +10036,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10036
10036
|
}
|
10037
10037
|
),
|
10038
10038
|
/* @__PURE__ */ t.jsx(
|
10039
|
-
|
10039
|
+
ho,
|
10040
10040
|
{
|
10041
10041
|
classNamePrefix: "history-pipeline-dropdown",
|
10042
10042
|
value: h,
|
@@ -10126,7 +10126,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10126
10126
|
name: r,
|
10127
10127
|
isVirtual: o ?? !1,
|
10128
10128
|
cluster: i,
|
10129
|
-
environmentType: l ?
|
10129
|
+
environmentType: l ? Vr.production : Vr.nonProduction,
|
10130
10130
|
namespace: c
|
10131
10131
|
})
|
10132
10132
|
).sort((a, r) => Ze(a.name, r.name));
|
@@ -10180,7 +10180,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10180
10180
|
s(!0);
|
10181
10181
|
try {
|
10182
10182
|
const c = await nE(a);
|
10183
|
-
if (c.status ===
|
10183
|
+
if (c.status === Qo.OK) {
|
10184
10184
|
r && De.showToast({
|
10185
10185
|
variant: Ee.info,
|
10186
10186
|
title: "Preparing file for download",
|
@@ -10194,7 +10194,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10194
10194
|
description: l
|
10195
10195
|
});
|
10196
10196
|
} else {
|
10197
|
-
if (c.status ===
|
10197
|
+
if (c.status === Qo.NO_CONTENT)
|
10198
10198
|
throw new Error("No content to download");
|
10199
10199
|
{
|
10200
10200
|
const d = await c?.json();
|
@@ -10334,7 +10334,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10334
10334
|
title: $e.CI_PROGRESS_VIEW.TITLE,
|
10335
10335
|
subTitle: $e.CI_PROGRESS_VIEW.SUBTITLE
|
10336
10336
|
}
|
10337
|
-
),
|
10337
|
+
), so = ({
|
10338
10338
|
type: e,
|
10339
10339
|
userApprovalMetadata: s,
|
10340
10340
|
triggeredBy: n,
|
@@ -10448,7 +10448,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10448
10448
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
10449
10449
|
/* @__PURE__ */ t.jsxs("div", { className: `flex left column dc__gap-12 dc__content-start ${f ?? ""}`, children: [
|
10450
10450
|
!!i && /* @__PURE__ */ t.jsx(
|
10451
|
-
|
10451
|
+
so,
|
10452
10452
|
{
|
10453
10453
|
type: "artifact",
|
10454
10454
|
ciPipelineId: o,
|
@@ -10473,7 +10473,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10473
10473
|
] })
|
10474
10474
|
}
|
10475
10475
|
),
|
10476
|
-
n && r && a && /* @__PURE__ */ t.jsx(
|
10476
|
+
n && r && a && /* @__PURE__ */ t.jsx(so, { type: "report", renderCIListHeader: g, children: /* @__PURE__ */ t.jsxs("div", { className: "flex column left", children: [
|
10477
10477
|
/* @__PURE__ */ t.jsx("div", { className: "cn-9 fs-14", children: "Reports.zip" }),
|
10478
10478
|
/* @__PURE__ */ t.jsxs(
|
10479
10479
|
"button",
|
@@ -10557,7 +10557,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10557
10557
|
className: `display-grid dc__align-items-center dc__select-text image-chip-cell__container ${c ? "image-chip-cell__container--expanded" : ""} bcn-1 br-6 dc__transparent py-0 px-6 cursor max-w-100`,
|
10558
10558
|
onClick: n || l,
|
10559
10559
|
children: [
|
10560
|
-
s ? /* @__PURE__ */ t.jsx("div", { className: `h-14 w-14 dc__registry-icon ${s} br-8 dc__no-shrink` }) : /* @__PURE__ */ t.jsx(
|
10560
|
+
s ? /* @__PURE__ */ t.jsx("div", { className: `h-14 w-14 dc__registry-icon ${s} br-8 dc__no-shrink` }) : /* @__PURE__ */ t.jsx(go, { className: "icon-dim-14 mw-14" }),
|
10561
10561
|
c ? /* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left", children: e }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
10562
10562
|
/* @__PURE__ */ t.jsx("div", { children: "…" }),
|
10563
10563
|
/* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left text-overflow-clip", children: e.split(":").slice(-1)[0] ?? "" })
|
@@ -10565,7 +10565,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10565
10565
|
]
|
10566
10566
|
}
|
10567
10567
|
) }) });
|
10568
|
-
},
|
10568
|
+
}, Zi = ({ handleClick: e = at, commits: s }) => s?.length > 0 ? /* @__PURE__ */ t.jsx("div", { className: "flexbox", children: /* @__PURE__ */ t.jsxs(
|
10569
10569
|
"button",
|
10570
10570
|
{
|
10571
10571
|
type: "button",
|
@@ -10579,7 +10579,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10579
10579
|
s.length > 1 && /* @__PURE__ */ t.jsx("span", { className: "flex br-4 pl-6 pr-6 bcb-1", children: "…" })
|
10580
10580
|
]
|
10581
10581
|
}
|
10582
|
-
) }) : /* @__PURE__ */ t.jsx("span", {}),
|
10582
|
+
) }) : /* @__PURE__ */ t.jsx("span", {}), Qi = (e) => e && e === rs.FETCHING ? "?SHOW_APPLIED_FILTERS=true" : "";
|
10583
10583
|
async function oE({
|
10584
10584
|
appId: e,
|
10585
10585
|
envId: s,
|
@@ -10588,7 +10588,7 @@ async function oE({
|
|
10588
10588
|
fetchIdData: r
|
10589
10589
|
}) {
|
10590
10590
|
const o = await ie(
|
10591
|
-
a ? `${H.APP}/cd-pipeline/workflow/trigger-info/${e}/${s}/${n}/${a}${
|
10591
|
+
a ? `${H.APP}/cd-pipeline/workflow/trigger-info/${e}/${s}/${n}/${a}${Qi(r)}` : `${H.APP}/cd-pipeline/workflow/trigger-info/${e}/${s}/${n}/last${Qi(r)}`
|
10592
10592
|
);
|
10593
10593
|
return {
|
10594
10594
|
...o,
|
@@ -10603,10 +10603,10 @@ const iE = (e) => {
|
|
10603
10603
|
return ie(s);
|
10604
10604
|
}, lE = (e, s) => {
|
10605
10605
|
const n = `${H.CI_CONFIG_GET}/${e.pipelineId}/workflow/${e.workflowId}?forceAbort=${s}`;
|
10606
|
-
return
|
10606
|
+
return To(n);
|
10607
10607
|
}, cE = (e, s) => {
|
10608
10608
|
const n = `${H.CD_MATERIAL_GET}/${e}/workflowRunner/${s}`;
|
10609
|
-
return
|
10609
|
+
return To(n);
|
10610
10610
|
};
|
10611
10611
|
function dE(e, s, n, a, r, o) {
|
10612
10612
|
let i;
|
@@ -10650,7 +10650,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10650
10650
|
let i = {};
|
10651
10651
|
n.codeEditorValue?.resolvedValue && (i = JSON.parse(n.codeEditorValue.resolvedValue));
|
10652
10652
|
const l = a || Object.keys(o).some((c) => o[c] === "*****");
|
10653
|
-
n.codeEditorValue.value = l ? n.codeEditorValue.value : JSON.stringify(
|
10653
|
+
n.codeEditorValue.value = l ? n.codeEditorValue.value : JSON.stringify(qr(o)), n.codeEditorValue.resolvedValue = l ? n.codeEditorValue.resolvedValue : JSON.stringify(qr(i));
|
10654
10654
|
}
|
10655
10655
|
}
|
10656
10656
|
if (e.type) {
|
@@ -10692,7 +10692,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10692
10692
|
), r.values = a, r;
|
10693
10693
|
}, F0 = (e, s, n, a) => {
|
10694
10694
|
const r = We(
|
10695
|
-
`${H.RESOURCE_HISTORY_DEPLOYMENT}/${H.CONFIG_CD_PIPELINE}/${
|
10695
|
+
`${H.RESOURCE_HISTORY_DEPLOYMENT}/${H.CONFIG_CD_PIPELINE}/${vo.v1}`,
|
10696
10696
|
{
|
10697
10697
|
baseConfigurationId: n,
|
10698
10698
|
historyComponent: s.replace("-", "_").toUpperCase(),
|
@@ -10709,7 +10709,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10709
10709
|
showCurrentReleaseDeployments: r = !1
|
10710
10710
|
}) => {
|
10711
10711
|
const o = We(
|
10712
|
-
`${H.RESOURCE_HISTORY_DEPLOYMENT}/${nt.cdPipeline}/${
|
10712
|
+
`${H.RESOURCE_HISTORY_DEPLOYMENT}/${nt.cdPipeline}/${vo.v1}`,
|
10713
10713
|
{
|
10714
10714
|
filterCriteria: Hx({ appId: e, envId: s, releaseId: a, showCurrentReleaseDeployments: r }),
|
10715
10715
|
offset: n.offset,
|
@@ -10717,7 +10717,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10717
10717
|
}
|
10718
10718
|
), { result: i } = await ie(o);
|
10719
10719
|
return { result: Yx(i) };
|
10720
|
-
}, V0 = (e) => ie(`${H.MODULE_CONFIGURED}?name=${e}`),
|
10720
|
+
}, V0 = (e) => ie(`${H.MODULE_CONFIGURED}?name=${e}`), el = ({ children: e }) => /* @__PURE__ */ t.jsx("div", { className: "display-grid dc__column-gap-10 dc__align-start logs-renderer__log-item", children: e }), hE = ({
|
10721
10721
|
stage: e,
|
10722
10722
|
isOpen: s,
|
10723
10723
|
logs: n,
|
@@ -10764,7 +10764,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10764
10764
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center", children: [
|
10765
10765
|
!!p?.length && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
10766
10766
|
/* @__PURE__ */ t.jsx(Xc, { targetPlatforms: p, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 dc__align-items-center", children: [
|
10767
|
-
/* @__PURE__ */ t.jsx(
|
10767
|
+
/* @__PURE__ */ t.jsx(po, { className: "dc__no-shrink icon-stroke__white icon-dim-12" }),
|
10768
10768
|
/* @__PURE__ */ t.jsxs("span", { className: "text__white fs-13 fw-4 lh-20", children: [
|
10769
10769
|
p.length,
|
10770
10770
|
" target platform",
|
@@ -10782,7 +10782,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10782
10782
|
n.map((_, E) => {
|
10783
10783
|
const h = Ed({ stageIndex: c, lineNumberInsideStage: E }) === m;
|
10784
10784
|
return /* @__PURE__ */ t.jsxs(
|
10785
|
-
|
10785
|
+
el,
|
10786
10786
|
{
|
10787
10787
|
children: [
|
10788
10788
|
/* @__PURE__ */ t.jsx(
|
@@ -10808,7 +10808,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10808
10808
|
`logs-${e}-${r}-${E}`
|
10809
10809
|
);
|
10810
10810
|
}),
|
10811
|
-
d && /* @__PURE__ */ t.jsxs(
|
10811
|
+
d && /* @__PURE__ */ t.jsxs(el, { children: [
|
10812
10812
|
/* @__PURE__ */ t.jsx("span", {}),
|
10813
10813
|
/* @__PURE__ */ t.jsx("div", { className: "dc__loading-dots text__white" })
|
10814
10814
|
] })
|
@@ -10865,7 +10865,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10865
10865
|
}, NE = ({ triggerDetails: e, isBlobStorageConfigured: s, parentType: n, fullScreenView: a }) => {
|
10866
10866
|
const { pipelineId: r, envId: o, appId: i } = pt(), l = n === we.CI ? `${Ca}/${H.CI_CONFIG_GET}/${r}/workflow/${e.id}/logs` : `${Ca}/${H.CD_MATERIAL_GET}/workflow/logs/${i}/${o}/${r}/${e.id}`, [c, d, u] = EE(
|
10867
10867
|
e.podStatus && e.podStatus !== Sr.PENDING && l
|
10868
|
-
), [m, p] = j([]), [f, g] = j([]), [x, _] = j(0), [E, h] = j([]), { searchKey: N, handleSearch: T } = Pc(), v = f.length > 0, C = ne(() => m.every((K) => K.isOpen), [m]), y = C ? "Collapse all stages" : "Expand all stages", { registerShortcut: I, unregisterShortcut: b } = Fn(), A = c[0]?.startsWith(
|
10868
|
+
), [m, p] = j([]), [f, g] = j([]), [x, _] = j(0), [E, h] = j([]), { searchKey: N, handleSearch: T } = Pc(), v = f.length > 0, C = ne(() => m.every((K) => K.isOpen), [m]), y = C ? "Collapse all stages" : "Expand all stages", { registerShortcut: I, unregisterShortcut: b } = Fn(), A = c[0]?.startsWith(Hi) || !1;
|
10869
10869
|
function L({
|
10870
10870
|
log: K,
|
10871
10871
|
currentIndex: V = -1,
|
@@ -10876,7 +10876,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10876
10876
|
let k = !1;
|
10877
10877
|
try {
|
10878
10878
|
if (K = K.replace(/\[[.]*m/, ($) => `\x1B[${$}m`), pe && A) {
|
10879
|
-
const $ = K.split(
|
10879
|
+
const $ = K.split(ni), re = K.match(ni) || [], ee = new RegExp(`(${Uh(pe)})`, "ig");
|
10880
10880
|
K = $.reduce((Y, Ae, Fe) => {
|
10881
10881
|
try {
|
10882
10882
|
k = k || ee.test(Ae), Y.push(
|
@@ -10904,7 +10904,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10904
10904
|
(D, $) => (D[$.stage] || (D[$.stage] = {}), D[$.stage][$.startTime] = $, D),
|
10905
10905
|
{}
|
10906
10906
|
), fe = {}, Ce = [], k = c.reduce((D, $, re) => {
|
10907
|
-
if ($.startsWith(
|
10907
|
+
if ($.startsWith(Hi))
|
10908
10908
|
try {
|
10909
10909
|
const { stage: ee, startTime: Te, endTime: Y, status: Ae, metadata: Fe } = JSON.parse(
|
10910
10910
|
$.split(Bx)[1]
|
@@ -11284,11 +11284,11 @@ let Pt = {
|
|
11284
11284
|
filterType: "",
|
11285
11285
|
searchString: ""
|
11286
11286
|
};
|
11287
|
-
const
|
11287
|
+
const tl = () => {
|
11288
11288
|
const e = Yt.getValue().filter((s) => !!(!Pt.filterType && !Pt.searchString || Pt.filterType === "ALL" || Pt.filterType.toLowerCase() === s.health?.status?.toLowerCase() || Pt.filterType.toLowerCase() === jn.drifted && s.hasDrift));
|
11289
11289
|
_a.next([...e]);
|
11290
11290
|
};
|
11291
|
-
function
|
11291
|
+
function $o(e, s, n) {
|
11292
11292
|
if (s.some((i) => i.childNodes))
|
11293
11293
|
return s;
|
11294
11294
|
let a = s;
|
@@ -11320,7 +11320,7 @@ function Fo(e, s, n) {
|
|
11320
11320
|
const TE = (e, s) => e?.toLowerCase() == "degraded" || s?.toLowerCase() == "degraded" ? "degraded" : e?.toLowerCase() == "progressing" || s?.toLowerCase() == "progressing" ? "progressing" : "healthy";
|
11321
11321
|
function SE(e, s) {
|
11322
11322
|
const n = e.filter((a) => a.kind.toLowerCase() == s.toLowerCase()).map((a) => a);
|
11323
|
-
return
|
11323
|
+
return $o(e, n);
|
11324
11324
|
}
|
11325
11325
|
function vE(e) {
|
11326
11326
|
const s = [...e.filter((o) => o.kind.toLowerCase() == te.Pod.toLowerCase())], n = /* @__PURE__ */ new Map();
|
@@ -11352,7 +11352,7 @@ function vE(e) {
|
|
11352
11352
|
}
|
11353
11353
|
const AE = (e, s) => {
|
11354
11354
|
const n = s.filter((o) => o.name.toLowerCase() == e.toLowerCase() && !o.parentRefs).map((o) => o);
|
11355
|
-
let a =
|
11355
|
+
let a = $o(s, n), r = [];
|
11356
11356
|
for (; a?.length > 0; )
|
11357
11357
|
r = r.concat(a.filter((o) => o.kind.toLowerCase() == te.Pod.toLowerCase())), a = a.flatMap((o) => o.childNodes ?? []);
|
11358
11358
|
return r;
|
@@ -11368,7 +11368,7 @@ const AE = (e, s) => {
|
|
11368
11368
|
getEnvDetailsObservable: () => vr.asObservable(),
|
11369
11369
|
publishAppDetails: (e, s) => {
|
11370
11370
|
const n = e.resourceTree?.nodes || [], a = e.resourceTree?.podMetadata || [];
|
11371
|
-
|
11371
|
+
$o(
|
11372
11372
|
n,
|
11373
11373
|
n.filter((r) => (r.parentRefs ?? []).length == 0).map((r) => r),
|
11374
11374
|
a
|
@@ -11436,10 +11436,10 @@ const AE = (e, s) => {
|
|
11436
11436
|
}), s;
|
11437
11437
|
},
|
11438
11438
|
updateFilterType: (e) => {
|
11439
|
-
Pt = { ...Pt, filterType: e },
|
11439
|
+
Pt = { ...Pt, filterType: e }, tl();
|
11440
11440
|
},
|
11441
11441
|
updateFilterSearch: (e) => {
|
11442
|
-
e.length && e.length < 4 || (Pt = { ...Pt, searchString: e },
|
11442
|
+
e.length && e.length < 4 || (Pt = { ...Pt, searchString: e }, tl());
|
11443
11443
|
}
|
11444
11444
|
}, IE = ({
|
11445
11445
|
filterRemoveHealth: e = !1,
|
@@ -11462,7 +11462,7 @@ const AE = (e, s) => {
|
|
11462
11462
|
T.health && E.push(T);
|
11463
11463
|
});
|
11464
11464
|
E.sort(
|
11465
|
-
(h, N) =>
|
11465
|
+
(h, N) => Yi[h.health.status?.toLowerCase()] - Yi[N.health.status?.toLowerCase()]
|
11466
11466
|
), e && (E = E.filter(
|
11467
11467
|
(h) => h.health.status?.toLowerCase() !== ue.HEALTHY
|
11468
11468
|
)), d(E);
|
@@ -11589,7 +11589,7 @@ const AE = (e, s) => {
|
|
11589
11589
|
/* @__PURE__ */ t.jsx("div", { className: "", children: n.deploymentStatusBreakdown[W.KUBECTL_APPLY].kubeList?.map((x, _) => (
|
11590
11590
|
// eslint-disable-next-line react/no-array-index-key
|
11591
11591
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left lh-20 mb-8", children: [
|
11592
|
-
|
11592
|
+
Wi(x.icon),
|
11593
11593
|
/* @__PURE__ */ t.jsx("span", { className: "ml-12", children: x.message })
|
11594
11594
|
] }, `item-${_}`)
|
11595
11595
|
)) }),
|
@@ -11648,7 +11648,7 @@ const AE = (e, s) => {
|
|
11648
11648
|
{
|
11649
11649
|
className: `deployment-status-breakdown-row pt-8 pb-8 pl-8 pr-8 bg__primary ${i ? d ? "" : "br-4" : "border-collapse"}`,
|
11650
11650
|
children: [
|
11651
|
-
|
11651
|
+
Wi(o.icon),
|
11652
11652
|
/* @__PURE__ */ t.jsxs("span", { className: "ml-12 mr-12 fs-13", children: [
|
11653
11653
|
/* @__PURE__ */ t.jsx("span", { "data-testid": "deployment-status-step-name", children: o.displayText }),
|
11654
11654
|
o.displaySubText && /* @__PURE__ */ t.jsx("span", { className: `ml-12 f-${o.icon || "waiting"}`, children: o.displaySubText })
|
@@ -11684,7 +11684,7 @@ const AE = (e, s) => {
|
|
11684
11684
|
!s && /* @__PURE__ */ t.jsx("div", { className: "vertical-connector" })
|
11685
11685
|
] });
|
11686
11686
|
};
|
11687
|
-
var
|
11687
|
+
var no = /* @__PURE__ */ ((e) => (e.ERRIMAGEPULL = "errimagepull", e.IMAGEPULLBACKOFF = "imagepullbackoff", e))(no || {});
|
11688
11688
|
const yE = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
11689
11689
|
"'",
|
11690
11690
|
e.clusterName,
|
@@ -11697,14 +11697,14 @@ const yE = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
11697
11697
|
] }), jE = ({ appDetails: e }) => {
|
11698
11698
|
const [s, n] = j(!1);
|
11699
11699
|
return M(() => {
|
11700
|
-
if (e.appType ===
|
11700
|
+
if (e.appType === $r.DEVTRON_APP && e.resourceTree?.nodes?.length)
|
11701
11701
|
for (let a = 0; a < e.resourceTree.nodes.length; a++) {
|
11702
11702
|
const r = e.resourceTree.nodes[a];
|
11703
11703
|
let o = !1;
|
11704
11704
|
if (r.info?.length) {
|
11705
11705
|
for (let i = 0; i < r.info.length; i++) {
|
11706
11706
|
const l = r.info[i];
|
11707
|
-
if (l.value && (l.value.toLowerCase() ===
|
11707
|
+
if (l.value && (l.value.toLowerCase() === no.ERRIMAGEPULL || l.value.toLowerCase() === no.IMAGEPULLBACKOFF)) {
|
11708
11708
|
o = !0;
|
11709
11709
|
break;
|
11710
11710
|
}
|
@@ -11715,7 +11715,7 @@ const yE = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
11715
11715
|
}
|
11716
11716
|
}
|
11717
11717
|
}
|
11718
|
-
}, [e]), !e || e.appType !==
|
11718
|
+
}, [e]), !e || e.appType !== $r.DEVTRON_APP || !e.resourceTree || !e.resourceTree.nodes || e.externalCi ? null : s && /* @__PURE__ */ t.jsxs("div", { className: "er-2 bw-1 br-4 m-20 fs-13", children: [
|
11719
11719
|
/* @__PURE__ */ t.jsxs("div", { className: "bcr-1 pl-12 pr-12 pt-8 pb-8 dc__border-bottom-r2 flex left", children: [
|
11720
11720
|
/* @__PURE__ */ t.jsx(fm, { className: "icon-dim-24 mr-8" }),
|
11721
11721
|
" ",
|
@@ -11891,7 +11891,7 @@ const LE = ({
|
|
11891
11891
|
}) => {
|
11892
11892
|
const d = hs(), { url: u } = Ft(), { appId: m, envId: p, triggerId: f } = pt(), [g, x] = j(
|
11893
11893
|
e?.toUpperCase() !== W.ABORTED
|
11894
|
-
), _ = J(i), E = _.current && l ? l() :
|
11894
|
+
), _ = J(i), E = _.current && l ? l() : wi(), [h, N] = j(E), T = () => {
|
11895
11895
|
oa && clearTimeout(oa);
|
11896
11896
|
}, v = () => {
|
11897
11897
|
dE(m, p, !0, f, n, a).then((b) => {
|
@@ -11908,7 +11908,7 @@ const LE = ({
|
|
11908
11908
|
_.current = i;
|
11909
11909
|
}, [i]);
|
11910
11910
|
const C = (b) => {
|
11911
|
-
const A = _.current && l ? l(b) :
|
11911
|
+
const A = _.current && l ? l(b) : wi(b);
|
11912
11912
|
T(), A.deploymentStatus === ue.INPROGRESS ? oa = setTimeout(() => {
|
11913
11913
|
v();
|
11914
11914
|
}, 1e4) : oa = setTimeout(() => {
|
@@ -11918,13 +11918,13 @@ const LE = ({
|
|
11918
11918
|
if (n) {
|
11919
11919
|
d.push({
|
11920
11920
|
pathname: `${Se.APP}/${Se.DEVTRON_CHARTS}/${Se.APP_DEPLOYMNENT_HISTORY}/${m}/env/${p}/${Se.DETAILS}/${Se.APP_DETAILS_K8}`,
|
11921
|
-
search:
|
11921
|
+
search: Gi
|
11922
11922
|
});
|
11923
11923
|
return;
|
11924
11924
|
}
|
11925
11925
|
d.push({
|
11926
11926
|
pathname: `${Se.APP}/${m}/${Se.APP_DETAILS}/${p}/${Se.APP_DETAILS_K8}`,
|
11927
|
-
search:
|
11927
|
+
search: Gi
|
11928
11928
|
});
|
11929
11929
|
}, I = () => !_.current && !h?.deploymentStatusBreakdown?.APP_HEALTH?.isCollapsed ? /* @__PURE__ */ t.jsx("div", { className: "h-100 flex", children: /* @__PURE__ */ t.jsx(
|
11930
11930
|
bE,
|
@@ -11977,7 +11977,7 @@ const LE = ({
|
|
11977
11977
|
children: /* @__PURE__ */ t.jsx("div", { ref: a, children: n })
|
11978
11978
|
}
|
11979
11979
|
);
|
11980
|
-
},
|
11980
|
+
}, sl = (e) => (s) => /* @__PURE__ */ t.jsx(ae, { ...e, className: `default-tt ${e?.className || ""}`, children: /* @__PURE__ */ t.jsx("div", { className: "flex dc__align-self-start", children: s }) }), OE = ({
|
11981
11981
|
config: e,
|
11982
11982
|
tabType: s,
|
11983
11983
|
onCollapseBtnClick: n
|
@@ -11999,7 +11999,7 @@ const LE = ({
|
|
11999
11999
|
it,
|
12000
12000
|
{
|
12001
12001
|
condition: !!m.tooltipProps,
|
12002
|
-
wrap:
|
12002
|
+
wrap: sl(m.tooltipProps),
|
12003
12003
|
children: /* @__PURE__ */ t.jsx(
|
12004
12004
|
m.Icon,
|
12005
12005
|
{
|
@@ -12050,7 +12050,7 @@ const LE = ({
|
|
12050
12050
|
onClick: (f) => n(l, f),
|
12051
12051
|
children: [
|
12052
12052
|
/* @__PURE__ */ t.jsx(
|
12053
|
-
|
12053
|
+
Or,
|
12054
12054
|
{
|
12055
12055
|
className: "icon-dim-20 fcn-6 dc__no-shrink cursor rotate",
|
12056
12056
|
style: { "--rotateBy": p ? "0deg" : "-90deg" }
|
@@ -12064,7 +12064,7 @@ const LE = ({
|
|
12064
12064
|
it,
|
12065
12065
|
{
|
12066
12066
|
condition: !!d.tooltipProps,
|
12067
|
-
wrap:
|
12067
|
+
wrap: sl(d.tooltipProps),
|
12068
12068
|
children: /* @__PURE__ */ t.jsx(
|
12069
12069
|
"button",
|
12070
12070
|
{
|
@@ -12109,7 +12109,7 @@ const Id = {
|
|
12109
12109
|
added: "cg-5",
|
12110
12110
|
deleted: "cr-5",
|
12111
12111
|
noDiff: "cn-7"
|
12112
|
-
},
|
12112
|
+
}, nl = "sort-config", wE = ({ width: e }) => /* @__PURE__ */ t.jsx("div", { className: `p-8 h-32 w-${e}`, children: /* @__PURE__ */ t.jsx("div", { className: "shimmer-loading w-100 h-100" }) }), DE = ({
|
12113
12113
|
isLoading: e,
|
12114
12114
|
collapsibleNavList: s,
|
12115
12115
|
navList: n,
|
@@ -12196,7 +12196,7 @@ const Id = {
|
|
12196
12196
|
}),
|
12197
12197
|
/* @__PURE__ */ t.jsx(OE, { config: f, tabType: "navLink", onCollapseBtnClick: g }),
|
12198
12198
|
o && /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
|
12199
|
-
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: i ? /* @__PURE__ */ t.jsx(
|
12199
|
+
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: i ? /* @__PURE__ */ t.jsx(xo, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(Xs, { className: "icon-dim-16 fcn-7 dc__no-shrink" }) }),
|
12200
12200
|
/* @__PURE__ */ t.jsx("p", { className: `m-0 fs-12 lh-1-5 ${i ? "cr-5" : "cn-9"}`, children: o })
|
12201
12201
|
] })
|
12202
12202
|
] }), N = () => e ? ["90", "70", "50"].map((T) => /* @__PURE__ */ t.jsx(wE, { width: T }, T)) : c?.error ? /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
|
@@ -12356,7 +12356,7 @@ const Id = {
|
|
12356
12356
|
code: Be.UNAUTHORIZED,
|
12357
12357
|
title: Ve.UNAUTHORIZED,
|
12358
12358
|
subTitle: n || Ve.UNAUTHORIZED_MESSAGE,
|
12359
|
-
image:
|
12359
|
+
image: Pr,
|
12360
12360
|
imageType: i,
|
12361
12361
|
heightToDeduct: r
|
12362
12362
|
}
|
@@ -12368,7 +12368,7 @@ const Id = {
|
|
12368
12368
|
code: Be.PERMISSION_DENIED,
|
12369
12369
|
title: Ve.FORBIDDEN,
|
12370
12370
|
subTitle: n || Ve.FORBIDDEN_MESSAGE,
|
12371
|
-
image:
|
12371
|
+
image: Pr,
|
12372
12372
|
imageType: i,
|
12373
12373
|
heightToDeduct: r
|
12374
12374
|
}
|
@@ -12743,7 +12743,7 @@ const Id = {
|
|
12743
12743
|
o.draftMetadata?.draftState === _n.Init ? a = !0 : o.draftMetadata?.draftState === _n.AwaitApproval && (r = !0);
|
12744
12744
|
}
|
12745
12745
|
return n ? /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cn-9", children: "Does not exist" }) : a ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
|
12746
|
-
/* @__PURE__ */ t.jsx(
|
12746
|
+
/* @__PURE__ */ t.jsx(fo, { className: "icon-dim-16 scr-5" }),
|
12747
12747
|
/* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cr-5", children: "Draft" })
|
12748
12748
|
] }) : r ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
|
12749
12749
|
/* @__PURE__ */ t.jsx(Cm, { className: "icon-dim-16 dc__no-shrink" }),
|
@@ -12924,7 +12924,7 @@ const Id = {
|
|
12924
12924
|
onClick: () => {
|
12925
12925
|
document.querySelector(`#${N.id}`)?.scrollIntoView({ block: "start" });
|
12926
12926
|
},
|
12927
|
-
Icon:
|
12927
|
+
Icon: wr
|
12928
12928
|
},
|
12929
12929
|
...C ? [
|
12930
12930
|
{
|
@@ -12934,7 +12934,7 @@ const Id = {
|
|
12934
12934
|
onClick: () => {
|
12935
12935
|
document.querySelector(`#${C.id}`)?.scrollIntoView({ block: "start" });
|
12936
12936
|
},
|
12937
|
-
Icon:
|
12937
|
+
Icon: wr
|
12938
12938
|
}
|
12939
12939
|
] : []
|
12940
12940
|
], L = [
|
@@ -13003,10 +13003,10 @@ const Id = {
|
|
13003
13003
|
}, G0 = (e) => e.reduce(
|
13004
13004
|
(s, n) => ({
|
13005
13005
|
...s,
|
13006
|
-
...n.type ===
|
13006
|
+
...n.type === Hr.DefaultVersions && n.chartType === "Deployment" ? {
|
13007
13007
|
defaultVersions: [...s.defaultVersions, n]
|
13008
13008
|
} : s.defaultVersions,
|
13009
|
-
...n.type ===
|
13009
|
+
...n.type === Hr.DeployedOnSelfEnvironment ? {
|
13010
13010
|
previousDeployments: [...s.previousDeployments, n]
|
13011
13011
|
} : s.previousDeployments
|
13012
13012
|
}),
|
@@ -13277,7 +13277,7 @@ const Id = {
|
|
13277
13277
|
to: u,
|
13278
13278
|
children: [
|
13279
13279
|
/* @__PURE__ */ t.jsxs("p", { className: "m-0 flex dc__gap-8", children: [
|
13280
|
-
/* @__PURE__ */ t.jsx(
|
13280
|
+
/* @__PURE__ */ t.jsx(wr, { className: "icon-dim-20 scn-6" }),
|
13281
13281
|
/* @__PURE__ */ t.jsx(
|
13282
13282
|
"span",
|
13283
13283
|
{
|
@@ -13310,7 +13310,7 @@ const Id = {
|
|
13310
13310
|
/* @__PURE__ */ t.jsx("span", { className: "dc__capitalize", children: e }),
|
13311
13311
|
/* @__PURE__ */ t.jsx("span", { className: "dc__bullet dc__bullet--d2" }),
|
13312
13312
|
a && /* @__PURE__ */ t.jsxs("span", { className: "dc__app-commit__hash dc__app-commit__hash--no-bg dc__no-shrink", children: [
|
13313
|
-
/* @__PURE__ */ t.jsx(
|
13313
|
+
/* @__PURE__ */ t.jsx(go, { className: "commit-hash__icon grayscale" }),
|
13314
13314
|
a.split(":")[1].slice(-12)
|
13315
13315
|
] }),
|
13316
13316
|
/* @__PURE__ */ t.jsx("span", { className: "dc__bullet dc__bullet--d2" }),
|
@@ -13373,7 +13373,7 @@ const Id = {
|
|
13373
13373
|
data: l,
|
13374
13374
|
hasMore: l.size >= $s
|
13375
13375
|
}), [b, A] = j(n);
|
13376
|
-
M(() => (N({ compareWfrId: h }), s(!0),
|
13376
|
+
M(() => (N({ compareWfrId: h }), s(!0), C(nl), () => {
|
13377
13377
|
i(!1), s(!1);
|
13378
13378
|
}), []);
|
13379
13379
|
const L = async (V) => {
|
@@ -13445,7 +13445,7 @@ const Id = {
|
|
13445
13445
|
}
|
13446
13446
|
]
|
13447
13447
|
}, oe = () => F ? u ? `Diff unavailable: Configurations for deployment execution ‘${B?.label || "N/A"}’ not found` : `Showing diff in configuration deployed on: ${B?.label || "N/A"} & ${O}` : null, le = {
|
13448
|
-
handleSorting: () => C(v !== _e.DESC ?
|
13448
|
+
handleSorting: () => C(v !== _e.DESC ? nl : ""),
|
13449
13449
|
sortBy: T,
|
13450
13450
|
sortOrder: v
|
13451
13451
|
}, K = {
|
@@ -13580,10 +13580,10 @@ const Id = {
|
|
13580
13580
|
)
|
13581
13581
|
) }),
|
13582
13582
|
O && /* @__PURE__ */ t.jsx(
|
13583
|
-
|
13583
|
+
Go,
|
13584
13584
|
{
|
13585
13585
|
classname: "error_bar cn-9 fs-13 lh-20",
|
13586
|
-
Icon:
|
13586
|
+
Icon: xo,
|
13587
13587
|
message: "Diff unavailable: Configurations for previous deployment not found."
|
13588
13588
|
}
|
13589
13589
|
)
|
@@ -13613,7 +13613,7 @@ const Id = {
|
|
13613
13613
|
return m && m.classList.add("show"), l && m.classList.add("no-back-drop"), i || document.body.addEventListener("wheel", u, { passive: !1 }), () => {
|
13614
13614
|
i || document.body.removeEventListener("wheel", u), document.removeEventListener("click", d), m && m.classList.remove("show"), l && m.classList.remove("no-back-drop");
|
13615
13615
|
};
|
13616
|
-
}, []),
|
13616
|
+
}, []), No.createPortal(
|
13617
13617
|
/* @__PURE__ */ t.jsx(
|
13618
13618
|
"div",
|
13619
13619
|
{
|
@@ -14084,7 +14084,7 @@ const dN = 100, Vt = se.memo(
|
|
14084
14084
|
}) => {
|
14085
14085
|
const { appTheme: b } = _d();
|
14086
14086
|
T && (e = Rl(e), a = Rl(a));
|
14087
|
-
const A = J(null), L = J(null), { width: S, height: R } =
|
14087
|
+
const A = J(null), L = J(null), { width: S, height: R } = Ao(), O = se.useCallback(lN, []), [w, B] = Lu(
|
14088
14088
|
O,
|
14089
14089
|
cN({
|
14090
14090
|
mode: s,
|
@@ -14133,7 +14133,7 @@ const dN = 100, Vt = se.memo(
|
|
14133
14133
|
const pe = (Y) => {
|
14134
14134
|
s === ls.YAML && Y && typeof Y.getModel == "function" && typeof Y.getModel().updateOptions == "function" && Y.getModel().updateOptions({ tabSize: 2 }), Y && (typeof Y.onDidFocusEditorWidget == "function" && typeof C == "function" && Y.onDidFocusEditorWidget(C), typeof Y.onDidBlurEditorWidget == "function" && typeof v == "function" && Y.onDidBlurEditorWidget(v)), y && Y && (Y.onDidContentSizeChange(() => {
|
14135
14135
|
K(Y.getContentHeight());
|
14136
|
-
}), K(Y.getContentHeight())), A.current = Y, L.current =
|
14136
|
+
}), K(Y.getContentHeight())), A.current = Y, L.current = Xo;
|
14137
14137
|
}, fe = (Y, Ae) => {
|
14138
14138
|
const Fe = Y.getOriginalEditor(), Le = Y.getModifiedEditor();
|
14139
14139
|
y && (Fe.onDidContentSizeChange(() => {
|
@@ -14157,7 +14157,7 @@ const dN = 100, Vt = se.memo(
|
|
14157
14157
|
M(() => {
|
14158
14158
|
if (!E)
|
14159
14159
|
return;
|
14160
|
-
const Y = Au(
|
14160
|
+
const Y = Au(Xo, {
|
14161
14161
|
enableSchemaRequest: !0,
|
14162
14162
|
isKubernetes: N,
|
14163
14163
|
schemas: [
|
@@ -14505,7 +14505,7 @@ const TN = ({
|
|
14505
14505
|
index: i,
|
14506
14506
|
isExcluded: l = !1
|
14507
14507
|
}) => {
|
14508
|
-
const c =
|
14508
|
+
const c = Lo(n), d = e === Lt.WEBHOOK || c && c.webhookdata && c.webhookdata.id !== 0, u = d ? c.webhookdata : {}, m = d ? null : c.commiturl ? c.commiturl : $n(r, c.commit), p = (y) => y ? /* @__PURE__ */ t.jsx(
|
14509
14509
|
"a",
|
14510
14510
|
{
|
14511
14511
|
href: Df(r, y),
|
@@ -14520,7 +14520,7 @@ const TN = ({
|
|
14520
14520
|
const I = Kc(e, n);
|
14521
14521
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex column dc__gap-4 w-100", children: [
|
14522
14522
|
y ? /* @__PURE__ */ t.jsxs("div", { className: "flex left lh-20 dc__gap-8 w-100", children: [
|
14523
|
-
/* @__PURE__ */ t.jsx(
|
14523
|
+
/* @__PURE__ */ t.jsx(Eo, { className: "icon-dim-16" }),
|
14524
14524
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4", children: [
|
14525
14525
|
"Merge commit into ",
|
14526
14526
|
p(u.data["target branch name"]),
|
@@ -14529,12 +14529,12 @@ const TN = ({
|
|
14529
14529
|
] })
|
14530
14530
|
] }) : null,
|
14531
14531
|
u.data.author ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 w-100", children: [
|
14532
|
-
/* @__PURE__ */ t.jsx(
|
14532
|
+
/* @__PURE__ */ t.jsx(zo, { className: "icon-dim-16" }),
|
14533
14533
|
" ",
|
14534
14534
|
u.data.author
|
14535
14535
|
] }) : null,
|
14536
14536
|
I ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 w-100", children: [
|
14537
|
-
/* @__PURE__ */ t.jsx(
|
14537
|
+
/* @__PURE__ */ t.jsx(Dr, { className: "icon-dim-16" }),
|
14538
14538
|
/* @__PURE__ */ t.jsx("time", { className: "cn-7 fs-12", children: I })
|
14539
14539
|
] }) : null,
|
14540
14540
|
u.data.message ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 top material-history-text--padded w-100", children: [
|
@@ -14563,7 +14563,7 @@ const TN = ({
|
|
14563
14563
|
}
|
14564
14564
|
)
|
14565
14565
|
}
|
14566
|
-
) : /* @__PURE__ */ t.jsx(
|
14566
|
+
) : /* @__PURE__ */ t.jsx(Wo, { "data-testid": "valid-git-commit" }), x = () => c.isselected ? /* @__PURE__ */ t.jsx(qo, { "data-testid": "selected-git-commit", className: "dc__align-right icon-dim-20" }) : g(), _ = () => u.data.title ? /* @__PURE__ */ t.jsx("span", { className: "flex left cn-9 fw-6 fs-13", children: u.data.title }) : null, E = (y) => {
|
14567
14567
|
const I = y?.split("/").pop();
|
14568
14568
|
return /* @__PURE__ */ t.jsxs("div", { className: "w-100 flex left dc__gap-4", children: [
|
14569
14569
|
/* @__PURE__ */ t.jsxs(
|
@@ -14586,7 +14586,7 @@ const TN = ({
|
|
14586
14586
|
}, h = (y) => /* @__PURE__ */ t.jsxs("div", { className: "commit-hash px-6 dc__w-fit-content dc__gap-4 fs-13", children: [
|
14587
14587
|
/* @__PURE__ */ t.jsx(Wa, { className: "icon-dim-14 scb-5" }),
|
14588
14588
|
y
|
14589
|
-
] }), N = () => a ? c.isselected ? /* @__PURE__ */ t.jsx(
|
14589
|
+
] }), N = () => a ? c.isselected ? /* @__PURE__ */ t.jsx(qo, { className: "dc__align-right icon-dim-20" }) : /* @__PURE__ */ t.jsx(Wo, { "data-testid": "valid-git-commit icon-dim-20" }) : null, T = () => /* @__PURE__ */ t.jsxs("div", { className: "flex column left dc__gap-8", children: [
|
14590
14590
|
/* @__PURE__ */ t.jsxs("div", { className: "flex dc__content-space w-100", children: [
|
14591
14591
|
E(u.data["git url"]),
|
14592
14592
|
N()
|
@@ -14661,14 +14661,14 @@ const TN = ({
|
|
14661
14661
|
) : null,
|
14662
14662
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
|
14663
14663
|
c.author ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8", children: [
|
14664
|
-
/* @__PURE__ */ t.jsx(
|
14664
|
+
/* @__PURE__ */ t.jsx(zo, { className: "icon-dim-16" }),
|
14665
14665
|
/* @__PURE__ */ t.jsxs("span", { className: "lh-20", children: [
|
14666
14666
|
" ",
|
14667
14667
|
c.author
|
14668
14668
|
] })
|
14669
14669
|
] }) : null,
|
14670
14670
|
c.date ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8", children: [
|
14671
|
-
/* @__PURE__ */ t.jsx(
|
14671
|
+
/* @__PURE__ */ t.jsx(Dr, { className: "icon-dim-16" }),
|
14672
14672
|
/* @__PURE__ */ t.jsx("span", { className: "lh-20", children: je(c.date).format(mt.TWELVE_HOURS_FORMAT) })
|
14673
14673
|
] }) : null
|
14674
14674
|
] })
|
@@ -14786,7 +14786,7 @@ const TN = ({
|
|
14786
14786
|
) : null;
|
14787
14787
|
}),
|
14788
14788
|
n && /* @__PURE__ */ t.jsx("div", { className: "history-component__artifact flex left column", children: /* @__PURE__ */ t.jsx(
|
14789
|
-
|
14789
|
+
so,
|
14790
14790
|
{
|
14791
14791
|
type: "deployed-artifact",
|
14792
14792
|
userApprovalMetadata: a,
|
@@ -14841,8 +14841,8 @@ const IN = (e) => {
|
|
14841
14841
|
const { registerShortcut: n, unregisterShortcut: a } = Fn();
|
14842
14842
|
return M(() => (n({ keys: ["Escape"], callback: s }), () => {
|
14843
14843
|
a(["Escape"]);
|
14844
|
-
}), [s]), M(() => (ms(!0),
|
14845
|
-
ms(!1),
|
14844
|
+
}), [s]), M(() => (ms(!0), Oi({ identifier: ai, preventFocus: !0 }), () => {
|
14845
|
+
ms(!1), Oi({ identifier: ai, preventFocus: !1 });
|
14846
14846
|
}), []), tp(
|
14847
14847
|
/* @__PURE__ */ t.jsx(
|
14848
14848
|
ba.div,
|
@@ -15125,7 +15125,7 @@ const IN = (e) => {
|
|
15125
15125
|
const _ = r[x.id];
|
15126
15126
|
return _ ? /* @__PURE__ */ t.jsxs(se.Fragment, { children: [
|
15127
15127
|
x.type !== "WEBHOOK" && _.Commit && /* @__PURE__ */ t.jsx(
|
15128
|
-
|
15128
|
+
Zi,
|
15129
15129
|
{
|
15130
15130
|
commits: [_.Commit],
|
15131
15131
|
handleClick: zh(
|
@@ -15134,7 +15134,7 @@ const IN = (e) => {
|
|
15134
15134
|
}
|
15135
15135
|
),
|
15136
15136
|
x.type === "WEBHOOK" && _.WebhookData && _.WebhookData.Data && _.WebhookData.Data["target checkout"] && /* @__PURE__ */ t.jsx(
|
15137
|
-
|
15137
|
+
Zi,
|
15138
15138
|
{
|
15139
15139
|
commits: _.WebhookData.EventActionType === "merged" ? _.WebhookData.Data["target checkout"].substr(0, 7) : _.WebhookData.Data["target checkout"]
|
15140
15140
|
}
|
@@ -15164,8 +15164,8 @@ const IN = (e) => {
|
|
15164
15164
|
cx: "10",
|
15165
15165
|
cy: "10",
|
15166
15166
|
r: "5",
|
15167
|
-
fill:
|
15168
|
-
stroke:
|
15167
|
+
fill: Gr[e],
|
15168
|
+
stroke: Gr[e],
|
15169
15169
|
strokeOpacity: "0.3",
|
15170
15170
|
strokeWidth: "10"
|
15171
15171
|
}
|
@@ -15563,7 +15563,7 @@ const IN = (e) => {
|
|
15563
15563
|
S.id
|
15564
15564
|
)
|
15565
15565
|
] });
|
15566
|
-
},
|
15566
|
+
}, Ar = {
|
15567
15567
|
background: "var(--B100)",
|
15568
15568
|
color: "var(--B500)",
|
15569
15569
|
hover: {
|
@@ -15581,11 +15581,11 @@ const IN = (e) => {
|
|
15581
15581
|
background: "var(--B100)",
|
15582
15582
|
color: "var(--B500)"
|
15583
15583
|
}, Gd = {
|
15584
|
-
selectedStartStyles:
|
15585
|
-
selectedEndStyles:
|
15584
|
+
selectedStartStyles: Ar,
|
15585
|
+
selectedEndStyles: Ar,
|
15586
15586
|
hoveredSpanStyles: VN,
|
15587
15587
|
selectedSpanStyles: FN,
|
15588
|
-
selectedStyles:
|
15588
|
+
selectedStyles: Ar,
|
15589
15589
|
border: "none"
|
15590
15590
|
}, GN = {
|
15591
15591
|
"Day 1": "1",
|
@@ -15828,7 +15828,7 @@ const IN = (e) => {
|
|
15828
15828
|
isDisabled: e,
|
15829
15829
|
...n,
|
15830
15830
|
value: r,
|
15831
|
-
icon: /* @__PURE__ */ t.jsx(
|
15831
|
+
icon: /* @__PURE__ */ t.jsx(_o, { className: "icon-dim-20 fcn-6" }),
|
15832
15832
|
onChange: s,
|
15833
15833
|
"data-testid": Is.TIME,
|
15834
15834
|
size: U.large,
|
@@ -15876,7 +15876,7 @@ const IN = (e) => {
|
|
15876
15876
|
withFullScreenPortal: !1,
|
15877
15877
|
orientation: "horizontal",
|
15878
15878
|
readOnly: c || !1,
|
15879
|
-
customInputIcon: /* @__PURE__ */ t.jsx(
|
15879
|
+
customInputIcon: /* @__PURE__ */ t.jsx(Dr, { className: "icon-dim-20" }),
|
15880
15880
|
inputIconPosition: "after",
|
15881
15881
|
displayFormat: mt.DD_MMM_YYYY,
|
15882
15882
|
"data-testid": m,
|
@@ -15891,7 +15891,7 @@ const IN = (e) => {
|
|
15891
15891
|
inputId: Is.TIME,
|
15892
15892
|
placeholder: YN.DEFAULT_TIME,
|
15893
15893
|
options: ha,
|
15894
|
-
icon: /* @__PURE__ */ t.jsx(
|
15894
|
+
icon: /* @__PURE__ */ t.jsx(_o, { className: "icon-dim-20 fcn-6" }),
|
15895
15895
|
isSearchable: !1,
|
15896
15896
|
hideSelectedOptions: !0,
|
15897
15897
|
isDisabled: a,
|
@@ -16320,7 +16320,7 @@ const ey = {
|
|
16320
16320
|
}
|
16321
16321
|
) });
|
16322
16322
|
}, ib = ({ imageProps: e, fallbackImageClassName: s }) => /* @__PURE__ */ t.jsx(
|
16323
|
-
|
16323
|
+
Do,
|
16324
16324
|
{
|
16325
16325
|
fallbackImage: /* @__PURE__ */ t.jsx(Fm, { className: `dc__no-shrink ${s}` }),
|
16326
16326
|
imageProps: {
|
@@ -16856,7 +16856,7 @@ const ey = {
|
|
16856
16856
|
className: `key-value-table__cell bg__primary flexbox dc__align-items-center dc__gap-4 dc__position-rel ${c || k.data[D].disabled ? "cursor-not-allowed no-hover" : ""} ${d && !F(k.data[D].value, D, k.id) ? "key-value-table__cell--error no-hover" : ""}`,
|
16857
16857
|
children: s?.[D] && k.data[D].value ? /* @__PURE__ */ t.jsx("div", { className: "py-8 px-12 h-36 flex", children: Ec }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
16858
16858
|
/* @__PURE__ */ t.jsx(
|
16859
|
-
|
16859
|
+
Fo,
|
16860
16860
|
{
|
16861
16861
|
...k.data[D],
|
16862
16862
|
className: `key-value-table__cell-input placeholder-cn5 py-8 px-12 cn-9 fs-13 lh-20 dc__no-border-radius ${c || k.data[D].disabled ? "cursor-not-allowed" : ""}`,
|
@@ -17114,7 +17114,7 @@ const ey = {
|
|
17114
17114
|
),
|
17115
17115
|
w(),
|
17116
17116
|
_ && /* @__PURE__ */ t.jsxs("div", { className: "flex left top dc__gap-4 fs-11 lh-16 cn-7 pt-4", children: [
|
17117
|
-
/* @__PURE__ */ t.jsx(
|
17117
|
+
/* @__PURE__ */ t.jsx(uo, { className: "icon-dim-16" }),
|
17118
17118
|
/* @__PURE__ */ t.jsx("div", { children: _ })
|
17119
17119
|
] })
|
17120
17120
|
] });
|
@@ -17194,7 +17194,7 @@ const ey = {
|
|
17194
17194
|
}, y = async (b) => {
|
17195
17195
|
b.key === "Enter" && (b.preventDefault(), await C());
|
17196
17196
|
}, I = (b, A) => /* @__PURE__ */ t.jsx(
|
17197
|
-
|
17197
|
+
Do,
|
17198
17198
|
{
|
17199
17199
|
imageProps: {
|
17200
17200
|
alt: l,
|
@@ -17456,7 +17456,7 @@ function wb({ isCreateApp: e }) {
|
|
17456
17456
|
}
|
17457
17457
|
);
|
17458
17458
|
}
|
17459
|
-
const
|
17459
|
+
const Fo = ({
|
17460
17460
|
value: e,
|
17461
17461
|
minHeight: s,
|
17462
17462
|
maxHeight: n,
|
@@ -17517,10 +17517,10 @@ const Vo = ({
|
|
17517
17517
|
};
|
17518
17518
|
class cr {
|
17519
17519
|
constructor() {
|
17520
|
-
de(this, "propagateTagKey", (s) =>
|
17520
|
+
de(this, "propagateTagKey", (s) => Io(s));
|
17521
17521
|
de(this, "propagateTagValue", (s, n) => {
|
17522
17522
|
const a = [];
|
17523
|
-
return s ? n.startsWith("devtron.ai/") || a.push(...
|
17523
|
+
return s ? n.startsWith("devtron.ai/") || a.push(...zr(s)) : a.push("Value is required"), { isValid: a.length === 0, messages: a };
|
17524
17524
|
});
|
17525
17525
|
}
|
17526
17526
|
}
|
@@ -17604,7 +17604,7 @@ const El = ({
|
|
17604
17604
|
}, I = f === `tag-${o}-${e}` ? y() : null;
|
17605
17605
|
return /* @__PURE__ */ t.jsxs(st, { autoClose: !0, autoPosition: !0, children: [
|
17606
17606
|
/* @__PURE__ */ t.jsx(st.Button, { rootClassName: "bg__secondary flex top dc__no-border-imp", children: /* @__PURE__ */ t.jsx(
|
17607
|
-
|
17607
|
+
Fo,
|
17608
17608
|
{
|
17609
17609
|
minHeight: 30,
|
17610
17610
|
maxHeight: 80,
|
@@ -17757,7 +17757,7 @@ const Pb = (e) => {
|
|
17757
17757
|
}, Ub = (e, s) => (n) => {
|
17758
17758
|
if (e) {
|
17759
17759
|
const { props: a, type: r } = e(s);
|
17760
|
-
return
|
17760
|
+
return io(r, a, n);
|
17761
17761
|
}
|
17762
17762
|
return null;
|
17763
17763
|
}, Bb = ({
|
@@ -17900,7 +17900,7 @@ const Pb = (e) => {
|
|
17900
17900
|
);
|
17901
17901
|
default:
|
17902
17902
|
return /* @__PURE__ */ t.jsx(
|
17903
|
-
|
17903
|
+
Fo,
|
17904
17904
|
{
|
17905
17905
|
...S.data[R].props,
|
17906
17906
|
id: `data-table-${S.id}-${R}-cell`,
|
@@ -18192,7 +18192,7 @@ const Pb = (e) => {
|
|
18192
18192
|
/* @__PURE__ */ t.jsx("audio", { hidden: !0, ref: n, src: zm })
|
18193
18193
|
] });
|
18194
18194
|
}, Hb = () => /* @__PURE__ */ t.jsx(
|
18195
|
-
|
18195
|
+
Go,
|
18196
18196
|
{
|
18197
18197
|
classname: "warn",
|
18198
18198
|
message: /* @__PURE__ */ t.jsxs("p", { className: "m-0 cn-9 fs-13 lh-20", children: [
|
@@ -18262,11 +18262,11 @@ const Pb = (e) => {
|
|
18262
18262
|
}
|
18263
18263
|
];
|
18264
18264
|
return e ? n : [...n, ...a, ...s ? r : []];
|
18265
|
-
},
|
18265
|
+
}, Ir = (e, s) => {
|
18266
18266
|
let n = e || Ec;
|
18267
18267
|
if (s)
|
18268
18268
|
try {
|
18269
|
-
n =
|
18269
|
+
n = qr(e);
|
18270
18270
|
} catch {
|
18271
18271
|
}
|
18272
18272
|
return Object.keys(n).map((a, r) => ({
|
@@ -18278,7 +18278,7 @@ const Pb = (e) => {
|
|
18278
18278
|
configMapSecretData: e,
|
18279
18279
|
cmSecretStateLabel: s,
|
18280
18280
|
isSecret: n
|
18281
|
-
}) => e.mergeStrategy ===
|
18281
|
+
}) => e.mergeStrategy === Ro.PATCH ? e.patchData ? Ir(e.patchData, n && e.externalType === "") : On : e.data ? Ir(e.data, n && e.externalType === "") : s === sr.INHERITED && e.defaultData ? Ir(e.defaultData, n && e.externalType === "") : On, zb = ({
|
18282
18282
|
data: e,
|
18283
18283
|
esoSubPath: s,
|
18284
18284
|
external: n,
|
@@ -18296,7 +18296,7 @@ const Pb = (e) => {
|
|
18296
18296
|
secretDataYaml: r ?? "",
|
18297
18297
|
esoSecretYaml: i ? ut(o) : ""
|
18298
18298
|
};
|
18299
|
-
},
|
18299
|
+
}, Vo = ({
|
18300
18300
|
isJob: e,
|
18301
18301
|
configMapSecretData: s,
|
18302
18302
|
cmSecretStateLabel: n,
|
@@ -18340,7 +18340,7 @@ const Pb = (e) => {
|
|
18340
18340
|
yaml: null
|
18341
18341
|
};
|
18342
18342
|
if (s) {
|
18343
|
-
const T = e || c ?
|
18343
|
+
const T = e || c ? Ro.REPLACE : o, v = s.mergeStrategy || (n === sr.INHERITED ? T : null), C = Wb({
|
18344
18344
|
configMapSecretData: { ...s, mergeStrategy: v },
|
18345
18345
|
cmSecretStateLabel: n,
|
18346
18346
|
isSecret: i
|
@@ -18396,7 +18396,7 @@ const Pb = (e) => {
|
|
18396
18396
|
yaml: _,
|
18397
18397
|
currentData: E,
|
18398
18398
|
isSecret: h
|
18399
|
-
} =
|
18399
|
+
} = Vo({
|
18400
18400
|
isJob: a,
|
18401
18401
|
configMapSecretData: e,
|
18402
18402
|
cmSecretStateLabel: s,
|
@@ -18691,8 +18691,8 @@ const Pb = (e) => {
|
|
18691
18691
|
volumeMountPath: {
|
18692
18692
|
required: !0,
|
18693
18693
|
custom: {
|
18694
|
-
isValid: (f) =>
|
18695
|
-
message:
|
18694
|
+
isValid: (f) => Ii(f).isValid,
|
18695
|
+
message: Ii(o).message
|
18696
18696
|
}
|
18697
18697
|
},
|
18698
18698
|
...r ? {
|
@@ -18868,7 +18868,7 @@ const Pb = (e) => {
|
|
18868
18868
|
"."
|
18869
18869
|
] }) })
|
18870
18870
|
] });
|
18871
|
-
}, bl =
|
18871
|
+
}, bl = lo(rC), oC = ({
|
18872
18872
|
handleDeActivation: e,
|
18873
18873
|
loading: s,
|
18874
18874
|
variables: n,
|
@@ -18970,7 +18970,7 @@ const Pb = (e) => {
|
|
18970
18970
|
_(),
|
18971
18971
|
h()
|
18972
18972
|
] });
|
18973
|
-
}, iC =
|
18973
|
+
}, iC = lo(oC), yr = (e, s) => e && s ? `"${e}":${s},` : "", lC = ({
|
18974
18974
|
appId: e,
|
18975
18975
|
envId: s,
|
18976
18976
|
clusterId: n
|
@@ -18978,7 +18978,7 @@ const Pb = (e) => {
|
|
18978
18978
|
if (!e)
|
18979
18979
|
return "";
|
18980
18980
|
let a = `?appId=${e}&scope={`;
|
18981
|
-
return a +=
|
18981
|
+
return a += yr("appId", e), a += yr("envId", s), a += yr("clusterId", n), a.endsWith(",") && (a = a.slice(0, -1)), a += "}", a;
|
18982
18982
|
}, cC = async (e, s, n, a = !0) => {
|
18983
18983
|
const { result: r } = await ie(
|
18984
18984
|
`${H.SCOPED_GLOBAL_VARIABLES}${lC({
|
@@ -19000,7 +19000,7 @@ const Pb = (e) => {
|
|
19000
19000
|
const [l, c] = j(!1), [d, u] = j({ x: 0, y: 0 }), [m, p] = j({ x: 0, y: 0 }), [f, g, x, _] = wt(
|
19001
19001
|
() => cC(s, n, a, o),
|
19002
19002
|
[s, n, a]
|
19003
|
-
), E =
|
19003
|
+
), E = Ao(), h = J(null), N = ne(() => {
|
19004
19004
|
const I = h.current?.getBoundingClientRect() || {
|
19005
19005
|
x: 0,
|
19006
19006
|
y: 0
|
@@ -19117,7 +19117,7 @@ const Pb = (e) => {
|
|
19117
19117
|
)
|
19118
19118
|
}
|
19119
19119
|
);
|
19120
|
-
}, _y =
|
19120
|
+
}, _y = lo(dC), Zd = (e, s, n, a, r) => {
|
19121
19121
|
const o = e.lastIndex;
|
19122
19122
|
Promise.resolve(s[o]()).then((i) => {
|
19123
19123
|
e.results[o] = { status: ca.FULFILLED, value: i };
|
@@ -19150,7 +19150,7 @@ const Pb = (e) => {
|
|
19150
19150
|
Completed: "var(--G500)",
|
19151
19151
|
Pending: "var(--N300)",
|
19152
19152
|
Failed: "var(--R500)"
|
19153
|
-
},
|
19153
|
+
}, jr = [
|
19154
19154
|
{ label: "resource", isSortable: !0, width: "250px" },
|
19155
19155
|
{ label: "status", isSortable: !0, width: "100px" },
|
19156
19156
|
{ label: "message", isSortable: !1, width: "1fr" }
|
@@ -19221,7 +19221,7 @@ const _C = ({
|
|
19221
19221
|
disableTransition: c
|
19222
19222
|
}) => {
|
19223
19223
|
const { handleSorting: d, sortBy: u, sortOrder: m, clearFilters: p } = Uc({
|
19224
|
-
initialSortKey:
|
19224
|
+
initialSortKey: jr[1].label
|
19225
19225
|
});
|
19226
19226
|
M(
|
19227
19227
|
() => () => {
|
@@ -19233,7 +19233,7 @@ const _C = ({
|
|
19233
19233
|
d(h);
|
19234
19234
|
}, g = Ge(
|
19235
19235
|
(h, N) => {
|
19236
|
-
const T =
|
19236
|
+
const T = jr.some((C) => C.label === u), v = pC[u] ?? ((C) => C);
|
19237
19237
|
if (!T) {
|
19238
19238
|
const C = h.additionalKeys?.find((I) => I.label === u)?.value || "", y = N.additionalKeys?.find((I) => I.label === u)?.value || "";
|
19239
19239
|
return Ze(C, y, m);
|
@@ -19241,7 +19241,7 @@ const _C = ({
|
|
19241
19241
|
return (m === _e.ASC ? 1 : -1) * (v(h[Tl[u]]) < v(N[Tl[u]]) ? -1 : 1);
|
19242
19242
|
},
|
19243
19243
|
[m, u]
|
19244
|
-
), x = a.getResults(e ? null : g), _ =
|
19244
|
+
), x = a.getResults(e ? null : g), _ = jr.reduce(
|
19245
19245
|
(h, N, T) => {
|
19246
19246
|
if (h.push(N), T === 0) {
|
19247
19247
|
const v = x?.[0]?.additionalKeys;
|
@@ -19297,7 +19297,7 @@ const _C = ({
|
|
19297
19297
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 dc__overflow-hidden pt-20 flex-grow-1 bulk-operations__results-modal__content", children: [
|
19298
19298
|
/* @__PURE__ */ t.jsxs("div", { className: "bulk-operations__results-modal__bar-chart br-8 flexbox-col dc__align-start dc__align-self-stretch dc__border bg__primary ml-20 mr-20", children: [
|
19299
19299
|
/* @__PURE__ */ t.jsx(
|
19300
|
-
|
19300
|
+
Oo,
|
19301
19301
|
{
|
19302
19302
|
entities: a.getBarChartEntities(),
|
19303
19303
|
rootClassName: "p-16 fs-13 dc__border-bottom-n1",
|
@@ -19305,7 +19305,7 @@ const _C = ({
|
|
19305
19305
|
}
|
19306
19306
|
),
|
19307
19307
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 py-8 px-16 dc__align-items-center", children: [
|
19308
|
-
e ? Oa("Progressing") : /* @__PURE__ */ t.jsx(
|
19308
|
+
e ? Oa("Progressing") : /* @__PURE__ */ t.jsx(mo, { className: "dc__no-shrink icon-dim-16" }),
|
19309
19309
|
l(a.getResultsStatusCount())
|
19310
19310
|
] })
|
19311
19311
|
] }),
|
@@ -19553,7 +19553,7 @@ const _C = ({
|
|
19553
19553
|
ACTION_NOTE: "You can switch between image sources later",
|
19554
19554
|
CHANGE_CI_TEXT: "Change image source",
|
19555
19555
|
CHANGE_CI_NOTE: "Deploy to environments in the workflow from another image source"
|
19556
|
-
},
|
19556
|
+
}, Rr = {
|
19557
19557
|
DEFAULT: "Build Container Image",
|
19558
19558
|
RECIEVE: "Receive Container Image",
|
19559
19559
|
JOB: "Create job pipeline"
|
@@ -19715,7 +19715,7 @@ const _C = ({
|
|
19715
19715
|
] }),
|
19716
19716
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col p-20 dc__gap-12 dc__overflow-auto", children: [
|
19717
19717
|
/* @__PURE__ */ t.jsxs("section", { className: "flexbox-col dc__gap-8 dc__align-self-stretch", children: [
|
19718
|
-
/* @__PURE__ */ t.jsx("h3", { className: "m-0 cn-7 fs-11 fw-6 lh-16 dc__uppercase", children:
|
19718
|
+
/* @__PURE__ */ t.jsx("h3", { className: "m-0 cn-7 fs-11 fw-6 lh-16 dc__uppercase", children: Rr.DEFAULT }),
|
19719
19719
|
/* @__PURE__ */ t.jsx(
|
19720
19720
|
dn,
|
19721
19721
|
{
|
@@ -19745,7 +19745,7 @@ const _C = ({
|
|
19745
19745
|
)
|
19746
19746
|
] }),
|
19747
19747
|
/* @__PURE__ */ t.jsxs("section", { className: "flexbox-col dc__gap-8 dc__align-self-stretch", children: [
|
19748
|
-
/* @__PURE__ */ t.jsx("h3", { className: "m-0 cn-7 fs-11 fw-6 lh-16 dc__uppercase", children:
|
19748
|
+
/* @__PURE__ */ t.jsx("h3", { className: "m-0 cn-7 fs-11 fw-6 lh-16 dc__uppercase", children: Rr.RECIEVE }),
|
19749
19749
|
/* @__PURE__ */ t.jsx(
|
19750
19750
|
dn,
|
19751
19751
|
{
|
@@ -19775,7 +19775,7 @@ const _C = ({
|
|
19775
19775
|
)
|
19776
19776
|
] }),
|
19777
19777
|
window._env_.ENABLE_CI_JOB && /* @__PURE__ */ t.jsxs("section", { className: "flexbox-col dc__gap-8 dc__align-self-stretch", children: [
|
19778
|
-
/* @__PURE__ */ t.jsx("h3", { className: "m-0 cn-7 fs-11 fw-6 lh-16 dc__uppercase", children:
|
19778
|
+
/* @__PURE__ */ t.jsx("h3", { className: "m-0 cn-7 fs-11 fw-6 lh-16 dc__uppercase", children: Rr.JOB }),
|
19779
19779
|
/* @__PURE__ */ t.jsx(
|
19780
19780
|
dn,
|
19781
19781
|
{
|
@@ -19939,7 +19939,7 @@ function NC(e) {
|
|
19939
19939
|
const Qd = () => {
|
19940
19940
|
window.location.reload();
|
19941
19941
|
}, bC = () => {
|
19942
|
-
window.open(
|
19942
|
+
window.open(bo);
|
19943
19943
|
};
|
19944
19944
|
function Ga(e, s) {
|
19945
19945
|
const n = se.useRef(!0);
|
@@ -20151,14 +20151,14 @@ const Iy = (e, s) => e ? Ha(e, !0) : s ? "" : "Not deployed", We = (e, s = {}) =
|
|
20151
20151
|
return e.forEach((n) => {
|
20152
20152
|
tu(s, n);
|
20153
20153
|
}), s;
|
20154
|
-
},
|
20154
|
+
}, ao = (e, s, n) => {
|
20155
20155
|
if (e === s.length)
|
20156
20156
|
return n;
|
20157
20157
|
const a = s[e], r = Number(a);
|
20158
|
-
return !Number.isNaN(r) ? [...Array(r).fill(pc),
|
20158
|
+
return !Number.isNaN(r) ? [...Array(r).fill(pc), ao(e + 1, s, n)] : { [Ul(a)]: ao(e + 1, s, n) };
|
20159
20159
|
}, Ry = (e, s) => {
|
20160
20160
|
const n = e.split("/");
|
20161
|
-
return n.splice(0, 1),
|
20161
|
+
return n.splice(0, 1), ao(0, n, s);
|
20162
20162
|
}, su = (e, s) => {
|
20163
20163
|
const n = e.search(s);
|
20164
20164
|
if (n < 0)
|
@@ -20301,7 +20301,7 @@ const Fy = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, yC = (e, s = 300) => {
|
|
20301
20301
|
const r = Date.now();
|
20302
20302
|
r - n >= s && (n = r, e(...a));
|
20303
20303
|
};
|
20304
|
-
}, jC = (e, s, n) => e === Lt.WEBHOOK ? n === vn.PULL_REQUEST ? /* @__PURE__ */ t.jsx(
|
20304
|
+
}, jC = (e, s, n) => e === Lt.WEBHOOK ? n === vn.PULL_REQUEST ? /* @__PURE__ */ t.jsx(Eo, { className: "scn-6" }) : n === vn.TAG_CREATION ? /* @__PURE__ */ t.jsx(Wa, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(lc, {}) : e === Lt.BranchRegex || s ? /* @__PURE__ */ t.jsx(Rp, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(jp, { className: "fcn-6" }), ru = (e) => qs.sanitize(e, {
|
20305
20305
|
ADD_TAGS: ["iframe"],
|
20306
20306
|
ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
|
20307
20307
|
}), Vy = (e, s) => {
|
@@ -20347,7 +20347,7 @@ function wn({ reload: e, className: s = "", heightToDeduct: n = 0 }) {
|
|
20347
20347
|
const RC = ({ subtitle: e, title: s }) => /* @__PURE__ */ t.jsx(
|
20348
20348
|
ze,
|
20349
20349
|
{
|
20350
|
-
image:
|
20350
|
+
image: Pr,
|
20351
20351
|
title: s ?? Ve.NOT_AUTHORIZED,
|
20352
20352
|
subTitle: e ?? Ve.ONLY_FOR_SUPERADMIN
|
20353
20353
|
}
|
@@ -20371,7 +20371,7 @@ class nn extends se.Component {
|
|
20371
20371
|
document.removeEventListener("keydown", this.escFunction), this.modalRef.classList.remove("show"), this.modalRef.classList.remove("show-with-bg"), ms(!1), this.props.parentClassName && this.modalRef.classList.remove(this.props.parentClassName);
|
20372
20372
|
}
|
20373
20373
|
render() {
|
20374
|
-
return
|
20374
|
+
return No.createPortal(
|
20375
20375
|
/* @__PURE__ */ t.jsx(
|
20376
20376
|
"div",
|
20377
20377
|
{
|
@@ -20423,7 +20423,7 @@ class iu extends se.Component {
|
|
20423
20423
|
document.removeEventListener("keydown", this.escFunction), this.modalRef.classList.remove("show-with-bg"), ms(!1);
|
20424
20424
|
}
|
20425
20425
|
render() {
|
20426
|
-
return
|
20426
|
+
return No.createPortal(
|
20427
20427
|
/* @__PURE__ */ t.jsx(
|
20428
20428
|
"div",
|
20429
20429
|
{
|
@@ -20622,7 +20622,7 @@ const Dn = ({
|
|
20622
20622
|
] });
|
20623
20623
|
}, kC = ({ children: e }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: e });
|
20624
20624
|
Dn.Description = kC;
|
20625
|
-
const
|
20625
|
+
const ro = $t({ title: "", isLoading: !1, close: (e) => {
|
20626
20626
|
}, onSave: (e) => {
|
20627
20627
|
} });
|
20628
20628
|
class Jy extends Ka {
|
@@ -20640,7 +20640,7 @@ class Jy extends Ka {
|
|
20640
20640
|
}
|
20641
20641
|
render() {
|
20642
20642
|
return /* @__PURE__ */ t.jsx(
|
20643
|
-
|
20643
|
+
ro.Provider,
|
20644
20644
|
{
|
20645
20645
|
value: {
|
20646
20646
|
title: this.props.title,
|
@@ -20656,7 +20656,7 @@ class Jy extends Ka {
|
|
20656
20656
|
/* @__PURE__ */ t.jsx("img", { src: Mm, alt: "close" })
|
20657
20657
|
] })
|
20658
20658
|
] }),
|
20659
|
-
/* @__PURE__ */ t.jsx(
|
20659
|
+
/* @__PURE__ */ t.jsx(ro.Consumer, { children: (s) => /* @__PURE__ */ t.jsx(
|
20660
20660
|
"form",
|
20661
20661
|
{
|
20662
20662
|
noValidate: !0,
|
@@ -20673,7 +20673,7 @@ class Jy extends Ka {
|
|
20673
20673
|
}
|
20674
20674
|
class Zy extends Ka {
|
20675
20675
|
render() {
|
20676
|
-
return /* @__PURE__ */ t.jsx(
|
20676
|
+
return /* @__PURE__ */ t.jsx(ro.Consumer, { children: (s) => /* @__PURE__ */ t.jsx("button", { type: "submit", className: "cta dc__align-right", tabIndex: this.props.tabIndex, children: s.isLoading ? /* @__PURE__ */ t.jsx(ke, {}) : this.props.children }) });
|
20677
20677
|
}
|
20678
20678
|
}
|
20679
20679
|
function Qy({
|
@@ -20699,7 +20699,7 @@ function Qy({
|
|
20699
20699
|
}
|
20700
20700
|
) });
|
20701
20701
|
}
|
20702
|
-
const
|
20702
|
+
const Go = ({
|
20703
20703
|
message: e,
|
20704
20704
|
classname: s,
|
20705
20705
|
Icon: n,
|
@@ -21599,10 +21599,10 @@ const KC = ({ startNode: e }) => e.type === ns.WEBHOOK ? As.WEBHOOK : e.type ===
|
|
21599
21599
|
}) => {
|
21600
21600
|
if (!s)
|
21601
21601
|
return;
|
21602
|
-
const c = KC({ startNode: n }), d = l && e === Sn.RIGHT ?
|
21602
|
+
const c = KC({ startNode: n }), d = l && e === Sn.RIGHT ? Br.PARALLEL : Br.SEQUENTIAL, u = !l && e === Sn.RIGHT ? a.id : null;
|
21603
21603
|
s(r, o, c, n.id, i, u, d);
|
21604
21604
|
};
|
21605
|
-
var
|
21605
|
+
var oo = /* @__PURE__ */ ((e) => (e.PARENT_BOTTOM_CENTER = "PARENT_BOTTOM_CENTER", e.SCREEN_BOTTOM_CENTER = "SCREEN_BOTTOM_CENTER", e.SCREEN_BOTTOM_RIGHT = "SCREEN_BOTTOM_RIGHT", e))(oo || {});
|
21606
21606
|
function ij({
|
21607
21607
|
children: e,
|
21608
21608
|
zIndex: s = Bp,
|
@@ -21613,7 +21613,7 @@ function ij({
|
|
21613
21613
|
childDivProps: i = {},
|
21614
21614
|
layoutFixDelta: l = 0
|
21615
21615
|
}) {
|
21616
|
-
const c =
|
21616
|
+
const c = Ao(), d = J(null), [u, m] = j({
|
21617
21617
|
x: 0,
|
21618
21618
|
y: 0
|
21619
21619
|
}), p = (g) => {
|
@@ -21625,11 +21625,11 @@ function ij({
|
|
21625
21625
|
bottom: 0
|
21626
21626
|
}, _ = d.current?.getBoundingClientRect().height ?? 0, E = d.current?.getBoundingClientRect().width ?? 0;
|
21627
21627
|
switch (g) {
|
21628
|
-
case
|
21628
|
+
case oo.PARENT_BOTTOM_CENTER: {
|
21629
21629
|
const h = (x.width - E) / 2, N = x.top > 0 ? x.top : l, v = (x.height > c.height ? c.height - N : x.height) - _ - o;
|
21630
21630
|
return { x: h, y: v };
|
21631
21631
|
}
|
21632
|
-
case
|
21632
|
+
case oo.SCREEN_BOTTOM_RIGHT: {
|
21633
21633
|
const h = c.width - x.left - E - o, N = c.height - x.top - _ - o;
|
21634
21634
|
return { x: h, y: N };
|
21635
21635
|
}
|
@@ -21689,7 +21689,7 @@ const wl = 5, WC = [
|
|
21689
21689
|
{ value: 20, selected: !0 },
|
21690
21690
|
{ value: 40, selected: !1 },
|
21691
21691
|
{ value: 50, selected: !1 }
|
21692
|
-
],
|
21692
|
+
], Lr = ({ size: e, pageSize: s, selectedPageNo: n }) => {
|
21693
21693
|
const a = [], r = Math.ceil(e / s), o = n - 2 < 1 ? 1 : n - 2, i = n + 2 > r ? r : n + 2;
|
21694
21694
|
for (let l = 1; l <= r; l++)
|
21695
21695
|
a.push({
|
@@ -21757,14 +21757,14 @@ const wl = 5, WC = [
|
|
21757
21757
|
}) => {
|
21758
21758
|
const [c, d] = j([]);
|
21759
21759
|
M(() => {
|
21760
|
-
const _ =
|
21760
|
+
const _ = Lr({ size: e, pageSize: s, selectedPageNo: 1 });
|
21761
21761
|
d(_);
|
21762
21762
|
}, [e, s]), M(() => {
|
21763
|
-
const _ = 1 + Math.floor(n / s), E =
|
21763
|
+
const _ = 1 + Math.floor(n / s), E = Lr({ size: e, pageSize: s, selectedPageNo: _ });
|
21764
21764
|
d(E);
|
21765
21765
|
}, [n]);
|
21766
21766
|
const u = (_) => {
|
21767
|
-
const E =
|
21767
|
+
const E = Lr({ size: e, pageSize: s, selectedPageNo: _ });
|
21768
21768
|
d(E), a(_);
|
21769
21769
|
}, m = () => {
|
21770
21770
|
const E = c.find((h) => h.selected).value - 1;
|
@@ -22051,7 +22051,7 @@ const Tt = {
|
|
22051
22051
|
arrow: !1,
|
22052
22052
|
placement: "bottom",
|
22053
22053
|
content: Tt[I],
|
22054
|
-
children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(
|
22054
|
+
children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Zo, { className: "icon-dim-16 flex" }) })
|
22055
22055
|
}
|
22056
22056
|
);
|
22057
22057
|
case xt.ORDERED_LIST:
|
@@ -22081,7 +22081,7 @@ const Tt = {
|
|
22081
22081
|
return /* @__PURE__ */ t.jsx("div", { className: "cluster__body-details", children: /* @__PURE__ */ t.jsx("div", { "data-testid": "generic-description-wrapper", className: "dc__overflow-hidden", children: u ? /* @__PURE__ */ t.jsxs("div", { className: "min-w-500 bg__primary br-4 dc__border-top dc__border-left dc__border-right w-100 dc__border-bottom", children: [
|
22082
22082
|
/* @__PURE__ */ t.jsxs("div", { className: "pt-8 pb-8 pl-16 pr-16 dc__top-radius-4 flex bg__secondary dc__border-bottom h-36", children: [
|
22083
22083
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-6 dc__align-items-center", children: [
|
22084
|
-
/* @__PURE__ */ t.jsx(
|
22084
|
+
/* @__PURE__ */ t.jsx(Zo, { className: "icon-dim-16" }),
|
22085
22085
|
/* @__PURE__ */ t.jsx("div", { className: "fw-6 lh-20 cn-9 fs-13", children: i })
|
22086
22086
|
] }),
|
22087
22087
|
s && N && /* @__PURE__ */ t.jsxs("div", { className: "flex left fw-4 cn-7 ml-8 fs-12 h-20", children: [
|
@@ -22104,7 +22104,7 @@ const Tt = {
|
|
22104
22104
|
)
|
22105
22105
|
] }),
|
22106
22106
|
/* @__PURE__ */ t.jsx(
|
22107
|
-
|
22107
|
+
Jo,
|
22108
22108
|
{
|
22109
22109
|
classes: {
|
22110
22110
|
reactMde: "mark-down-editor-container dc__word-break pb-16 pt-8 mark-down-editor__no-border",
|
@@ -22120,7 +22120,7 @@ const Tt = {
|
|
22120
22120
|
)
|
22121
22121
|
] }) : /* @__PURE__ */ t.jsxs("div", { className: "min-w-500", children: [
|
22122
22122
|
/* @__PURE__ */ t.jsx(
|
22123
|
-
|
22123
|
+
Jo,
|
22124
22124
|
{
|
22125
22125
|
ref: E,
|
22126
22126
|
classes: {
|
@@ -22257,7 +22257,7 @@ export {
|
|
22257
22257
|
Pp as F,
|
22258
22258
|
ze as G,
|
22259
22259
|
Ca as H,
|
22260
|
-
|
22260
|
+
Go as I,
|
22261
22261
|
pA as J,
|
22262
22262
|
Kt as K,
|
22263
22263
|
_A as L,
|
@@ -22288,7 +22288,7 @@ export {
|
|
22288
22288
|
Tn as a7,
|
22289
22289
|
sn as a8,
|
22290
22290
|
cc as a9,
|
22291
|
-
|
22291
|
+
Ur as aA,
|
22292
22292
|
Xp as aB,
|
22293
22293
|
fc as aC,
|
22294
22294
|
Jp as aD,
|
@@ -22297,12 +22297,12 @@ export {
|
|
22297
22297
|
As as aG,
|
22298
22298
|
ns as aH,
|
22299
22299
|
Sn as aI,
|
22300
|
-
|
22300
|
+
Br as aJ,
|
22301
22301
|
_t as aK,
|
22302
|
-
|
22302
|
+
Co as aL,
|
22303
22303
|
vA as aM,
|
22304
22304
|
ie as aN,
|
22305
|
-
|
22305
|
+
To as aO,
|
22306
22306
|
hc as aP,
|
22307
22307
|
Ut as aQ,
|
22308
22308
|
Me as aR,
|
@@ -22315,16 +22315,16 @@ export {
|
|
22315
22315
|
by as aY,
|
22316
22316
|
Cy as aZ,
|
22317
22317
|
at as a_,
|
22318
|
-
|
22318
|
+
Qo as aa,
|
22319
22319
|
dc as ab,
|
22320
|
-
|
22320
|
+
kr as ac,
|
22321
22321
|
uc as ad,
|
22322
22322
|
mc as ae,
|
22323
22323
|
CA as af,
|
22324
22324
|
mt as ag,
|
22325
22325
|
TA as ah,
|
22326
|
-
|
22327
|
-
|
22326
|
+
ei as ai,
|
22327
|
+
Mr as aj,
|
22328
22328
|
Bs as ak,
|
22329
22329
|
SA as al,
|
22330
22330
|
pc as am,
|
@@ -22373,7 +22373,7 @@ export {
|
|
22373
22373
|
kb as bR,
|
22374
22374
|
cy as bS,
|
22375
22375
|
El as bT,
|
22376
|
-
|
22376
|
+
Fo as bU,
|
22377
22377
|
Db as bV,
|
22378
22378
|
It as bW,
|
22379
22379
|
Qy as bX,
|
@@ -22432,7 +22432,7 @@ export {
|
|
22432
22432
|
tj as cL,
|
22433
22433
|
Dc as cM,
|
22434
22434
|
Pf as cN,
|
22435
|
-
|
22435
|
+
Ao as cO,
|
22436
22436
|
Pc as cP,
|
22437
22437
|
Fn as cQ,
|
22438
22438
|
Mc as cR,
|
@@ -22443,7 +22443,7 @@ export {
|
|
22443
22443
|
Wn as cW,
|
22444
22444
|
ij as cX,
|
22445
22445
|
lj as cY,
|
22446
|
-
|
22446
|
+
oo as cZ,
|
22447
22447
|
cj as c_,
|
22448
22448
|
vf as ca,
|
22449
22449
|
Af as cb,
|
@@ -22459,7 +22459,7 @@ export {
|
|
22459
22459
|
ZA as cl,
|
22460
22460
|
QA as cm,
|
22461
22461
|
eI as cn,
|
22462
|
-
|
22462
|
+
gi as co,
|
22463
22463
|
Df as cp,
|
22464
22464
|
tI as cq,
|
22465
22465
|
ws as cr,
|
@@ -22475,20 +22475,20 @@ export {
|
|
22475
22475
|
q_ as d$,
|
22476
22476
|
dj as d0,
|
22477
22477
|
Us as d1,
|
22478
|
-
|
22478
|
+
Oo as d2,
|
22479
22479
|
Vt as d3,
|
22480
22480
|
Ln as d4,
|
22481
22481
|
iN as d5,
|
22482
22482
|
uj as d6,
|
22483
22483
|
nT as d7,
|
22484
22484
|
MA as d8,
|
22485
|
-
|
22485
|
+
Bo as d9,
|
22486
22486
|
os as dA,
|
22487
22487
|
yc as dB,
|
22488
22488
|
Sa as dC,
|
22489
22489
|
In as dD,
|
22490
|
-
|
22491
|
-
|
22490
|
+
Yr as dE,
|
22491
|
+
Kr as dF,
|
22492
22492
|
lt as dG,
|
22493
22493
|
jc as dH,
|
22494
22494
|
ds as dI,
|
@@ -22497,16 +22497,16 @@ export {
|
|
22497
22497
|
VA as dL,
|
22498
22498
|
hr as dM,
|
22499
22499
|
GA as dN,
|
22500
|
-
|
22500
|
+
Wr as dO,
|
22501
22501
|
HA as dP,
|
22502
22502
|
Rc as dQ,
|
22503
22503
|
H_ as dR,
|
22504
|
-
|
22504
|
+
oi as dS,
|
22505
22505
|
Wt as dT,
|
22506
22506
|
Y_ as dU,
|
22507
|
-
|
22508
|
-
|
22509
|
-
|
22507
|
+
ii as dV,
|
22508
|
+
li as dW,
|
22509
|
+
ci as dX,
|
22510
22510
|
K_ as dY,
|
22511
22511
|
W_ as dZ,
|
22512
22512
|
z_ as d_,
|
@@ -22529,7 +22529,7 @@ export {
|
|
22529
22529
|
dh as dr,
|
22530
22530
|
uh as ds,
|
22531
22531
|
mh as dt,
|
22532
|
-
|
22532
|
+
yo as du,
|
22533
22533
|
pI as dv,
|
22534
22534
|
P as dw,
|
22535
22535
|
At as dx,
|
@@ -22544,12 +22544,12 @@ export {
|
|
22544
22544
|
X_ as e4,
|
22545
22545
|
KA as e5,
|
22546
22546
|
hh as e6,
|
22547
|
-
|
22547
|
+
Li as e7,
|
22548
22548
|
ph as e8,
|
22549
22549
|
_h as e9,
|
22550
22550
|
LI as eA,
|
22551
22551
|
Rh as eB,
|
22552
|
-
|
22552
|
+
jo as eC,
|
22553
22553
|
yh as eD,
|
22554
22554
|
jh as eE,
|
22555
22555
|
jI as eF,
|
@@ -22557,7 +22557,7 @@ export {
|
|
22557
22557
|
OI as eH,
|
22558
22558
|
Ms as eI,
|
22559
22559
|
Lh as eJ,
|
22560
|
-
|
22560
|
+
Ro as eK,
|
22561
22561
|
Oh as eL,
|
22562
22562
|
wI as eM,
|
22563
22563
|
Dh as eN,
|
@@ -22613,7 +22613,7 @@ export {
|
|
22613
22613
|
lg as f8,
|
22614
22614
|
s0 as f9,
|
22615
22615
|
I0 as fA,
|
22616
|
-
|
22616
|
+
Do as fB,
|
22617
22617
|
y0 as fC,
|
22618
22618
|
jx as fD,
|
22619
22619
|
k0 as fE,
|
@@ -22630,7 +22630,7 @@ export {
|
|
22630
22630
|
Fx as fP,
|
22631
22631
|
ft as fQ,
|
22632
22632
|
jn as fR,
|
22633
|
-
|
22633
|
+
Yi as fS,
|
22634
22634
|
Hs as fT,
|
22635
22635
|
Vx as fU,
|
22636
22636
|
Gx as fV,
|
@@ -22646,12 +22646,12 @@ export {
|
|
22646
22646
|
rn as fe,
|
22647
22647
|
og as ff,
|
22648
22648
|
ig as fg,
|
22649
|
-
|
22649
|
+
Pi as fh,
|
22650
22650
|
a0 as fi,
|
22651
22651
|
dg as fj,
|
22652
22652
|
p0 as fk,
|
22653
22653
|
_0 as fl,
|
22654
|
-
|
22654
|
+
Po as fm,
|
22655
22655
|
ax as fn,
|
22656
22656
|
f0 as fo,
|
22657
22657
|
Os as fp,
|
@@ -22684,7 +22684,7 @@ export {
|
|
22684
22684
|
YN as gE,
|
22685
22685
|
Is as gF,
|
22686
22686
|
K0 as gG,
|
22687
|
-
|
22687
|
+
Zi as gH,
|
22688
22688
|
Td as gI,
|
22689
22689
|
Z0 as gJ,
|
22690
22690
|
ZN as gK,
|
@@ -22708,8 +22708,8 @@ export {
|
|
22708
22708
|
AN as gb,
|
22709
22709
|
Hx as gc,
|
22710
22710
|
Yx as gd,
|
22711
|
-
|
22712
|
-
|
22711
|
+
Ki as ge,
|
22712
|
+
Wi as gf,
|
22713
22713
|
Kx as gg,
|
22714
22714
|
Wx as gh,
|
22715
22715
|
Ed as gi,
|
@@ -22777,7 +22777,7 @@ export {
|
|
22777
22777
|
gn as hf,
|
22778
22778
|
ia as hg,
|
22779
22779
|
yd as hh,
|
22780
|
-
|
22780
|
+
nl as hi,
|
22781
22781
|
xd as hj,
|
22782
22782
|
ry as hk,
|
22783
22783
|
oy as hl,
|
@@ -22799,7 +22799,7 @@ export {
|
|
22799
22799
|
ua as i$,
|
22800
22800
|
Kb as i0,
|
22801
22801
|
qb as i1,
|
22802
|
-
|
22802
|
+
Vo as i2,
|
22803
22803
|
Jb as i3,
|
22804
22804
|
Zb as i4,
|
22805
22805
|
Xd as i5,
|
@@ -22812,11 +22812,11 @@ export {
|
|
22812
22812
|
iI as iC,
|
22813
22813
|
lI as iD,
|
22814
22814
|
cI as iE,
|
22815
|
-
|
22815
|
+
Ii as iF,
|
22816
22816
|
Uh as iG,
|
22817
22817
|
GI as iH,
|
22818
22818
|
ms as iI,
|
22819
|
-
|
22819
|
+
Oi as iJ,
|
22820
22820
|
HI as iK,
|
22821
22821
|
YI as iL,
|
22822
22822
|
Ze as iM,
|
@@ -22828,10 +22828,10 @@ export {
|
|
22828
22828
|
WI as iS,
|
22829
22829
|
zI as iT,
|
22830
22830
|
qI as iU,
|
22831
|
-
|
22831
|
+
wi as iV,
|
22832
22832
|
Gh as iW,
|
22833
|
-
|
22834
|
-
|
22833
|
+
qr as iX,
|
22834
|
+
Di as iY,
|
22835
22835
|
Yh as iZ,
|
22836
22836
|
Kh as i_,
|
22837
22837
|
On as ia,
|
@@ -22846,13 +22846,13 @@ export {
|
|
22846
22846
|
xy as ik,
|
22847
22847
|
Ey as il,
|
22848
22848
|
Xe as im,
|
22849
|
-
|
22850
|
-
|
22849
|
+
zr as io,
|
22850
|
+
Io as ip,
|
22851
22851
|
Kf as iq,
|
22852
22852
|
Wf as ir,
|
22853
22853
|
zf as is,
|
22854
22854
|
Bc as it,
|
22855
|
-
|
22855
|
+
Ai as iu,
|
22856
22856
|
qf as iv,
|
22857
22857
|
$c as iw,
|
22858
22858
|
nI as ix,
|
@@ -22867,7 +22867,7 @@ export {
|
|
22867
22867
|
JI as j4,
|
22868
22868
|
qh as j5,
|
22869
22869
|
Xh as j6,
|
22870
|
-
|
22870
|
+
Lo as j7,
|
22871
22871
|
Kc as j8,
|
22872
22872
|
yn as j9,
|
22873
22873
|
p_ as jA,
|
@@ -22888,12 +22888,12 @@ export {
|
|
22888
22888
|
__ as jP,
|
22889
22889
|
yA as jQ,
|
22890
22890
|
f_ as jR,
|
22891
|
-
|
22891
|
+
Fr as jS,
|
22892
22892
|
Ec as jT,
|
22893
22893
|
h_ as jU,
|
22894
22894
|
Nn as jV,
|
22895
22895
|
da as jW,
|
22896
|
-
|
22896
|
+
Vr as jX,
|
22897
22897
|
W as jY,
|
22898
22898
|
$e as jZ,
|
22899
22899
|
ht as j_,
|
@@ -22901,15 +22901,15 @@ export {
|
|
22901
22901
|
ar as jb,
|
22902
22902
|
s_ as jc,
|
22903
22903
|
te as jd,
|
22904
|
-
|
22904
|
+
$r as je,
|
22905
22905
|
n_ as jf,
|
22906
|
-
|
22906
|
+
So as jg,
|
22907
22907
|
ks as jh,
|
22908
22908
|
a_ as ji,
|
22909
22909
|
r_ as jj,
|
22910
22910
|
gc as jk,
|
22911
22911
|
nt as jl,
|
22912
|
-
|
22912
|
+
vo as jm,
|
22913
22913
|
o_ as jn,
|
22914
22914
|
vn as jo,
|
22915
22915
|
St as jp,
|
@@ -22926,13 +22926,13 @@ export {
|
|
22926
22926
|
Ct as k,
|
22927
22927
|
ue as k0,
|
22928
22928
|
g_ as k1,
|
22929
|
-
|
22929
|
+
Gr as k2,
|
22930
22930
|
x_ as k3,
|
22931
22931
|
E_ as k4,
|
22932
22932
|
N_ as k5,
|
22933
|
-
|
22933
|
+
si as k6,
|
22934
22934
|
b_ as k7,
|
22935
|
-
|
22935
|
+
ni as k8,
|
22936
22936
|
U as k9,
|
22937
22937
|
Jh as kA,
|
22938
22938
|
Zh as kB,
|
@@ -22945,7 +22945,7 @@ export {
|
|
22945
22945
|
t0 as kI,
|
22946
22946
|
Ee as kJ,
|
22947
22947
|
Wc as kK,
|
22948
|
-
|
22948
|
+
$o as kL,
|
22949
22949
|
TE as kM,
|
22950
22950
|
SE as kN,
|
22951
22951
|
vE as kO,
|
@@ -22968,7 +22968,7 @@ export {
|
|
22968
22968
|
v_ as kj,
|
22969
22969
|
wA as kk,
|
22970
22970
|
DA as kl,
|
22971
|
-
|
22971
|
+
ai as km,
|
22972
22972
|
A_ as kn,
|
22973
22973
|
I_ as ko,
|
22974
22974
|
PA as kp,
|
@@ -22977,7 +22977,7 @@ export {
|
|
22977
22977
|
G_ as ks,
|
22978
22978
|
ve as kt,
|
22979
22979
|
Rt as ku,
|
22980
|
-
|
22980
|
+
Hr as kv,
|
22981
22981
|
Qe as kw,
|
22982
22982
|
cs as kx,
|
22983
22983
|
sr as ky,
|
@@ -22988,7 +22988,7 @@ export {
|
|
22988
22988
|
aj as o,
|
22989
22989
|
Ps as p,
|
22990
22990
|
an as q,
|
22991
|
-
|
22991
|
+
bo as r,
|
22992
22992
|
kp as s,
|
22993
22993
|
Js as t,
|
22994
22994
|
zy as u,
|