@devtron-labs/devtron-fe-common-lib 1.6.0-patch-2 → 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.
- package/dist/{@code-editor-BBhEJtNT.js → @code-editor-DpYDAAJZ.js} +945 -945
- package/dist/{@common-rjsf-E7Bgu9Dc.js → @common-rjsf-CCiAa1v9.js} +1 -1
- package/dist/Shared/Components/Header/index.d.ts +0 -1
- package/dist/Shared/Components/Header/utils.d.ts +1 -1
- package/dist/index.js +224 -227
- package/package.json +1 -1
@@ -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`,
|
@@ -230,7 +230,7 @@ const Es = (e) => /* @__PURE__ */ t.jsx("div", { className: `dc__registry-icon d
|
|
230
230
|
CONFIG_DRIFT: "config-drift",
|
231
231
|
RESOURCE_BROWSER: "/resource-browser",
|
232
232
|
COMPARE_CLUSTERS: "/compare-clusters"
|
233
|
-
},
|
233
|
+
}, H = {
|
234
234
|
APP: "app",
|
235
235
|
APP_ARTIFACT_PROMOTE_MATERIAL: "app/artifact/promotion-request/material",
|
236
236
|
APP_TEMPLATE_DATA: "app/template/data",
|
@@ -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
|
] }) })),
|
@@ -2581,10 +2581,10 @@ const tf = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2581
2581
|
shouldHideMenu: B = !1,
|
2582
2582
|
...F
|
2583
2583
|
}) => {
|
2584
|
-
const [
|
2584
|
+
const [G, Z] = j(!1), [oe, me] = j(""), {
|
2585
2585
|
inputId: le,
|
2586
2586
|
required: K,
|
2587
|
-
isDisabled:
|
2587
|
+
isDisabled: V,
|
2588
2588
|
controlShouldRenderValue: pe = !0,
|
2589
2589
|
value: fe,
|
2590
2590
|
options: Ce,
|
@@ -2693,7 +2693,7 @@ const tf = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2693
2693
|
] }) : r
|
2694
2694
|
}
|
2695
2695
|
),
|
2696
|
-
/* @__PURE__ */ t.jsx(it, { condition:
|
2696
|
+
/* @__PURE__ */ t.jsx(it, { condition: V && !!l, wrap: Ue, children: /* @__PURE__ */ t.jsx("div", { className: "w-100", children: /* @__PURE__ */ t.jsx(
|
2697
2697
|
xp,
|
2698
2698
|
{
|
2699
2699
|
...F,
|
@@ -2736,7 +2736,7 @@ const tf = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2736
2736
|
onBlur: fu,
|
2737
2737
|
onChange: hu,
|
2738
2738
|
controlShouldRenderValue: ee,
|
2739
|
-
isFocussed:
|
2739
|
+
isFocussed: G
|
2740
2740
|
}
|
2741
2741
|
) }) })
|
2742
2742
|
] }),
|
@@ -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
|
] });
|
@@ -2829,7 +2829,7 @@ ${d.slice(T)}`;
|
|
2829
2829
|
};
|
2830
2830
|
var va = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.FROM_PREVIOUS_STEP = "FROM_PREVIOUS_STEP", e.NEW = "NEW", e))(va || {}), ff = /* @__PURE__ */ ((e) => (e.INLINE = "INLINE", e.PLUGIN_REF = "REF_PLUGIN", e))(ff || {}), hf = /* @__PURE__ */ ((e) => (e.SHELL = "SHELL", e.DOCKERFILE = "DOCKERFILE", e.CONTAINERIMAGE = "CONTAINER_IMAGE", e))(hf || {}), gf = /* @__PURE__ */ ((e) => (e.TRUE = "Yes", e.FALSE = "No", e))(gf || {}), xf = /* @__PURE__ */ ((e) => (e.SKIP = "SKIP", e.TRIGGER = "TRIGGER", e.PASS = "PASS", e.FAIL = "FAIL", e))(xf || {}), Ef = /* @__PURE__ */ ((e) => (e.PRE_CI = "PRE_CI", e.POST_CI = "POST_CI", e))(Ef || {}), Nf = /* @__PURE__ */ ((e) => (e.KB = "KB", e.MB = "MB", e))(Nf || {}), Oc = /* @__PURE__ */ ((e) => (e.STRING = "STRING", e.NUMBER = "NUMBER", e.BOOL = "BOOL", e.DATE = "DATE", e.FILE = "FILE", e))(Oc || {}), bf = /* @__PURE__ */ ((e) => (e.SELF_DOCKERFILE_BUILD_TYPE = "self-dockerfile-build", e.MANAGED_DOCKERFILE_BUILD_TYPE = "managed-dockerfile-build", e.BUILDPACK_BUILD_TYPE = "buildpack-build", e))(bf || {}), Cf = /* @__PURE__ */ ((e) => (e.INHERIT = "INHERIT", e.OVERRIDE = "OVERRIDE", e))(Cf || {}), Tf = /* @__PURE__ */ ((e) => (e.VARIABLE = "variable", e.FORMAT = "format", e.VALUE = "val", e))(Tf || {});
|
2831
2831
|
const Sf = () => {
|
2832
|
-
const e = `${
|
2832
|
+
const e = `${H.PROJECT_LIST_MIN}`;
|
2833
2833
|
return ie(e).then((s) => {
|
2834
2834
|
let n = [];
|
2835
2835
|
return s && s.result && Array.isArray(s.result) && (n = s.result), n = n.sort((a, r) => EC("name", a, r)), {
|
@@ -2844,10 +2844,10 @@ const Sf = () => {
|
|
2844
2844
|
BranchRegex: "SOURCE_TYPE_BRANCH_REGEX"
|
2845
2845
|
};
|
2846
2846
|
function vf(e) {
|
2847
|
-
return ie(`${
|
2847
|
+
return ie(`${H.USER_CHECK_ROLE}${e ? `?appName=${e}` : ""}`);
|
2848
2848
|
}
|
2849
2849
|
function Af(e, s, n) {
|
2850
|
-
return _t(`${
|
2850
|
+
return _t(`${H.IMAGE_TAGGING}/${s}/${n}`, e);
|
2851
2851
|
}
|
2852
2852
|
const wc = (e) => ({
|
2853
2853
|
...e,
|
@@ -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,17 +3034,17 @@ 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
|
3044
|
-
i = We(
|
3043
|
+
case Ur.IMAGE_PROMOTION:
|
3044
|
+
i = We(H.APP_ARTIFACT_PROMOTE_MATERIAL, r);
|
3045
3045
|
break;
|
3046
3046
|
default:
|
3047
|
-
i = We(`${
|
3047
|
+
i = We(`${H.CD_MATERIAL_GET}/${s}/material`, {
|
3048
3048
|
...o,
|
3049
3049
|
stage: Gc[n]
|
3050
3050
|
});
|
@@ -3077,25 +3077,25 @@ function $n(e, s) {
|
|
3077
3077
|
return "NA";
|
3078
3078
|
}
|
3079
3079
|
function wf() {
|
3080
|
-
return ie(`${
|
3080
|
+
return ie(`${H.DEPLOYMENT_TEMPLATE_LIST}?appId=-1&envId=-1`);
|
3081
3081
|
}
|
3082
|
-
const XA = () => ie(`${
|
3082
|
+
const XA = () => ie(`${H.NOTIFIER}/channel/config`);
|
3083
3083
|
function JA(e) {
|
3084
3084
|
return ie(
|
3085
|
-
`${
|
3085
|
+
`${H.ENVIRONMENT_LIST_MIN}?auth=false${e ? "&showDeploymentOptions=true" : ""}`
|
3086
3086
|
);
|
3087
3087
|
}
|
3088
3088
|
function ZA() {
|
3089
|
-
const e = `${
|
3089
|
+
const e = `${H.CLUSTER}/autocomplete`;
|
3090
3090
|
return ie(e);
|
3091
3091
|
}
|
3092
|
-
const QA = (e) => ie(`${
|
3092
|
+
const QA = (e) => ie(`${H.API_RESOURCE}/${H.GVK}/${e}`);
|
3093
3093
|
function eI(e) {
|
3094
|
-
const s = `${
|
3094
|
+
const s = `${H.NAMESPACE}/autocomplete?ids=${e}`;
|
3095
3095
|
return ie(s);
|
3096
3096
|
}
|
3097
|
-
function
|
3098
|
-
const s = `${
|
3097
|
+
function gi(e) {
|
3098
|
+
const s = `${H.GIT_HOST_EVENT}/${e}`;
|
3099
3099
|
return ie(s);
|
3100
3100
|
}
|
3101
3101
|
const Df = (e, s) => {
|
@@ -3109,7 +3109,7 @@ const Df = (e, s) => {
|
|
3109
3109
|
}) => {
|
3110
3110
|
try {
|
3111
3111
|
const { result: a } = await ie(
|
3112
|
-
We(
|
3112
|
+
We(H.PLUGIN_GLOBAL_VARIABLES, { appId: e }),
|
3113
3113
|
{
|
3114
3114
|
abortControllerRef: n
|
3115
3115
|
}
|
@@ -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;
|
@@ -4169,10 +4169,10 @@ const Ei = () => ({
|
|
4169
4169
|
S
|
4170
4170
|
).reduce(
|
4171
4171
|
(O, [w, B]) => {
|
4172
|
-
const F = R[w]?.defaultValue,
|
4172
|
+
const F = R[w]?.defaultValue, G = B?.active ? {} : F;
|
4173
4173
|
return O[w] = {
|
4174
4174
|
...B,
|
4175
|
-
...
|
4175
|
+
...G,
|
4176
4176
|
targetPlatform: A,
|
4177
4177
|
defaultValue: F
|
4178
4178
|
}, O;
|
@@ -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 && { [
|
4283
|
-
},
|
4281
|
+
...w.length > 0 && { [Kr.KEY]: w },
|
4282
|
+
...B.length > 0 && { [Kr.VALUE]: B }
|
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,22 +4767,22 @@ 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
|
-
const { result: e } = await ie(
|
4774
|
+
const { result: e } = await ie(H.USER_LIST_MIN);
|
4775
4775
|
if (!e)
|
4776
4776
|
return [];
|
4777
4777
|
const s = e.map(({ emailId: n }) => n).sort(Ze);
|
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
|
};
|
@@ -5042,9 +5042,9 @@ const EI = (e, s, n, a) => ({
|
|
5042
5042
|
}
|
5043
5043
|
});
|
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
|
-
const bI = (e, s) => _t(
|
5045
|
+
const bI = (e, s) => _t(H.K8S_RESOURCE_LIST, e, {
|
5046
5046
|
signal: s
|
5047
|
-
}), CI = (e) => _t(
|
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(G.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(G.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,9 +5115,9 @@ const Rh = {
|
|
5115
5115
|
try {
|
5116
5116
|
const n = {
|
5117
5117
|
...e,
|
5118
|
-
valuesAndManifestFlag:
|
5118
|
+
valuesAndManifestFlag: jo.MANIFEST
|
5119
5119
|
};
|
5120
|
-
return await _t(
|
5120
|
+
return await _t(H.APP_TEMPLATE_DATA, n, {
|
5121
5121
|
signal: s
|
5122
5122
|
});
|
5123
5123
|
} catch (n) {
|
@@ -5127,8 +5127,8 @@ const Rh = {
|
|
5127
5127
|
try {
|
5128
5128
|
const n = {
|
5129
5129
|
...e,
|
5130
|
-
valuesAndManifestFlag:
|
5131
|
-
}, { result: a } = await _t(
|
5130
|
+
valuesAndManifestFlag: jo.DEPLOYMENT_TEMPLATE
|
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);
|
5134
5134
|
return {
|
@@ -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]
|
@@ -5248,7 +5248,7 @@ const kh = (e) => {
|
|
5248
5248
|
i.append("file", e[0]);
|
5249
5249
|
try {
|
5250
5250
|
const { result: l } = await _t(
|
5251
|
-
We(`${
|
5251
|
+
We(`${H.CD_CONFIG}/${s}/${n}/${H.FILE_UPLOAD}`, {
|
5252
5252
|
allowedExtensions: a,
|
5253
5253
|
maxUploadSize: r
|
5254
5254
|
}),
|
@@ -5279,7 +5279,7 @@ const kh = (e) => {
|
|
5279
5279
|
isRollbackDeployment: c,
|
5280
5280
|
...d && i
|
5281
5281
|
};
|
5282
|
-
return r && (u.deploymentWithConfig = r === da.LAST_SAVED_CONFIG ? r : da.SPECIFIC_TRIGGER_CONFIG, r !== da.LAST_SAVED_CONFIG && (u.wfrIdForDeploymentWithSpecificTrigger = o)), _t(
|
5282
|
+
return r && (u.deploymentWithConfig = r === da.LAST_SAVED_CONFIG ? r : da.SPECIFIC_TRIGGER_CONFIG, r !== da.LAST_SAVED_CONFIG && (u.wfrIdForDeploymentWithSpecificTrigger = o)), _t(H.CD_TRIGGER_POST, u, { ...kh(), abortControllerRef: l });
|
5283
5283
|
}, UI = async ({
|
5284
5284
|
file: e,
|
5285
5285
|
appId: s,
|
@@ -5293,7 +5293,7 @@ const kh = (e) => {
|
|
5293
5293
|
l.append("file", e[0]);
|
5294
5294
|
try {
|
5295
5295
|
const { result: c } = await _t(
|
5296
|
-
We(`${
|
5296
|
+
We(`${H.CI_CONFIG_GET}/${s}/${n}/${H.FILE_UPLOAD}`, {
|
5297
5297
|
envId: a,
|
5298
5298
|
allowedExtensions: r,
|
5299
5299
|
maxUploadSize: o
|
@@ -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)
|
@@ -5693,7 +5693,7 @@ const Hh = (e, s = !1) => s ? btoa(e) : atob(e), Xr = (e, s = !1) => Object.keys
|
|
5693
5693
|
}, Jh = async (e) => {
|
5694
5694
|
try {
|
5695
5695
|
const { result: s } = await ie(
|
5696
|
-
`${
|
5696
|
+
`${H.APP}/material-info/${e.envId}/${e.ciArtifactId}`
|
5697
5697
|
);
|
5698
5698
|
return Wc(s);
|
5699
5699
|
} catch (s) {
|
@@ -5702,7 +5702,7 @@ const Hh = (e, s = !1) => s ? btoa(e) : atob(e), Xr = (e, s = !1) => Object.keys
|
|
5702
5702
|
}, Zh = async (e) => {
|
5703
5703
|
try {
|
5704
5704
|
const { result: s } = await ie(
|
5705
|
-
`${
|
5705
|
+
`${H.APP}/material-info/${e.ciArtifactId}`
|
5706
5706
|
);
|
5707
5707
|
return Wc(s);
|
5708
5708
|
} catch (s) {
|
@@ -5711,20 +5711,20 @@ const Hh = (e, s = !1) => s ? btoa(e) : atob(e), Xr = (e, s = !1) => Object.keys
|
|
5711
5711
|
}, Qh = ({
|
5712
5712
|
params: e,
|
5713
5713
|
signal: s
|
5714
|
-
}) => ie(We(
|
5714
|
+
}) => ie(We(H.CONFIG_DATA, e), { signal: s }), eg = async (e) => {
|
5715
5715
|
const s = {
|
5716
5716
|
comparisonItems: e.filter((r) => !!r).map((r, o) => ({ index: o, ...r }))
|
5717
5717
|
}, n = Array(e.length).fill(null), {
|
5718
5718
|
result: { comparisonItemResponse: a }
|
5719
5719
|
} = await ie(
|
5720
|
-
We(
|
5720
|
+
We(H.CONFIG_COMPARE_SECRET, {
|
5721
5721
|
compareConfig: JSON.stringify(s)
|
5722
5722
|
})
|
5723
5723
|
);
|
5724
5724
|
return a.forEach((r) => {
|
5725
5725
|
n[r.index] = r;
|
5726
5726
|
}), n;
|
5727
|
-
}, QI = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => We(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), e0 = ({ kind: e, version: s, queryParams: n, suffix: a }) => We(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), tg = (e) => _t(
|
5727
|
+
}, QI = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => We(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), e0 = ({ kind: e, version: s, queryParams: n, suffix: a }) => We(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), tg = (e) => _t(H.CD_CONFIG, e);
|
5728
5728
|
var Ee = /* @__PURE__ */ ((e) => (e.info = "info", e.success = "success", e.error = "error", e.warn = "warn", e.notAuthorized = "notAuthorized", e))(Ee || {});
|
5729
5729
|
const sg = {
|
5730
5730
|
autoClose: 5e3,
|
@@ -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,
|
@@ -6216,13 +6216,13 @@ const rg = "bulk-selection-pop-up-menu", br = {
|
|
6216
6216
|
installedAppId: n,
|
6217
6217
|
artifactId: a,
|
6218
6218
|
installedAppVersionHistoryId: r
|
6219
|
-
}, i = We(
|
6219
|
+
}, i = We(H.SCAN_RESULT, o);
|
6220
6220
|
return await ie(i);
|
6221
6221
|
}, gg = {
|
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
|
] });
|
@@ -8559,31 +8559,32 @@ const ux = {
|
|
8559
8559
|
)
|
8560
8560
|
] })
|
8561
8561
|
] }) });
|
8562
|
-
}, fx = (e) => _t(
|
8563
|
-
let
|
8562
|
+
}, fx = (e) => _t(H.TELEMETRY_EVENT, e);
|
8563
|
+
let $i;
|
8564
8564
|
const hx = async (e, s) => {
|
8565
|
-
const n = await ie(`${
|
8566
|
-
return
|
8567
|
-
}, gx = 864e5, hn = (e) => 1 + (/* @__PURE__ */ new Date()).valueOf() + (e ?? 0) * gx,
|
8568
|
-
|
8569
|
-
eventType: e,
|
8565
|
+
const n = await ie(`${H.SERVER_INFO_API}?showServerStatus=false`);
|
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
|
+
const n = {
|
8569
|
+
eventType: s || e.target?.dataset.posthog,
|
8570
8570
|
key: mc,
|
8571
8571
|
value: "",
|
8572
8572
|
active: !0
|
8573
|
-
}
|
8573
|
+
};
|
8574
|
+
await fx(n);
|
8574
8575
|
}, Da = (e, s) => {
|
8575
8576
|
localStorage.setItem(e, `${hn(s)}`);
|
8576
8577
|
};
|
8577
8578
|
var Pa = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Pa || {});
|
8578
|
-
const xx = (e) => _t(`${
|
8579
|
-
const n = async () => {
|
8580
|
-
Da("clickedOkay", 1), s(), await
|
8581
|
-
}, a = async () => {
|
8582
|
-
const
|
8579
|
+
const xx = (e) => _t(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), Ex = ({ className: e, hideGettingStartedCard: s }) => {
|
8580
|
+
const n = async (r) => {
|
8581
|
+
Da("clickedOkay", 1), s(), await eo(r);
|
8582
|
+
}, a = async (r) => {
|
8583
|
+
const o = {
|
8583
8584
|
key: mc,
|
8584
8585
|
value: `${uc}`
|
8585
8586
|
};
|
8586
|
-
await xx(
|
8587
|
+
await xx(o), s(o.value), await eo(r);
|
8587
8588
|
};
|
8588
8589
|
return /* @__PURE__ */ t.jsxs("div", { className: "getting_tippy__position", children: [
|
8589
8590
|
/* @__PURE__ */ t.jsx("div", { className: "arrow-up" }),
|
@@ -8598,7 +8599,8 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
8598
8599
|
text: "Okay",
|
8599
8600
|
size: U.xs,
|
8600
8601
|
dataTestId: "getting-started-okay",
|
8601
|
-
onClick: n
|
8602
|
+
onClick: n,
|
8603
|
+
"data-posthog": kr.TOOLTIP_OKAY
|
8602
8604
|
}
|
8603
8605
|
),
|
8604
8606
|
/* @__PURE__ */ t.jsx(
|
@@ -8609,6 +8611,7 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
8609
8611
|
dataTestId: "getting-started-don't-show-again",
|
8610
8612
|
onClick: a,
|
8611
8613
|
style: He.neutral,
|
8614
|
+
"data-posthog": kr.TOOLTIP_DONT_SHOW_AGAIN,
|
8612
8615
|
variant: Re.secondary
|
8613
8616
|
}
|
8614
8617
|
)
|
@@ -8619,7 +8622,7 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
8619
8622
|
{
|
8620
8623
|
name: "Open new ticket",
|
8621
8624
|
link: T_,
|
8622
|
-
icon:
|
8625
|
+
icon: fo
|
8623
8626
|
},
|
8624
8627
|
{
|
8625
8628
|
name: "View all tickets",
|
@@ -8629,14 +8632,14 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
8629
8632
|
], bx = [
|
8630
8633
|
{
|
8631
8634
|
name: "Chat with support",
|
8632
|
-
link:
|
8635
|
+
link: bo,
|
8633
8636
|
icon: Hl,
|
8634
8637
|
showSeparator: !0
|
8635
8638
|
},
|
8636
8639
|
{
|
8637
8640
|
name: "Raise an issue/request",
|
8638
8641
|
link: v_,
|
8639
|
-
icon:
|
8642
|
+
icon: fo
|
8640
8643
|
}
|
8641
8644
|
], Cx = ({
|
8642
8645
|
className: e,
|
@@ -8655,7 +8658,7 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
8655
8658
|
},
|
8656
8659
|
{
|
8657
8660
|
name: "Join discord community",
|
8658
|
-
link:
|
8661
|
+
link: bo,
|
8659
8662
|
icon: am,
|
8660
8663
|
showSeparator: l
|
8661
8664
|
},
|
@@ -8748,7 +8751,7 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
8748
8751
|
s ? null : /* @__PURE__ */ t.jsx(Je, { className: "icon-dim-20 ml-8 fcn-9", onClick: i })
|
8749
8752
|
] });
|
8750
8753
|
return r || s ? /* @__PURE__ */ t.jsx("div", { className: `announcement-banner-container ${e}`, children: /* @__PURE__ */ t.jsx(
|
8751
|
-
|
8754
|
+
Go,
|
8752
8755
|
{
|
8753
8756
|
message: l(),
|
8754
8757
|
classname: "warn fw-6 lh-20",
|
@@ -8850,9 +8853,9 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
8850
8853
|
}
|
8851
8854
|
), [O, w] = j(0), B = async () => {
|
8852
8855
|
try {
|
8853
|
-
const { result:
|
8856
|
+
const { result: V } = await hx(!0, !0);
|
8854
8857
|
R({
|
8855
|
-
serverInfo:
|
8858
|
+
serverInfo: V,
|
8856
8859
|
fetchingServerInfo: !1
|
8857
8860
|
});
|
8858
8861
|
} catch {
|
@@ -8865,12 +8868,12 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
8865
8868
|
M(() => {
|
8866
8869
|
w(+localStorage.getItem("clickedOkay"));
|
8867
8870
|
}, []);
|
8868
|
-
const F = (
|
8869
|
-
x(!1),
|
8870
|
-
},
|
8871
|
+
const F = (V) => {
|
8872
|
+
x(!1), V && f(+V);
|
8873
|
+
}, G = () => {
|
8871
8874
|
A(!b), y && I(!1), Da("clickedOkay", 1), F();
|
8872
|
-
}, Z = async () => {
|
8873
|
-
!window._env_.K8S_CLIENT && S.serverInfo?.installationType !== Pa.ENTERPRISE && await B(), I(!y), b && A(!1), Da("clickedOkay", 1), F(), await
|
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 eo(V, kr.HELP), is.event({
|
8874
8877
|
category: "Main Navigation",
|
8875
8878
|
action: "Help Clicked"
|
8876
8879
|
});
|
@@ -8890,7 +8893,7 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
8890
8893
|
"div",
|
8891
8894
|
{
|
8892
8895
|
className: "logout-card__initial cursor fs-13 icon-dim-24 flex logout-card__initial--nav",
|
8893
|
-
onClick:
|
8896
|
+
onClick: G,
|
8894
8897
|
style: { backgroundColor: zn(L) },
|
8895
8898
|
"data-testid": "profile-button",
|
8896
8899
|
children: L[0]
|
@@ -9007,8 +9010,8 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
9007
9010
|
}, c = () => {
|
9008
9011
|
n.push(Se.CHARTS_DISCOVER);
|
9009
9012
|
}, d = () => {
|
9010
|
-
const f = `${Se.APP}/${Se.APP_LIST}/${s.appType ??
|
9011
|
-
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}`);
|
9012
9015
|
}, u = () => {
|
9013
9016
|
n.push(`${Se.JOB}/${Se.APP_LIST}/${Se.CREATE_JOB}`);
|
9014
9017
|
}, m = () => r === dc.FULL ? /* @__PURE__ */ t.jsx(
|
@@ -9140,7 +9143,7 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
9140
9143
|
/* @__PURE__ */ t.jsx(st.Body, { rootClassName: `pt-4 pb-4 dc__border dc__overflow-hidden ${r}`, children: n })
|
9141
9144
|
] })
|
9142
9145
|
] });
|
9143
|
-
},
|
9146
|
+
}, to = {
|
9144
9147
|
DEFAULT_PLACEHOLDER: "Select Environment",
|
9145
9148
|
GROUP_HEADING_PREFIX: "Cluster:",
|
9146
9149
|
NO_ENVIRONMENTS_AVAILABLE: "No environments available"
|
@@ -9150,7 +9153,7 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
9150
9153
|
{}
|
9151
9154
|
);
|
9152
9155
|
return Object.entries(s).map(([n, a]) => ({
|
9153
|
-
label: `${
|
9156
|
+
label: `${to.GROUP_HEADING_PREFIX} ${n}`,
|
9154
9157
|
options: a.map((r) => ({
|
9155
9158
|
label: r.environment_name,
|
9156
9159
|
value: String(r.id)
|
@@ -9161,7 +9164,7 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
9161
9164
|
return [...n, ...r];
|
9162
9165
|
}, []) : [], yx = async () => {
|
9163
9166
|
try {
|
9164
|
-
const { result: e } = await ie(
|
9167
|
+
const { result: e } = await ie(H.ENVIRONMENT_LIST_MIN);
|
9165
9168
|
return e ? Ax(e) : [];
|
9166
9169
|
} catch (e) {
|
9167
9170
|
return Me(e), e;
|
@@ -9170,7 +9173,7 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
9170
9173
|
handleEnvironmentChange: e,
|
9171
9174
|
selectedEnvironmentsMap: s,
|
9172
9175
|
isMulti: n,
|
9173
|
-
placeholder: a =
|
9176
|
+
placeholder: a = to.DEFAULT_PLACEHOLDER,
|
9174
9177
|
processOptions: r,
|
9175
9178
|
styles: o,
|
9176
9179
|
isClearable: i,
|
@@ -9181,9 +9184,9 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
9181
9184
|
), p = ne(() => d ? r?.(d) || d : [], [d, r]), f = ne(() => {
|
9182
9185
|
const x = Ix(s, p);
|
9183
9186
|
return n ? x : x?.[0] || null;
|
9184
|
-
}, [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 });
|
9185
9188
|
return /* @__PURE__ */ t.jsx(
|
9186
|
-
|
9189
|
+
ho,
|
9187
9190
|
{
|
9188
9191
|
isMulti: n,
|
9189
9192
|
options: p,
|
@@ -9237,14 +9240,14 @@ const xx = (e) => _t(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), Ex = ({ className:
|
|
9237
9240
|
] })
|
9238
9241
|
] });
|
9239
9242
|
var ka = /* @__PURE__ */ ((e) => (e.GOT_IT = "Got it", e.VIEW_DOCUMENTATION = "View Documentation", e))(ka || {});
|
9240
|
-
const
|
9243
|
+
const Fi = (e) => {
|
9241
9244
|
switch (e) {
|
9242
9245
|
case Ls.SMALL:
|
9243
9246
|
return { width: "100%", height: "200px" };
|
9244
9247
|
default:
|
9245
9248
|
return { width: "100%", height: "250px" };
|
9246
9249
|
}
|
9247
|
-
},
|
9250
|
+
}, Vi = ({
|
9248
9251
|
renderDescriptionContent: e,
|
9249
9252
|
closeModalText: s = ka.GOT_IT,
|
9250
9253
|
docLink: n = "",
|
@@ -9258,8 +9261,8 @@ const Vi = (e) => {
|
|
9258
9261
|
{
|
9259
9262
|
style: {
|
9260
9263
|
...i,
|
9261
|
-
width: `${
|
9262
|
-
height: `${
|
9264
|
+
width: `${Fi(r).width}`,
|
9265
|
+
height: `${Fi(r).height}`
|
9263
9266
|
}
|
9264
9267
|
}
|
9265
9268
|
) }) : null, c = () => /* @__PURE__ */ t.jsxs("div", { className: "pl-20 pr-20 pb-16 dc__gap-16", children: [
|
@@ -9333,7 +9336,7 @@ const Vi = (e) => {
|
|
9333
9336
|
}
|
9334
9337
|
) }),
|
9335
9338
|
/* @__PURE__ */ t.jsx(
|
9336
|
-
|
9339
|
+
Vi,
|
9337
9340
|
{
|
9338
9341
|
SVGImage: m.SVGImage,
|
9339
9342
|
docLink: m.docLink,
|
@@ -9345,7 +9348,7 @@ const Vi = (e) => {
|
|
9345
9348
|
}
|
9346
9349
|
)
|
9347
9350
|
] }) : /* @__PURE__ */ t.jsx(
|
9348
|
-
|
9351
|
+
Vi,
|
9349
9352
|
{
|
9350
9353
|
SVGImage: i,
|
9351
9354
|
closeModal: r,
|
@@ -9547,7 +9550,7 @@ const Vi = (e) => {
|
|
9547
9550
|
...e,
|
9548
9551
|
color: "var(--N900)"
|
9549
9552
|
})
|
9550
|
-
}, P0 = (e) => /* @__PURE__ */ t.jsx(
|
9553
|
+
}, P0 = (e) => /* @__PURE__ */ t.jsx(ho, { ...e }), Tr = {
|
9551
9554
|
APPLICATION: "Application",
|
9552
9555
|
ENVIRONMENT: "Environment",
|
9553
9556
|
PIPELINE: "Pipeline"
|
@@ -9585,7 +9588,7 @@ const Vi = (e) => {
|
|
9585
9588
|
ERROR: "error"
|
9586
9589
|
}, Sr = {
|
9587
9590
|
PENDING: "Pending"
|
9588
|
-
}, 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 = "|";
|
9589
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 || {});
|
9590
9593
|
const $x = {
|
9591
9594
|
[ye.SUCCEEDED]: "cg-5",
|
@@ -9601,7 +9604,7 @@ const $x = {
|
|
9601
9604
|
[ye.QUEUED]: "queued"
|
9602
9605
|
};
|
9603
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 || {});
|
9604
|
-
const
|
9607
|
+
const Yi = {
|
9605
9608
|
missing: 1,
|
9606
9609
|
degraded: 2,
|
9607
9610
|
progressing: 3,
|
@@ -9649,7 +9652,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9649
9652
|
appReleaseTagNames: e.appReleaseTagNames,
|
9650
9653
|
tagsEditable: e.tagsEditable,
|
9651
9654
|
hideImageTaggingHardDelete: e.hideImageTaggingHardDelete
|
9652
|
-
}),
|
9655
|
+
}), Ki = (e, s, n) => {
|
9653
9656
|
const a = [];
|
9654
9657
|
return Object.keys(s).forEach((r) => {
|
9655
9658
|
const o = n.find((i) => i.id == r);
|
@@ -9670,7 +9673,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9670
9673
|
] }, o)
|
9671
9674
|
)) })
|
9672
9675
|
] });
|
9673
|
-
},
|
9676
|
+
}, Wi = (e) => {
|
9674
9677
|
switch (e) {
|
9675
9678
|
case "success":
|
9676
9679
|
return /* @__PURE__ */ t.jsx(Om, { className: "icon-dim-20 green-tick", "data-testid": "success-green-tick" });
|
@@ -9689,7 +9692,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9689
9692
|
case "time_out":
|
9690
9693
|
return /* @__PURE__ */ t.jsx(Dm, { className: "icon-dim-20" });
|
9691
9694
|
default:
|
9692
|
-
return /* @__PURE__ */ t.jsx(
|
9695
|
+
return /* @__PURE__ */ t.jsx(co, { className: "icon-dim-20 timer-icon" });
|
9693
9696
|
}
|
9694
9697
|
}, Kx = (e) => {
|
9695
9698
|
switch (e) {
|
@@ -9700,32 +9703,32 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9700
9703
|
default:
|
9701
9704
|
return /* @__PURE__ */ t.jsx(sc, { className: "dc__no-shrink icon-dim-16 ic-in-progress-orange" });
|
9702
9705
|
}
|
9703
|
-
},
|
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) => {
|
9704
9707
|
const s = e?.toUpperCase();
|
9705
9708
|
switch (s) {
|
9706
9709
|
case W.ABORTED:
|
9707
|
-
return
|
9710
|
+
return zi();
|
9708
9711
|
case W.DEGRADED:
|
9709
|
-
return
|
9712
|
+
return qi();
|
9710
9713
|
case W.INPROGRESS:
|
9711
|
-
return
|
9714
|
+
return Xi();
|
9712
9715
|
case W.HEALTHY:
|
9713
|
-
return
|
9716
|
+
return Ji();
|
9714
9717
|
}
|
9715
9718
|
const n = s?.toLocaleLowerCase();
|
9716
9719
|
switch (n) {
|
9717
9720
|
case ye.CANCELLED:
|
9718
|
-
return
|
9721
|
+
return zi();
|
9719
9722
|
case ye.FAILED:
|
9720
9723
|
case ye.ERROR:
|
9721
|
-
return
|
9724
|
+
return qi();
|
9722
9725
|
case ye.RUNNING:
|
9723
9726
|
case ye.PROGRESSING:
|
9724
9727
|
case ye.STARTING:
|
9725
9728
|
case ye.INITIATING:
|
9726
|
-
return
|
9729
|
+
return Xi();
|
9727
9730
|
case ye.SUCCEEDED:
|
9728
|
-
return
|
9731
|
+
return Ji();
|
9729
9732
|
default:
|
9730
9733
|
return /* @__PURE__ */ t.jsx(
|
9731
9734
|
"div",
|
@@ -9754,10 +9757,10 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9754
9757
|
const d = e === Lt.WEBHOOK, u = e === Lt.BranchRegex || !!o || i, [m, p] = j(""), [f, g] = j(""), [x, _] = j(!!d), E = () => {
|
9755
9758
|
if (d) {
|
9756
9759
|
const v = JSON.parse(s);
|
9757
|
-
|
9760
|
+
gi(v.eventId).then((C) => {
|
9758
9761
|
const y = C.result;
|
9759
9762
|
p(y.name), g(
|
9760
|
-
|
9763
|
+
Ki(
|
9761
9764
|
y.name,
|
9762
9765
|
v.condition,
|
9763
9766
|
y.selectors
|
@@ -9786,9 +9789,9 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9786
9789
|
if (!d)
|
9787
9790
|
return;
|
9788
9791
|
const v = JSON.parse(s), C = v.eventId, y = v.condition;
|
9789
|
-
|
9792
|
+
gi(C).then((I) => {
|
9790
9793
|
const b = I.result;
|
9791
|
-
p(b.name), g(
|
9794
|
+
p(b.name), g(Ki(b.name, y, b.selectors)), _(!1);
|
9792
9795
|
}).catch((I) => {
|
9793
9796
|
throw I;
|
9794
9797
|
});
|
@@ -9843,7 +9846,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9843
9846
|
ciMaterials: r,
|
9844
9847
|
gitTriggers: o
|
9845
9848
|
}) => /* @__PURE__ */ t.jsxs("div", { className: "build-card-popup p-16 br-4 w-400 bg__primary mxh-300 dc__overflow-auto", children: [
|
9846
|
-
/* @__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 }),
|
9847
9850
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column left", children: [
|
9848
9851
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left fs-12 cn-7", children: [
|
9849
9852
|
/* @__PURE__ */ t.jsx("div", { children: je(s).format(mt.TWELVE_HOURS_FORMAT) }),
|
@@ -9969,7 +9972,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9969
9972
|
/* @__PURE__ */ t.jsx("div", { className: "dc__first-letter-capitalize dc__no-shrink", children: ["pre", "post"].includes(d?.toLowerCase()) ? `${d}-deploy` : d }),
|
9970
9973
|
/* @__PURE__ */ t.jsx("span", { className: "dc__bullet dc__bullet--d2 ml-4 mr-4" }),
|
9971
9974
|
l && /* @__PURE__ */ t.jsxs("div", { className: "dc__app-commit__hash dc__app-commit__hash--no-bg dc__no-shrink", children: [
|
9972
|
-
/* @__PURE__ */ t.jsx(
|
9975
|
+
/* @__PURE__ */ t.jsx(go, { className: "commit-hash__icon grayscale" }),
|
9973
9976
|
l.split(":")[1].slice(-12)
|
9974
9977
|
] }),
|
9975
9978
|
/* @__PURE__ */ t.jsx("span", { className: "dc__bullet dc__bullet--d2 ml-4 mr-4" })
|
@@ -10033,7 +10036,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10033
10036
|
}
|
10034
10037
|
),
|
10035
10038
|
/* @__PURE__ */ t.jsx(
|
10036
|
-
|
10039
|
+
ho,
|
10037
10040
|
{
|
10038
10041
|
classNamePrefix: "history-pipeline-dropdown",
|
10039
10042
|
value: h,
|
@@ -10087,7 +10090,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10087
10090
|
window.removeEventListener("beforeunload", s);
|
10088
10091
|
}), [s]);
|
10089
10092
|
}, Zx = async () => {
|
10090
|
-
const { result: e } = await ie(
|
10093
|
+
const { result: e } = await ie(H.APP_LIST_MIN);
|
10091
10094
|
return e ? e.map((s) => ({
|
10092
10095
|
...s,
|
10093
10096
|
appList: s.appList.sort((n, a) => Ze(n.name, a.name))
|
@@ -10099,7 +10102,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10099
10102
|
name: n
|
10100
10103
|
})).sort((s, n) => Ze(s.name, n.name)) : [];
|
10101
10104
|
}, eE = async () => {
|
10102
|
-
const { result: e } = await ie(
|
10105
|
+
const { result: e } = await ie(H.CLUSTER_LIST_MIN);
|
10103
10106
|
return e ? e.map(({ id: s, cluster_name: n, isVirtualCluster: a, isProd: r }) => ({
|
10104
10107
|
id: s,
|
10105
10108
|
name: n,
|
@@ -10107,7 +10110,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10107
10110
|
isProd: r ?? !1
|
10108
10111
|
})).sort((s, n) => Ze(s.name, n.name)) : [];
|
10109
10112
|
}, tE = async () => {
|
10110
|
-
const { result: e } = await ie(
|
10113
|
+
const { result: e } = await ie(H.ENVIRONMENT_LIST_MIN);
|
10111
10114
|
if (!e)
|
10112
10115
|
return [];
|
10113
10116
|
const s = e.map(
|
@@ -10123,7 +10126,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10123
10126
|
name: r,
|
10124
10127
|
isVirtual: o ?? !1,
|
10125
10128
|
cluster: i,
|
10126
|
-
environmentType: l ?
|
10129
|
+
environmentType: l ? Vr.production : Vr.nonProduction,
|
10127
10130
|
namespace: c
|
10128
10131
|
})
|
10129
10132
|
).sort((a, r) => Ze(a.name, r.name));
|
@@ -10177,7 +10180,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10177
10180
|
s(!0);
|
10178
10181
|
try {
|
10179
10182
|
const c = await nE(a);
|
10180
|
-
if (c.status ===
|
10183
|
+
if (c.status === Qo.OK) {
|
10181
10184
|
r && De.showToast({
|
10182
10185
|
variant: Ee.info,
|
10183
10186
|
title: "Preparing file for download",
|
@@ -10191,7 +10194,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10191
10194
|
description: l
|
10192
10195
|
});
|
10193
10196
|
} else {
|
10194
|
-
if (c.status ===
|
10197
|
+
if (c.status === Qo.NO_CONTENT)
|
10195
10198
|
throw new Error("No content to download");
|
10196
10199
|
{
|
10197
10200
|
const d = await c?.json();
|
@@ -10331,7 +10334,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10331
10334
|
title: $e.CI_PROGRESS_VIEW.TITLE,
|
10332
10335
|
subTitle: $e.CI_PROGRESS_VIEW.SUBTITLE
|
10333
10336
|
}
|
10334
|
-
),
|
10337
|
+
), so = ({
|
10335
10338
|
type: e,
|
10336
10339
|
userApprovalMetadata: s,
|
10337
10340
|
triggeredBy: n,
|
@@ -10445,7 +10448,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10445
10448
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
10446
10449
|
/* @__PURE__ */ t.jsxs("div", { className: `flex left column dc__gap-12 dc__content-start ${f ?? ""}`, children: [
|
10447
10450
|
!!i && /* @__PURE__ */ t.jsx(
|
10448
|
-
|
10451
|
+
so,
|
10449
10452
|
{
|
10450
10453
|
type: "artifact",
|
10451
10454
|
ciPipelineId: o,
|
@@ -10470,7 +10473,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10470
10473
|
] })
|
10471
10474
|
}
|
10472
10475
|
),
|
10473
|
-
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: [
|
10474
10477
|
/* @__PURE__ */ t.jsx("div", { className: "cn-9 fs-14", children: "Reports.zip" }),
|
10475
10478
|
/* @__PURE__ */ t.jsxs(
|
10476
10479
|
"button",
|
@@ -10554,7 +10557,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10554
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`,
|
10555
10558
|
onClick: n || l,
|
10556
10559
|
children: [
|
10557
|
-
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" }),
|
10558
10561
|
c ? /* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left", children: e }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
10559
10562
|
/* @__PURE__ */ t.jsx("div", { children: "…" }),
|
10560
10563
|
/* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left text-overflow-clip", children: e.split(":").slice(-1)[0] ?? "" })
|
@@ -10562,7 +10565,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10562
10565
|
]
|
10563
10566
|
}
|
10564
10567
|
) }) });
|
10565
|
-
},
|
10568
|
+
}, Zi = ({ handleClick: e = at, commits: s }) => s?.length > 0 ? /* @__PURE__ */ t.jsx("div", { className: "flexbox", children: /* @__PURE__ */ t.jsxs(
|
10566
10569
|
"button",
|
10567
10570
|
{
|
10568
10571
|
type: "button",
|
@@ -10576,7 +10579,7 @@ const Vx = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10576
10579
|
s.length > 1 && /* @__PURE__ */ t.jsx("span", { className: "flex br-4 pl-6 pr-6 bcb-1", children: "…" })
|
10577
10580
|
]
|
10578
10581
|
}
|
10579
|
-
) }) : /* @__PURE__ */ t.jsx("span", {}),
|
10582
|
+
) }) : /* @__PURE__ */ t.jsx("span", {}), Qi = (e) => e && e === rs.FETCHING ? "?SHOW_APPLIED_FILTERS=true" : "";
|
10580
10583
|
async function oE({
|
10581
10584
|
appId: e,
|
10582
10585
|
envId: s,
|
@@ -10585,7 +10588,7 @@ async function oE({
|
|
10585
10588
|
fetchIdData: r
|
10586
10589
|
}) {
|
10587
10590
|
const o = await ie(
|
10588
|
-
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)}`
|
10589
10592
|
);
|
10590
10593
|
return {
|
10591
10594
|
...o,
|
@@ -10596,23 +10599,23 @@ async function oE({
|
|
10596
10599
|
};
|
10597
10600
|
}
|
10598
10601
|
const iE = (e) => {
|
10599
|
-
const s = `${
|
10602
|
+
const s = `${H.IMAGE_TAGGING}/${e.pipelineId}/${e.artifactId}`;
|
10600
10603
|
return ie(s);
|
10601
10604
|
}, lE = (e, s) => {
|
10602
|
-
const n = `${
|
10603
|
-
return
|
10605
|
+
const n = `${H.CI_CONFIG_GET}/${e.pipelineId}/workflow/${e.workflowId}?forceAbort=${s}`;
|
10606
|
+
return To(n);
|
10604
10607
|
}, cE = (e, s) => {
|
10605
|
-
const n = `${
|
10606
|
-
return
|
10608
|
+
const n = `${H.CD_MATERIAL_GET}/${e}/workflowRunner/${s}`;
|
10609
|
+
return To(n);
|
10607
10610
|
};
|
10608
10611
|
function dE(e, s, n, a, r, o) {
|
10609
10612
|
let i;
|
10610
|
-
return r ? i =
|
10613
|
+
return r ? i = H.HELM_DEPLOYMENT_STATUS_TIMELINE_INSTALLED_APP : i = H.DEPLOYMENT_STATUS, ie(
|
10611
10614
|
`${i}/${e}/${s}${`?showTimeline=${n}`}${a ? `&wfrId=${a}` : ""}${o ? `&installedAppVersionHistoryId=${o}` : ""}`
|
10612
10615
|
);
|
10613
10616
|
}
|
10614
10617
|
function uE(e) {
|
10615
|
-
return ie(`${
|
10618
|
+
return ie(`${H.MANUAL_SYNC}/${e.appId}/${e.envId}`);
|
10616
10619
|
}
|
10617
10620
|
const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`), $0 = (e, s, n, a, r) => ie(
|
10618
10621
|
`app/history/deployed-component/detail/${e}/${s}/${n}?historyComponent=${a.replace("-", "_").toUpperCase()}${r ? `&historyComponentName=${r}` : ""}`
|
@@ -10647,7 +10650,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10647
10650
|
let i = {};
|
10648
10651
|
n.codeEditorValue?.resolvedValue && (i = JSON.parse(n.codeEditorValue.resolvedValue));
|
10649
10652
|
const l = a || Object.keys(o).some((c) => o[c] === "*****");
|
10650
|
-
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));
|
10651
10654
|
}
|
10652
10655
|
}
|
10653
10656
|
if (e.type) {
|
@@ -10689,7 +10692,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10689
10692
|
), r.values = a, r;
|
10690
10693
|
}, F0 = (e, s, n, a) => {
|
10691
10694
|
const r = We(
|
10692
|
-
`${
|
10695
|
+
`${H.RESOURCE_HISTORY_DEPLOYMENT}/${H.CONFIG_CD_PIPELINE}/${vo.v1}`,
|
10693
10696
|
{
|
10694
10697
|
baseConfigurationId: n,
|
10695
10698
|
historyComponent: s.replace("-", "_").toUpperCase(),
|
@@ -10706,7 +10709,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10706
10709
|
showCurrentReleaseDeployments: r = !1
|
10707
10710
|
}) => {
|
10708
10711
|
const o = We(
|
10709
|
-
`${
|
10712
|
+
`${H.RESOURCE_HISTORY_DEPLOYMENT}/${nt.cdPipeline}/${vo.v1}`,
|
10710
10713
|
{
|
10711
10714
|
filterCriteria: Hx({ appId: e, envId: s, releaseId: a, showCurrentReleaseDeployments: r }),
|
10712
10715
|
offset: n.offset,
|
@@ -10714,7 +10717,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10714
10717
|
}
|
10715
10718
|
), { result: i } = await ie(o);
|
10716
10719
|
return { result: Yx(i) };
|
10717
|
-
}, V0 = (e) => ie(`${
|
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 = ({
|
10718
10721
|
stage: e,
|
10719
10722
|
isOpen: s,
|
10720
10723
|
logs: n,
|
@@ -10761,7 +10764,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10761
10764
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center", children: [
|
10762
10765
|
!!p?.length && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
10763
10766
|
/* @__PURE__ */ t.jsx(Xc, { targetPlatforms: p, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 dc__align-items-center", children: [
|
10764
|
-
/* @__PURE__ */ t.jsx(
|
10767
|
+
/* @__PURE__ */ t.jsx(po, { className: "dc__no-shrink icon-stroke__white icon-dim-12" }),
|
10765
10768
|
/* @__PURE__ */ t.jsxs("span", { className: "text__white fs-13 fw-4 lh-20", children: [
|
10766
10769
|
p.length,
|
10767
10770
|
" target platform",
|
@@ -10779,7 +10782,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10779
10782
|
n.map((_, E) => {
|
10780
10783
|
const h = Ed({ stageIndex: c, lineNumberInsideStage: E }) === m;
|
10781
10784
|
return /* @__PURE__ */ t.jsxs(
|
10782
|
-
|
10785
|
+
el,
|
10783
10786
|
{
|
10784
10787
|
children: [
|
10785
10788
|
/* @__PURE__ */ t.jsx(
|
@@ -10805,7 +10808,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10805
10808
|
`logs-${e}-${r}-${E}`
|
10806
10809
|
);
|
10807
10810
|
}),
|
10808
|
-
d && /* @__PURE__ */ t.jsxs(
|
10811
|
+
d && /* @__PURE__ */ t.jsxs(el, { children: [
|
10809
10812
|
/* @__PURE__ */ t.jsx("span", {}),
|
10810
10813
|
/* @__PURE__ */ t.jsx("div", { className: "dc__loading-dots text__white" })
|
10811
10814
|
] })
|
@@ -10860,12 +10863,12 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10860
10863
|
}
|
10861
10864
|
return M(() => (e && _(), p), [e, s]), [n, u.current, o];
|
10862
10865
|
}, NE = ({ triggerDetails: e, isBlobStorageConfigured: s, parentType: n, fullScreenView: a }) => {
|
10863
|
-
const { pipelineId: r, envId: o, appId: i } = pt(), l = n === we.CI ? `${Ca}/${
|
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(
|
10864
10867
|
e.podStatus && e.podStatus !== Sr.PENDING && l
|
10865
|
-
), [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;
|
10866
10869
|
function L({
|
10867
10870
|
log: K,
|
10868
|
-
currentIndex:
|
10871
|
+
currentIndex: V = -1,
|
10869
10872
|
targetSearchKey: pe = N,
|
10870
10873
|
searchMatchResults: fe = null,
|
10871
10874
|
searchIndex: Ce = ""
|
@@ -10873,11 +10876,11 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10873
10876
|
let k = !1;
|
10874
10877
|
try {
|
10875
10878
|
if (K = K.replace(/\[[.]*m/, ($) => `\x1B[${$}m`), pe && A) {
|
10876
|
-
const $ = K.split(
|
10879
|
+
const $ = K.split(ni), re = K.match(ni) || [], ee = new RegExp(`(${Uh(pe)})`, "ig");
|
10877
10880
|
K = $.reduce((Y, Ae, Fe) => {
|
10878
10881
|
try {
|
10879
10882
|
k = k || ee.test(Ae), Y.push(
|
10880
|
-
Ae.replace(ee, (Le) => (Ce && fe?.push(Ce), `\x1B[0m\x1B[48;2;${fe &&
|
10883
|
+
Ae.replace(ee, (Le) => (Ce && fe?.push(Ce), `\x1B[0m\x1B[48;2;${fe && V === fe.length - 1 ? "0;102;204" : "197;141;54"}m${Le}\x1B[0m${Fe > 0 ? re[Fe - 1] : ""}`))
|
10881
10884
|
);
|
10882
10885
|
} catch {
|
10883
10886
|
Y.push(Ae);
|
@@ -10893,15 +10896,15 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10893
10896
|
return { __html: K, isSearchKeyPresent: k };
|
10894
10897
|
}
|
10895
10898
|
}
|
10896
|
-
const S = (K,
|
10897
|
-
const Ce = m.length === 0, k =
|
10899
|
+
const S = (K, V, pe, fe) => {
|
10900
|
+
const Ce = m.length === 0, k = V ?? !0;
|
10898
10901
|
return fe ? pe || k : Ce ? K !== Hs.SUCCESS || pe : k;
|
10899
|
-
}, R = e.podStatus === Sr.PENDING || !!(d && d.readyState <= 1), O = (K,
|
10902
|
+
}, R = e.podStatus === Sr.PENDING || !!(d && d.readyState <= 1), O = (K, V) => {
|
10900
10903
|
const pe = m.reduce(
|
10901
10904
|
(D, $) => (D[$.stage] || (D[$.stage] = {}), D[$.stage][$.startTime] = $, D),
|
10902
10905
|
{}
|
10903
10906
|
), fe = {}, Ce = [], k = c.reduce((D, $, re) => {
|
10904
|
-
if ($.startsWith(
|
10907
|
+
if ($.startsWith(Hi))
|
10905
10908
|
try {
|
10906
10909
|
const { stage: ee, startTime: Te, endTime: Y, status: Ae, metadata: Fe } = JSON.parse(
|
10907
10910
|
$.split(Bx)[1]
|
@@ -10911,7 +10914,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10911
10914
|
Ae,
|
10912
10915
|
Gt.isOpen,
|
10913
10916
|
!!fe[ee]?.[Te],
|
10914
|
-
!!
|
10917
|
+
!!V
|
10915
10918
|
);
|
10916
10919
|
else {
|
10917
10920
|
const Dt = R ? Hs.PROGRESSING : Hs.FAILURE;
|
@@ -10925,7 +10928,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10925
10928
|
Gt.isOpen,
|
10926
10929
|
// Wont be present in case of start stage since no logs are present yet
|
10927
10930
|
!!fe[ee]?.[Te],
|
10928
|
-
!!
|
10931
|
+
!!V
|
10929
10932
|
),
|
10930
10933
|
status: Dt,
|
10931
10934
|
targetPlatforms: ar(Fe?.targetPlatforms),
|
@@ -10944,14 +10947,14 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10944
10947
|
log: $,
|
10945
10948
|
currentIndex: K,
|
10946
10949
|
searchMatchResults: Ce,
|
10947
|
-
targetSearchKey:
|
10950
|
+
targetSearchKey: V,
|
10948
10951
|
searchIndex: Te
|
10949
10952
|
});
|
10950
10953
|
ee.logs.push(Y), Ae && (ee.isOpen = S(
|
10951
10954
|
ee.status,
|
10952
10955
|
pe[ee.stage]?.[ee.startTime]?.isOpen,
|
10953
10956
|
!0,
|
10954
|
-
!!
|
10957
|
+
!!V
|
10955
10958
|
), fe[ee.stage] || (fe[ee.stage] = {}), fe[ee.stage][ee.startTime] = !0);
|
10956
10959
|
}
|
10957
10960
|
return D;
|
@@ -10962,8 +10965,8 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10962
10965
|
if (!c?.length)
|
10963
10966
|
return;
|
10964
10967
|
if (!A) {
|
10965
|
-
const
|
10966
|
-
h(
|
10968
|
+
const V = c.map((pe) => L({ log: pe }).__html);
|
10969
|
+
h(V);
|
10967
10970
|
return;
|
10968
10971
|
}
|
10969
10972
|
const K = O(x);
|
@@ -10971,8 +10974,8 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10971
10974
|
}, [c, R]);
|
10972
10975
|
const w = Ge(() => {
|
10973
10976
|
p(
|
10974
|
-
(K) => K.map((
|
10975
|
-
...
|
10977
|
+
(K) => K.map((V) => ({
|
10978
|
+
...V,
|
10976
10979
|
isOpen: !C
|
10977
10980
|
}))
|
10978
10981
|
);
|
@@ -10980,23 +10983,23 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10980
10983
|
M(() => (I({ callback: w, keys: ["E"] }), () => {
|
10981
10984
|
b(["E"]);
|
10982
10985
|
}), [w]);
|
10983
|
-
const B = (K,
|
10986
|
+
const B = (K, V = N) => {
|
10984
10987
|
if (f.length > 0 || K === "reset") {
|
10985
10988
|
let pe = 0;
|
10986
|
-
K === "next" ? pe = (x + 1) % f.length : K === "prev" && (pe = x > 0 ? x - 1 : f.length - 1), _(pe), p(O(pe,
|
10989
|
+
K === "next" ? pe = (x + 1) % f.length : K === "prev" && (pe = x > 0 ? x - 1 : f.length - 1), _(pe), p(O(pe, V));
|
10987
10990
|
}
|
10988
10991
|
}, F = () => {
|
10989
10992
|
B("next");
|
10990
|
-
},
|
10993
|
+
}, G = () => {
|
10991
10994
|
B("prev");
|
10992
10995
|
}, Z = (K) => {
|
10993
10996
|
T(K), N === K ? F() : B("reset", K);
|
10994
10997
|
}, oe = (K) => {
|
10995
|
-
const
|
10996
|
-
|
10998
|
+
const V = structuredClone(m);
|
10999
|
+
V[K].isOpen = !1, p(V);
|
10997
11000
|
}, me = (K) => {
|
10998
|
-
const
|
10999
|
-
|
11001
|
+
const V = structuredClone(m);
|
11002
|
+
V[K].isOpen = !0, p(V);
|
11000
11003
|
}, le = () => A ? /* @__PURE__ */ t.jsxs(
|
11001
11004
|
"div",
|
11002
11005
|
{
|
@@ -11040,7 +11043,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
11040
11043
|
{
|
11041
11044
|
type: "button",
|
11042
11045
|
className: `dc__unset-button-styles flex p-6 br-4 dc__bg-n0--opacity-0_2 ${v ? "" : "dc__disabled"}`,
|
11043
|
-
onClick:
|
11046
|
+
onClick: G,
|
11044
11047
|
"data-testid": "logs-previous-search-match",
|
11045
11048
|
"aria-label": "Focus the previous search result match",
|
11046
11049
|
disabled: !v,
|
@@ -11086,11 +11089,11 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
11086
11089
|
}
|
11087
11090
|
),
|
11088
11091
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col px-12 dc__gap-4", children: m.map(
|
11089
|
-
({ stage: K, isOpen:
|
11092
|
+
({ stage: K, isOpen: V, logs: pe, endTime: fe, startTime: Ce, status: k, targetPlatforms: D }, $) => /* @__PURE__ */ t.jsx(
|
11090
11093
|
hE,
|
11091
11094
|
{
|
11092
11095
|
stage: K,
|
11093
|
-
isOpen:
|
11096
|
+
isOpen: V,
|
11094
11097
|
logs: pe,
|
11095
11098
|
endTime: fe,
|
11096
11099
|
startTime: Ce,
|
@@ -11109,10 +11112,10 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
11109
11112
|
]
|
11110
11113
|
}
|
11111
11114
|
) : /* @__PURE__ */ t.jsxs("div", { className: "logs__body dark-background flex-grow-1", "data-testid": "check-logs-detail", children: [
|
11112
|
-
E.map((K,
|
11115
|
+
E.map((K, V) => (
|
11113
11116
|
// eslint-disable-next-line react/no-array-index-key
|
11114
11117
|
/* @__PURE__ */ t.jsxs("div", { className: "flex top left mb-10 lh-24", children: [
|
11115
|
-
/* @__PURE__ */ t.jsx("span", { className: "cn-4 col-2 pr-10", children:
|
11118
|
+
/* @__PURE__ */ t.jsx("span", { className: "cn-4 col-2 pr-10", children: V + 1 }),
|
11116
11119
|
/* @__PURE__ */ t.jsx(
|
11117
11120
|
"p",
|
11118
11121
|
{
|
@@ -11122,7 +11125,7 @@ const B0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
11122
11125
|
}
|
11123
11126
|
}
|
11124
11127
|
)
|
11125
|
-
] }, `logs-${
|
11128
|
+
] }, `logs-${V}`)
|
11126
11129
|
)),
|
11127
11130
|
R && /* @__PURE__ */ t.jsx("div", { className: "flex left event-source-status", children: /* @__PURE__ */ t.jsx(ke, {}) })
|
11128
11131
|
] });
|
@@ -11281,11 +11284,11 @@ let Pt = {
|
|
11281
11284
|
filterType: "",
|
11282
11285
|
searchString: ""
|
11283
11286
|
};
|
11284
|
-
const
|
11287
|
+
const tl = () => {
|
11285
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));
|
11286
11289
|
_a.next([...e]);
|
11287
11290
|
};
|
11288
|
-
function
|
11291
|
+
function $o(e, s, n) {
|
11289
11292
|
if (s.some((i) => i.childNodes))
|
11290
11293
|
return s;
|
11291
11294
|
let a = s;
|
@@ -11317,7 +11320,7 @@ function Fo(e, s, n) {
|
|
11317
11320
|
const TE = (e, s) => e?.toLowerCase() == "degraded" || s?.toLowerCase() == "degraded" ? "degraded" : e?.toLowerCase() == "progressing" || s?.toLowerCase() == "progressing" ? "progressing" : "healthy";
|
11318
11321
|
function SE(e, s) {
|
11319
11322
|
const n = e.filter((a) => a.kind.toLowerCase() == s.toLowerCase()).map((a) => a);
|
11320
|
-
return
|
11323
|
+
return $o(e, n);
|
11321
11324
|
}
|
11322
11325
|
function vE(e) {
|
11323
11326
|
const s = [...e.filter((o) => o.kind.toLowerCase() == te.Pod.toLowerCase())], n = /* @__PURE__ */ new Map();
|
@@ -11349,7 +11352,7 @@ function vE(e) {
|
|
11349
11352
|
}
|
11350
11353
|
const AE = (e, s) => {
|
11351
11354
|
const n = s.filter((o) => o.name.toLowerCase() == e.toLowerCase() && !o.parentRefs).map((o) => o);
|
11352
|
-
let a =
|
11355
|
+
let a = $o(s, n), r = [];
|
11353
11356
|
for (; a?.length > 0; )
|
11354
11357
|
r = r.concat(a.filter((o) => o.kind.toLowerCase() == te.Pod.toLowerCase())), a = a.flatMap((o) => o.childNodes ?? []);
|
11355
11358
|
return r;
|
@@ -11365,7 +11368,7 @@ const AE = (e, s) => {
|
|
11365
11368
|
getEnvDetailsObservable: () => vr.asObservable(),
|
11366
11369
|
publishAppDetails: (e, s) => {
|
11367
11370
|
const n = e.resourceTree?.nodes || [], a = e.resourceTree?.podMetadata || [];
|
11368
|
-
|
11371
|
+
$o(
|
11369
11372
|
n,
|
11370
11373
|
n.filter((r) => (r.parentRefs ?? []).length == 0).map((r) => r),
|
11371
11374
|
a
|
@@ -11433,10 +11436,10 @@ const AE = (e, s) => {
|
|
11433
11436
|
}), s;
|
11434
11437
|
},
|
11435
11438
|
updateFilterType: (e) => {
|
11436
|
-
Pt = { ...Pt, filterType: e },
|
11439
|
+
Pt = { ...Pt, filterType: e }, tl();
|
11437
11440
|
},
|
11438
11441
|
updateFilterSearch: (e) => {
|
11439
|
-
e.length && e.length < 4 || (Pt = { ...Pt, searchString: e },
|
11442
|
+
e.length && e.length < 4 || (Pt = { ...Pt, searchString: e }, tl());
|
11440
11443
|
}
|
11441
11444
|
}, IE = ({
|
11442
11445
|
filterRemoveHealth: e = !1,
|
@@ -11459,7 +11462,7 @@ const AE = (e, s) => {
|
|
11459
11462
|
T.health && E.push(T);
|
11460
11463
|
});
|
11461
11464
|
E.sort(
|
11462
|
-
(h, N) =>
|
11465
|
+
(h, N) => Yi[h.health.status?.toLowerCase()] - Yi[N.health.status?.toLowerCase()]
|
11463
11466
|
), e && (E = E.filter(
|
11464
11467
|
(h) => h.health.status?.toLowerCase() !== ue.HEALTHY
|
11465
11468
|
)), d(E);
|
@@ -11586,7 +11589,7 @@ const AE = (e, s) => {
|
|
11586
11589
|
/* @__PURE__ */ t.jsx("div", { className: "", children: n.deploymentStatusBreakdown[W.KUBECTL_APPLY].kubeList?.map((x, _) => (
|
11587
11590
|
// eslint-disable-next-line react/no-array-index-key
|
11588
11591
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left lh-20 mb-8", children: [
|
11589
|
-
|
11592
|
+
Wi(x.icon),
|
11590
11593
|
/* @__PURE__ */ t.jsx("span", { className: "ml-12", children: x.message })
|
11591
11594
|
] }, `item-${_}`)
|
11592
11595
|
)) }),
|
@@ -11645,7 +11648,7 @@ const AE = (e, s) => {
|
|
11645
11648
|
{
|
11646
11649
|
className: `deployment-status-breakdown-row pt-8 pb-8 pl-8 pr-8 bg__primary ${i ? d ? "" : "br-4" : "border-collapse"}`,
|
11647
11650
|
children: [
|
11648
|
-
|
11651
|
+
Wi(o.icon),
|
11649
11652
|
/* @__PURE__ */ t.jsxs("span", { className: "ml-12 mr-12 fs-13", children: [
|
11650
11653
|
/* @__PURE__ */ t.jsx("span", { "data-testid": "deployment-status-step-name", children: o.displayText }),
|
11651
11654
|
o.displaySubText && /* @__PURE__ */ t.jsx("span", { className: `ml-12 f-${o.icon || "waiting"}`, children: o.displaySubText })
|
@@ -11681,7 +11684,7 @@ const AE = (e, s) => {
|
|
11681
11684
|
!s && /* @__PURE__ */ t.jsx("div", { className: "vertical-connector" })
|
11682
11685
|
] });
|
11683
11686
|
};
|
11684
|
-
var
|
11687
|
+
var no = /* @__PURE__ */ ((e) => (e.ERRIMAGEPULL = "errimagepull", e.IMAGEPULLBACKOFF = "imagepullbackoff", e))(no || {});
|
11685
11688
|
const yE = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
11686
11689
|
"'",
|
11687
11690
|
e.clusterName,
|
@@ -11694,14 +11697,14 @@ const yE = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
11694
11697
|
] }), jE = ({ appDetails: e }) => {
|
11695
11698
|
const [s, n] = j(!1);
|
11696
11699
|
return M(() => {
|
11697
|
-
if (e.appType ===
|
11700
|
+
if (e.appType === $r.DEVTRON_APP && e.resourceTree?.nodes?.length)
|
11698
11701
|
for (let a = 0; a < e.resourceTree.nodes.length; a++) {
|
11699
11702
|
const r = e.resourceTree.nodes[a];
|
11700
11703
|
let o = !1;
|
11701
11704
|
if (r.info?.length) {
|
11702
11705
|
for (let i = 0; i < r.info.length; i++) {
|
11703
11706
|
const l = r.info[i];
|
11704
|
-
if (l.value && (l.value.toLowerCase() ===
|
11707
|
+
if (l.value && (l.value.toLowerCase() === no.ERRIMAGEPULL || l.value.toLowerCase() === no.IMAGEPULLBACKOFF)) {
|
11705
11708
|
o = !0;
|
11706
11709
|
break;
|
11707
11710
|
}
|
@@ -11712,7 +11715,7 @@ const yE = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
11712
11715
|
}
|
11713
11716
|
}
|
11714
11717
|
}
|
11715
|
-
}, [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: [
|
11716
11719
|
/* @__PURE__ */ t.jsxs("div", { className: "bcr-1 pl-12 pr-12 pt-8 pb-8 dc__border-bottom-r2 flex left", children: [
|
11717
11720
|
/* @__PURE__ */ t.jsx(fm, { className: "icon-dim-24 mr-8" }),
|
11718
11721
|
" ",
|
@@ -11888,7 +11891,7 @@ const LE = ({
|
|
11888
11891
|
}) => {
|
11889
11892
|
const d = hs(), { url: u } = Ft(), { appId: m, envId: p, triggerId: f } = pt(), [g, x] = j(
|
11890
11893
|
e?.toUpperCase() !== W.ABORTED
|
11891
|
-
), _ = J(i), E = _.current && l ? l() :
|
11894
|
+
), _ = J(i), E = _.current && l ? l() : wi(), [h, N] = j(E), T = () => {
|
11892
11895
|
oa && clearTimeout(oa);
|
11893
11896
|
}, v = () => {
|
11894
11897
|
dE(m, p, !0, f, n, a).then((b) => {
|
@@ -11905,7 +11908,7 @@ const LE = ({
|
|
11905
11908
|
_.current = i;
|
11906
11909
|
}, [i]);
|
11907
11910
|
const C = (b) => {
|
11908
|
-
const A = _.current && l ? l(b) :
|
11911
|
+
const A = _.current && l ? l(b) : wi(b);
|
11909
11912
|
T(), A.deploymentStatus === ue.INPROGRESS ? oa = setTimeout(() => {
|
11910
11913
|
v();
|
11911
11914
|
}, 1e4) : oa = setTimeout(() => {
|
@@ -11915,13 +11918,13 @@ const LE = ({
|
|
11915
11918
|
if (n) {
|
11916
11919
|
d.push({
|
11917
11920
|
pathname: `${Se.APP}/${Se.DEVTRON_CHARTS}/${Se.APP_DEPLOYMNENT_HISTORY}/${m}/env/${p}/${Se.DETAILS}/${Se.APP_DETAILS_K8}`,
|
11918
|
-
search:
|
11921
|
+
search: Gi
|
11919
11922
|
});
|
11920
11923
|
return;
|
11921
11924
|
}
|
11922
11925
|
d.push({
|
11923
11926
|
pathname: `${Se.APP}/${m}/${Se.APP_DETAILS}/${p}/${Se.APP_DETAILS_K8}`,
|
11924
|
-
search:
|
11927
|
+
search: Gi
|
11925
11928
|
});
|
11926
11929
|
}, I = () => !_.current && !h?.deploymentStatusBreakdown?.APP_HEALTH?.isCollapsed ? /* @__PURE__ */ t.jsx("div", { className: "h-100 flex", children: /* @__PURE__ */ t.jsx(
|
11927
11930
|
bE,
|
@@ -11974,7 +11977,7 @@ const LE = ({
|
|
11974
11977
|
children: /* @__PURE__ */ t.jsx("div", { ref: a, children: n })
|
11975
11978
|
}
|
11976
11979
|
);
|
11977
|
-
},
|
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 = ({
|
11978
11981
|
config: e,
|
11979
11982
|
tabType: s,
|
11980
11983
|
onCollapseBtnClick: n
|
@@ -11996,7 +11999,7 @@ const LE = ({
|
|
11996
11999
|
it,
|
11997
12000
|
{
|
11998
12001
|
condition: !!m.tooltipProps,
|
11999
|
-
wrap:
|
12002
|
+
wrap: sl(m.tooltipProps),
|
12000
12003
|
children: /* @__PURE__ */ t.jsx(
|
12001
12004
|
m.Icon,
|
12002
12005
|
{
|
@@ -12047,7 +12050,7 @@ const LE = ({
|
|
12047
12050
|
onClick: (f) => n(l, f),
|
12048
12051
|
children: [
|
12049
12052
|
/* @__PURE__ */ t.jsx(
|
12050
|
-
|
12053
|
+
Or,
|
12051
12054
|
{
|
12052
12055
|
className: "icon-dim-20 fcn-6 dc__no-shrink cursor rotate",
|
12053
12056
|
style: { "--rotateBy": p ? "0deg" : "-90deg" }
|
@@ -12061,7 +12064,7 @@ const LE = ({
|
|
12061
12064
|
it,
|
12062
12065
|
{
|
12063
12066
|
condition: !!d.tooltipProps,
|
12064
|
-
wrap:
|
12067
|
+
wrap: sl(d.tooltipProps),
|
12065
12068
|
children: /* @__PURE__ */ t.jsx(
|
12066
12069
|
"button",
|
12067
12070
|
{
|
@@ -12106,7 +12109,7 @@ const Id = {
|
|
12106
12109
|
added: "cg-5",
|
12107
12110
|
deleted: "cr-5",
|
12108
12111
|
noDiff: "cn-7"
|
12109
|
-
},
|
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 = ({
|
12110
12113
|
isLoading: e,
|
12111
12114
|
collapsibleNavList: s,
|
12112
12115
|
navList: n,
|
@@ -12193,7 +12196,7 @@ const Id = {
|
|
12193
12196
|
}),
|
12194
12197
|
/* @__PURE__ */ t.jsx(OE, { config: f, tabType: "navLink", onCollapseBtnClick: g }),
|
12195
12198
|
o && /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
|
12196
|
-
/* @__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" }) }),
|
12197
12200
|
/* @__PURE__ */ t.jsx("p", { className: `m-0 fs-12 lh-1-5 ${i ? "cr-5" : "cn-9"}`, children: o })
|
12198
12201
|
] })
|
12199
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: [
|
@@ -12280,7 +12283,7 @@ const Id = {
|
|
12280
12283
|
);
|
12281
12284
|
}, bs = ({ code: e, image: s, title: n, subTitle: a, imageType: r, heightToDeduct: o, redirectURL: i, reload: l }) => {
|
12282
12285
|
const { push: c } = hs(), d = () => {
|
12283
|
-
c(i || `/${
|
12286
|
+
c(i || `/${H.APP_LIST}`);
|
12284
12287
|
}, u = (x) => {
|
12285
12288
|
switch (x) {
|
12286
12289
|
case Be.NOT_FOUND:
|
@@ -12353,7 +12356,7 @@ const Id = {
|
|
12353
12356
|
code: Be.UNAUTHORIZED,
|
12354
12357
|
title: Ve.UNAUTHORIZED,
|
12355
12358
|
subTitle: n || Ve.UNAUTHORIZED_MESSAGE,
|
12356
|
-
image:
|
12359
|
+
image: Pr,
|
12357
12360
|
imageType: i,
|
12358
12361
|
heightToDeduct: r
|
12359
12362
|
}
|
@@ -12365,7 +12368,7 @@ const Id = {
|
|
12365
12368
|
code: Be.PERMISSION_DENIED,
|
12366
12369
|
title: Ve.FORBIDDEN,
|
12367
12370
|
subTitle: n || Ve.FORBIDDEN_MESSAGE,
|
12368
|
-
image:
|
12371
|
+
image: Pr,
|
12369
12372
|
imageType: i,
|
12370
12373
|
heightToDeduct: r
|
12371
12374
|
}
|
@@ -12740,7 +12743,7 @@ const Id = {
|
|
12740
12743
|
o.draftMetadata?.draftState === _n.Init ? a = !0 : o.draftMetadata?.draftState === _n.AwaitApproval && (r = !0);
|
12741
12744
|
}
|
12742
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: [
|
12743
|
-
/* @__PURE__ */ t.jsx(
|
12746
|
+
/* @__PURE__ */ t.jsx(fo, { className: "icon-dim-16 scr-5" }),
|
12744
12747
|
/* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cr-5", children: "Draft" })
|
12745
12748
|
] }) : r ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
|
12746
12749
|
/* @__PURE__ */ t.jsx(Cm, { className: "icon-dim-16 dc__no-shrink" }),
|
@@ -12921,7 +12924,7 @@ const Id = {
|
|
12921
12924
|
onClick: () => {
|
12922
12925
|
document.querySelector(`#${N.id}`)?.scrollIntoView({ block: "start" });
|
12923
12926
|
},
|
12924
|
-
Icon:
|
12927
|
+
Icon: wr
|
12925
12928
|
},
|
12926
12929
|
...C ? [
|
12927
12930
|
{
|
@@ -12931,7 +12934,7 @@ const Id = {
|
|
12931
12934
|
onClick: () => {
|
12932
12935
|
document.querySelector(`#${C.id}`)?.scrollIntoView({ block: "start" });
|
12933
12936
|
},
|
12934
|
-
Icon:
|
12937
|
+
Icon: wr
|
12935
12938
|
}
|
12936
12939
|
] : []
|
12937
12940
|
], L = [
|
@@ -13000,10 +13003,10 @@ const Id = {
|
|
13000
13003
|
}, G0 = (e) => e.reduce(
|
13001
13004
|
(s, n) => ({
|
13002
13005
|
...s,
|
13003
|
-
...n.type ===
|
13006
|
+
...n.type === Hr.DefaultVersions && n.chartType === "Deployment" ? {
|
13004
13007
|
defaultVersions: [...s.defaultVersions, n]
|
13005
13008
|
} : s.defaultVersions,
|
13006
|
-
...n.type ===
|
13009
|
+
...n.type === Hr.DeployedOnSelfEnvironment ? {
|
13007
13010
|
previousDeployments: [...s.previousDeployments, n]
|
13008
13011
|
} : s.previousDeployments
|
13009
13012
|
}),
|
@@ -13274,7 +13277,7 @@ const Id = {
|
|
13274
13277
|
to: u,
|
13275
13278
|
children: [
|
13276
13279
|
/* @__PURE__ */ t.jsxs("p", { className: "m-0 flex dc__gap-8", children: [
|
13277
|
-
/* @__PURE__ */ t.jsx(
|
13280
|
+
/* @__PURE__ */ t.jsx(wr, { className: "icon-dim-20 scn-6" }),
|
13278
13281
|
/* @__PURE__ */ t.jsx(
|
13279
13282
|
"span",
|
13280
13283
|
{
|
@@ -13307,7 +13310,7 @@ const Id = {
|
|
13307
13310
|
/* @__PURE__ */ t.jsx("span", { className: "dc__capitalize", children: e }),
|
13308
13311
|
/* @__PURE__ */ t.jsx("span", { className: "dc__bullet dc__bullet--d2" }),
|
13309
13312
|
a && /* @__PURE__ */ t.jsxs("span", { className: "dc__app-commit__hash dc__app-commit__hash--no-bg dc__no-shrink", children: [
|
13310
|
-
/* @__PURE__ */ t.jsx(
|
13313
|
+
/* @__PURE__ */ t.jsx(go, { className: "commit-hash__icon grayscale" }),
|
13311
13314
|
a.split(":")[1].slice(-12)
|
13312
13315
|
] }),
|
13313
13316
|
/* @__PURE__ */ t.jsx("span", { className: "dc__bullet dc__bullet--d2" }),
|
@@ -13370,16 +13373,16 @@ const Id = {
|
|
13370
13373
|
data: l,
|
13371
13374
|
hasMore: l.size >= $s
|
13372
13375
|
}), [b, A] = j(n);
|
13373
|
-
M(() => (N({ compareWfrId: h }), s(!0),
|
13376
|
+
M(() => (N({ compareWfrId: h }), s(!0), C(nl), () => {
|
13374
13377
|
i(!1), s(!1);
|
13375
13378
|
}), []);
|
13376
|
-
const L = async (
|
13379
|
+
const L = async (V) => {
|
13377
13380
|
I({ ...y, isLoading: !0 });
|
13378
13381
|
try {
|
13379
13382
|
const { result: pe } = await fE({
|
13380
13383
|
appId: +_,
|
13381
13384
|
envId: +E,
|
13382
|
-
pagination: { offset:
|
13385
|
+
pagination: { offset: V, size: $s }
|
13383
13386
|
}), fe = new Map((pe.cdWorkflows || []).map((k) => [k.id, k])), Ce = new Map([...y.data, ...fe]);
|
13384
13387
|
I({
|
13385
13388
|
isLoading: !1,
|
@@ -13406,8 +13409,8 @@ const Id = {
|
|
13406
13409
|
triggerHistory: y.data,
|
13407
13410
|
renderRunSource: c,
|
13408
13411
|
resourceId: d
|
13409
|
-
}), B = w.find(({ value:
|
13410
|
-
N({ compareWfrId:
|
13412
|
+
}), B = w.find(({ value: V }) => V === h), F = !!w.length, G = ({ value: V }) => {
|
13413
|
+
N({ compareWfrId: V });
|
13411
13414
|
}, Z = {
|
13412
13415
|
primaryConfig: F ? [
|
13413
13416
|
{
|
@@ -13421,7 +13424,7 @@ const Id = {
|
|
13421
13424
|
options: w,
|
13422
13425
|
placeholder: "Select Deployment",
|
13423
13426
|
value: Zs(w, h, null),
|
13424
|
-
onChange:
|
13427
|
+
onChange: G,
|
13425
13428
|
showSelectedOptionIcon: !1,
|
13426
13429
|
menuSize: U.large,
|
13427
13430
|
renderOptionsFooter: R
|
@@ -13442,7 +13445,7 @@ const Id = {
|
|
13442
13445
|
}
|
13443
13446
|
]
|
13444
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 = {
|
13445
|
-
handleSorting: () => C(v !== _e.DESC ?
|
13448
|
+
handleSorting: () => C(v !== _e.DESC ? nl : ""),
|
13446
13449
|
sortBy: T,
|
13447
13450
|
sortOrder: v
|
13448
13451
|
}, K = {
|
@@ -13481,7 +13484,7 @@ const Id = {
|
|
13481
13484
|
), _ = !!x, E = Pc({
|
13482
13485
|
parseSearchParams: eN(x)
|
13483
13486
|
}), { compareWfrId: h, sortBy: N, sortOrder: T } = E, [v, C] = j(!1), [y, I, , b] = wt(async () => {
|
13484
|
-
const
|
13487
|
+
const G = [
|
13485
13488
|
{
|
13486
13489
|
appName: e,
|
13487
13490
|
envName: s,
|
@@ -13497,15 +13500,15 @@ const Id = {
|
|
13497
13500
|
wfrId: h
|
13498
13501
|
} : null
|
13499
13502
|
], [Z, ...oe] = await Promise.allSettled([
|
13500
|
-
p ? null : eg([...
|
13501
|
-
...
|
13503
|
+
p ? null : eg([...G]),
|
13504
|
+
...G.map((me) => me && Qh({ params: me }))
|
13502
13505
|
]);
|
13503
13506
|
return Z.status !== "fulfilled" || !Z.value || Z.value.forEach((me, le) => {
|
13504
13507
|
oe[le].status !== "fulfilled" || !oe[le].value || oe[le].value.result.isAppAdmin || (oe[le].value.result.secretsData = me.secretsData);
|
13505
13508
|
}), oe;
|
13506
|
-
}, [g, h]), A = (
|
13509
|
+
}, [g, h]), A = (G, Z) => `${vs(c, { ...d })}/${G}${Z ? `/${Z}` : ""}${m}`, L = ne(() => {
|
13507
13510
|
if (!y && I) {
|
13508
|
-
const
|
13511
|
+
const G = _ && I[1].status === "fulfilled" ? I[1].value.result : {
|
13509
13512
|
configMapData: null,
|
13510
13513
|
deploymentTemplate: null,
|
13511
13514
|
secretsData: null,
|
@@ -13513,7 +13516,7 @@ const Id = {
|
|
13513
13516
|
}, Z = I[0].status === "fulfilled" ? I[0].value.result : null;
|
13514
13517
|
return HE({
|
13515
13518
|
currentList: Z,
|
13516
|
-
compareList:
|
13519
|
+
compareList: G,
|
13517
13520
|
getNavItemHref: A,
|
13518
13521
|
convertVariables: v,
|
13519
13522
|
sortingConfig: { sortBy: N, sortOrder: T }
|
@@ -13569,18 +13572,18 @@ const Id = {
|
|
13569
13572
|
/* @__PURE__ */ t.jsx("h3", { className: "fs-13 lh-20 fw-6 cn-9 m-0", children: w ? "Configurations used for this deployment trigger" : "Showing configuration change with respect to previous deployment" }),
|
13570
13573
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 dc__mxw-800", children: [
|
13571
13574
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__gap-12", children: Object.keys(R).map(
|
13572
|
-
(
|
13573
|
-
R[
|
13574
|
-
|
13575
|
+
(G) => qE(
|
13576
|
+
R[G],
|
13577
|
+
G !== "UNGROUPED" ? G : null,
|
13575
13578
|
u,
|
13576
13579
|
w
|
13577
13580
|
)
|
13578
13581
|
) }),
|
13579
13582
|
O && /* @__PURE__ */ t.jsx(
|
13580
|
-
|
13583
|
+
Go,
|
13581
13584
|
{
|
13582
13585
|
classname: "error_bar cn-9 fs-13 lh-20",
|
13583
|
-
Icon:
|
13586
|
+
Icon: xo,
|
13584
13587
|
message: "Diff unavailable: Configurations for previous deployment not found."
|
13585
13588
|
}
|
13586
13589
|
)
|
@@ -13610,7 +13613,7 @@ const Id = {
|
|
13610
13613
|
return m && m.classList.add("show"), l && m.classList.add("no-back-drop"), i || document.body.addEventListener("wheel", u, { passive: !1 }), () => {
|
13611
13614
|
i || document.body.removeEventListener("wheel", u), document.removeEventListener("click", d), m && m.classList.remove("show"), l && m.classList.remove("no-back-drop");
|
13612
13615
|
};
|
13613
|
-
}, []),
|
13616
|
+
}, []), No.createPortal(
|
13614
13617
|
/* @__PURE__ */ t.jsx(
|
13615
13618
|
"div",
|
13616
13619
|
{
|
@@ -13672,7 +13675,7 @@ const st = ({
|
|
13672
13675
|
left: w,
|
13673
13676
|
right: B,
|
13674
13677
|
top: F,
|
13675
|
-
bottom:
|
13678
|
+
bottom: G
|
13676
13679
|
} = u.current.getBoundingClientRect();
|
13677
13680
|
I + b > C.height && (i({ left: L, bottom: document.documentElement.clientHeight - S }), c(1)), y + A > C.width && (i((Z) => ({ ...Z, right: "20px", left: "unset" })), c(1));
|
13678
13681
|
}
|
@@ -14081,7 +14084,7 @@ const dN = 100, Vt = se.memo(
|
|
14081
14084
|
}) => {
|
14082
14085
|
const { appTheme: b } = _d();
|
14083
14086
|
T && (e = Rl(e), a = Rl(a));
|
14084
|
-
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(
|
14085
14088
|
O,
|
14086
14089
|
cN({
|
14087
14090
|
mode: s,
|
@@ -14093,10 +14096,10 @@ const dN = 100, Vt = se.memo(
|
|
14093
14096
|
tabSize: o,
|
14094
14097
|
appTheme: b
|
14095
14098
|
})
|
14096
|
-
), [, F,
|
14099
|
+
), [, F, G, Z] = jl(w.code, o, w.mode, !w.noParsing), [, oe, me] = jl(w.defaultCode, o, w.mode, !w.noParsing), [le, K] = j(
|
14097
14100
|
y ? dN : l
|
14098
|
-
),
|
14099
|
-
|
14101
|
+
), V = J(u);
|
14102
|
+
V.current = u, fr.defineTheme(Ln.vsDarkDT, {
|
14100
14103
|
base: "vs-dark",
|
14101
14104
|
inherit: !0,
|
14102
14105
|
rules: [
|
@@ -14130,7 +14133,7 @@ const dN = 100, Vt = se.memo(
|
|
14130
14133
|
const pe = (Y) => {
|
14131
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(() => {
|
14132
14135
|
K(Y.getContentHeight());
|
14133
|
-
}), K(Y.getContentHeight())), A.current = Y, L.current =
|
14136
|
+
}), K(Y.getContentHeight())), A.current = Y, L.current = Xo;
|
14134
14137
|
}, fe = (Y, Ae) => {
|
14135
14138
|
const Fe = Y.getOriginalEditor(), Le = Y.getModifiedEditor();
|
14136
14139
|
y && (Fe.onDidContentSizeChange(() => {
|
@@ -14154,7 +14157,7 @@ const dN = 100, Vt = se.memo(
|
|
14154
14157
|
M(() => {
|
14155
14158
|
if (!E)
|
14156
14159
|
return;
|
14157
|
-
const Y = Au(
|
14160
|
+
const Y = Au(Xo, {
|
14158
14161
|
enableSchemaRequest: !0,
|
14159
14162
|
isKubernetes: N,
|
14160
14163
|
schemas: [
|
@@ -14175,7 +14178,7 @@ const dN = 100, Vt = se.memo(
|
|
14175
14178
|
A.current && A.current.layout();
|
14176
14179
|
}, [S, R]);
|
14177
14180
|
const k = (Y, Ae) => {
|
14178
|
-
B({ type: "setCode", value: Y }), B({ type: "setDefaultCode", value: Ae }),
|
14181
|
+
B({ type: "setCode", value: Y }), B({ type: "setDefaultCode", value: Ae }), V.current?.(Y, Ae);
|
14179
14182
|
};
|
14180
14183
|
Ga(() => {
|
14181
14184
|
if (n) {
|
@@ -14194,7 +14197,7 @@ const dN = 100, Vt = se.memo(
|
|
14194
14197
|
D(Y, A.current?.getOriginalEditor?.().getValue?.() ?? "");
|
14195
14198
|
};
|
14196
14199
|
function re(Y) {
|
14197
|
-
B({ type: "changeLanguage", value: Y }), k(Y === "json" ? F :
|
14200
|
+
B({ type: "changeLanguage", value: Y }), k(Y === "json" ? F : G, Y === "json" ? oe : me);
|
14198
14201
|
}
|
14199
14202
|
const ee = {
|
14200
14203
|
selectOnLineNumbers: !0,
|
@@ -14502,7 +14505,7 @@ const TN = ({
|
|
14502
14505
|
index: i,
|
14503
14506
|
isExcluded: l = !1
|
14504
14507
|
}) => {
|
14505
|
-
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(
|
14506
14509
|
"a",
|
14507
14510
|
{
|
14508
14511
|
href: Df(r, y),
|
@@ -14517,7 +14520,7 @@ const TN = ({
|
|
14517
14520
|
const I = Kc(e, n);
|
14518
14521
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex column dc__gap-4 w-100", children: [
|
14519
14522
|
y ? /* @__PURE__ */ t.jsxs("div", { className: "flex left lh-20 dc__gap-8 w-100", children: [
|
14520
|
-
/* @__PURE__ */ t.jsx(
|
14523
|
+
/* @__PURE__ */ t.jsx(Eo, { className: "icon-dim-16" }),
|
14521
14524
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4", children: [
|
14522
14525
|
"Merge commit into ",
|
14523
14526
|
p(u.data["target branch name"]),
|
@@ -14526,12 +14529,12 @@ const TN = ({
|
|
14526
14529
|
] })
|
14527
14530
|
] }) : null,
|
14528
14531
|
u.data.author ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 w-100", children: [
|
14529
|
-
/* @__PURE__ */ t.jsx(
|
14532
|
+
/* @__PURE__ */ t.jsx(zo, { className: "icon-dim-16" }),
|
14530
14533
|
" ",
|
14531
14534
|
u.data.author
|
14532
14535
|
] }) : null,
|
14533
14536
|
I ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 w-100", children: [
|
14534
|
-
/* @__PURE__ */ t.jsx(
|
14537
|
+
/* @__PURE__ */ t.jsx(Dr, { className: "icon-dim-16" }),
|
14535
14538
|
/* @__PURE__ */ t.jsx("time", { className: "cn-7 fs-12", children: I })
|
14536
14539
|
] }) : null,
|
14537
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: [
|
@@ -14560,7 +14563,7 @@ const TN = ({
|
|
14560
14563
|
}
|
14561
14564
|
)
|
14562
14565
|
}
|
14563
|
-
) : /* @__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) => {
|
14564
14567
|
const I = y?.split("/").pop();
|
14565
14568
|
return /* @__PURE__ */ t.jsxs("div", { className: "w-100 flex left dc__gap-4", children: [
|
14566
14569
|
/* @__PURE__ */ t.jsxs(
|
@@ -14583,7 +14586,7 @@ const TN = ({
|
|
14583
14586
|
}, h = (y) => /* @__PURE__ */ t.jsxs("div", { className: "commit-hash px-6 dc__w-fit-content dc__gap-4 fs-13", children: [
|
14584
14587
|
/* @__PURE__ */ t.jsx(Wa, { className: "icon-dim-14 scb-5" }),
|
14585
14588
|
y
|
14586
|
-
] }), 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: [
|
14587
14590
|
/* @__PURE__ */ t.jsxs("div", { className: "flex dc__content-space w-100", children: [
|
14588
14591
|
E(u.data["git url"]),
|
14589
14592
|
N()
|
@@ -14658,14 +14661,14 @@ const TN = ({
|
|
14658
14661
|
) : null,
|
14659
14662
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
|
14660
14663
|
c.author ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8", children: [
|
14661
|
-
/* @__PURE__ */ t.jsx(
|
14664
|
+
/* @__PURE__ */ t.jsx(zo, { className: "icon-dim-16" }),
|
14662
14665
|
/* @__PURE__ */ t.jsxs("span", { className: "lh-20", children: [
|
14663
14666
|
" ",
|
14664
14667
|
c.author
|
14665
14668
|
] })
|
14666
14669
|
] }) : null,
|
14667
14670
|
c.date ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8", children: [
|
14668
|
-
/* @__PURE__ */ t.jsx(
|
14671
|
+
/* @__PURE__ */ t.jsx(Dr, { className: "icon-dim-16" }),
|
14669
14672
|
/* @__PURE__ */ t.jsx("span", { className: "lh-20", children: je(c.date).format(mt.TWELVE_HOURS_FORMAT) })
|
14670
14673
|
] }) : null
|
14671
14674
|
] })
|
@@ -14783,7 +14786,7 @@ const TN = ({
|
|
14783
14786
|
) : null;
|
14784
14787
|
}),
|
14785
14788
|
n && /* @__PURE__ */ t.jsx("div", { className: "history-component__artifact flex left column", children: /* @__PURE__ */ t.jsx(
|
14786
|
-
|
14789
|
+
so,
|
14787
14790
|
{
|
14788
14791
|
type: "deployed-artifact",
|
14789
14792
|
userApprovalMetadata: a,
|
@@ -14838,8 +14841,8 @@ const IN = (e) => {
|
|
14838
14841
|
const { registerShortcut: n, unregisterShortcut: a } = Fn();
|
14839
14842
|
return M(() => (n({ keys: ["Escape"], callback: s }), () => {
|
14840
14843
|
a(["Escape"]);
|
14841
|
-
}), [s]), M(() => (ms(!0),
|
14842
|
-
ms(!1),
|
14844
|
+
}), [s]), M(() => (ms(!0), Oi({ identifier: ai, preventFocus: !0 }), () => {
|
14845
|
+
ms(!1), Oi({ identifier: ai, preventFocus: !1 });
|
14843
14846
|
}), []), tp(
|
14844
14847
|
/* @__PURE__ */ t.jsx(
|
14845
14848
|
ba.div,
|
@@ -15122,7 +15125,7 @@ const IN = (e) => {
|
|
15122
15125
|
const _ = r[x.id];
|
15123
15126
|
return _ ? /* @__PURE__ */ t.jsxs(se.Fragment, { children: [
|
15124
15127
|
x.type !== "WEBHOOK" && _.Commit && /* @__PURE__ */ t.jsx(
|
15125
|
-
|
15128
|
+
Zi,
|
15126
15129
|
{
|
15127
15130
|
commits: [_.Commit],
|
15128
15131
|
handleClick: zh(
|
@@ -15131,7 +15134,7 @@ const IN = (e) => {
|
|
15131
15134
|
}
|
15132
15135
|
),
|
15133
15136
|
x.type === "WEBHOOK" && _.WebhookData && _.WebhookData.Data && _.WebhookData.Data["target checkout"] && /* @__PURE__ */ t.jsx(
|
15134
|
-
|
15137
|
+
Zi,
|
15135
15138
|
{
|
15136
15139
|
commits: _.WebhookData.EventActionType === "merged" ? _.WebhookData.Data["target checkout"].substr(0, 7) : _.WebhookData.Data["target checkout"]
|
15137
15140
|
}
|
@@ -15161,8 +15164,8 @@ const IN = (e) => {
|
|
15161
15164
|
cx: "10",
|
15162
15165
|
cy: "10",
|
15163
15166
|
r: "5",
|
15164
|
-
fill:
|
15165
|
-
stroke:
|
15167
|
+
fill: Gr[e],
|
15168
|
+
stroke: Gr[e],
|
15166
15169
|
strokeOpacity: "0.3",
|
15167
15170
|
strokeWidth: "10"
|
15168
15171
|
}
|
@@ -15399,13 +15402,13 @@ const IN = (e) => {
|
|
15399
15402
|
// TODO: Ask if fetchIdData is required here as dependency
|
15400
15403
|
[b, I, A],
|
15401
15404
|
!!b && !!L
|
15402
|
-
), F = ar(S?.targetPlatforms),
|
15405
|
+
), F = ar(S?.targetPlatforms), G = (V, pe, fe) => {
|
15403
15406
|
if (fe) {
|
15404
15407
|
p?.result?.cdWorkflows?.length && n(au(p.result.cdWorkflows, "id")), u(rs.SUSPEND);
|
15405
15408
|
return;
|
15406
15409
|
}
|
15407
|
-
if (
|
15408
|
-
const Ce = s.get(
|
15410
|
+
if (V === pe?.id) {
|
15411
|
+
const Ce = s.get(V)?.appliedFilters ?? [], k = s.get(V)?.appliedFiltersTimestamp, D = s.get(V)?.promotionApprovalMetadata, $ = s.get(V)?.runSource, re = s.get(V)?.targetConfig, ee = s.get(V)?.userApprovalMetadata, Te = {
|
15409
15412
|
...Ce.length ? { appliedFilters: Ce } : {},
|
15410
15413
|
...k ? { appliedFiltersTimestamp: k } : {},
|
15411
15414
|
...D ? { promotionApprovalMetadata: D } : {},
|
@@ -15413,7 +15416,7 @@ const IN = (e) => {
|
|
15413
15416
|
...re ? { targetConfig: re } : {},
|
15414
15417
|
...ee ? { userApprovalMetadata: ee } : {}
|
15415
15418
|
};
|
15416
|
-
n((Y) => (Y.set(
|
15419
|
+
n((Y) => (Y.set(V, { ...pe, ...Te }), new Map(Y))), d === rs.FETCHING && u(rs.SUCCESS);
|
15417
15420
|
}
|
15418
15421
|
};
|
15419
15422
|
let Z = !!d && d !== rs.SUSPEND;
|
@@ -15429,21 +15432,21 @@ const IN = (e) => {
|
|
15429
15432
|
M(() => {
|
15430
15433
|
if (R)
|
15431
15434
|
return;
|
15432
|
-
let
|
15435
|
+
let V = {
|
15433
15436
|
...O?.result,
|
15434
15437
|
imageComment: S?.imageComment,
|
15435
15438
|
imageReleaseTags: S?.imageReleaseTags
|
15436
15439
|
};
|
15437
|
-
Z && (
|
15440
|
+
Z && (V = null), G(+b, V, w);
|
15438
15441
|
}, [R, O, w]), M(() => {
|
15439
15442
|
if (oe || !O || !Z)
|
15440
15443
|
return;
|
15441
|
-
const
|
15444
|
+
const V = {
|
15442
15445
|
...O?.result,
|
15443
15446
|
imageReleaseTags: me?.result?.imageReleaseTags,
|
15444
15447
|
imageComment: me?.result?.imageComment
|
15445
15448
|
};
|
15446
|
-
|
15449
|
+
G(+b, V, le);
|
15447
15450
|
}, [oe, me, le]);
|
15448
15451
|
const K = ne(() => !S || Vx.has(S.podStatus?.toLowerCase() || S.status?.toLowerCase()) ? null : Gx.has(S.status?.toLowerCase() || S.podStatus?.toLowerCase()) ? 1e4 : 3e4, [S]);
|
15449
15452
|
return nu(B, K), !Z && R && !S || !b || Z && (oe || R) && !S ? /* @__PURE__ */ t.jsx(ke, { pageLoader: !0 }) : w?.code === 404 ? /* @__PURE__ */ t.jsx(
|
@@ -15560,7 +15563,7 @@ const IN = (e) => {
|
|
15560
15563
|
S.id
|
15561
15564
|
)
|
15562
15565
|
] });
|
15563
|
-
},
|
15566
|
+
}, Ar = {
|
15564
15567
|
background: "var(--B100)",
|
15565
15568
|
color: "var(--B500)",
|
15566
15569
|
hover: {
|
@@ -15578,11 +15581,11 @@ const IN = (e) => {
|
|
15578
15581
|
background: "var(--B100)",
|
15579
15582
|
color: "var(--B500)"
|
15580
15583
|
}, Gd = {
|
15581
|
-
selectedStartStyles:
|
15582
|
-
selectedEndStyles:
|
15584
|
+
selectedStartStyles: Ar,
|
15585
|
+
selectedEndStyles: Ar,
|
15583
15586
|
hoveredSpanStyles: VN,
|
15584
15587
|
selectedSpanStyles: FN,
|
15585
|
-
selectedStyles:
|
15588
|
+
selectedStyles: Ar,
|
15586
15589
|
border: "none"
|
15587
15590
|
}, GN = {
|
15588
15591
|
"Day 1": "1",
|
@@ -15825,7 +15828,7 @@ const IN = (e) => {
|
|
15825
15828
|
isDisabled: e,
|
15826
15829
|
...n,
|
15827
15830
|
value: r,
|
15828
|
-
icon: /* @__PURE__ */ t.jsx(
|
15831
|
+
icon: /* @__PURE__ */ t.jsx(_o, { className: "icon-dim-20 fcn-6" }),
|
15829
15832
|
onChange: s,
|
15830
15833
|
"data-testid": Is.TIME,
|
15831
15834
|
size: U.large,
|
@@ -15873,7 +15876,7 @@ const IN = (e) => {
|
|
15873
15876
|
withFullScreenPortal: !1,
|
15874
15877
|
orientation: "horizontal",
|
15875
15878
|
readOnly: c || !1,
|
15876
|
-
customInputIcon: /* @__PURE__ */ t.jsx(
|
15879
|
+
customInputIcon: /* @__PURE__ */ t.jsx(Dr, { className: "icon-dim-20" }),
|
15877
15880
|
inputIconPosition: "after",
|
15878
15881
|
displayFormat: mt.DD_MMM_YYYY,
|
15879
15882
|
"data-testid": m,
|
@@ -15888,7 +15891,7 @@ const IN = (e) => {
|
|
15888
15891
|
inputId: Is.TIME,
|
15889
15892
|
placeholder: YN.DEFAULT_TIME,
|
15890
15893
|
options: ha,
|
15891
|
-
icon: /* @__PURE__ */ t.jsx(
|
15894
|
+
icon: /* @__PURE__ */ t.jsx(_o, { className: "icon-dim-20 fcn-6" }),
|
15892
15895
|
isSearchable: !1,
|
15893
15896
|
hideSelectedOptions: !0,
|
15894
15897
|
isDisabled: a,
|
@@ -16225,7 +16228,7 @@ const ey = {
|
|
16225
16228
|
pluginIds: n,
|
16226
16229
|
parentPluginIdentifiers: o
|
16227
16230
|
}, { result: l } = await _t(
|
16228
|
-
|
16231
|
+
H.PLUGIN_GLOBAL_LIST_DETAIL_V2,
|
16229
16232
|
i,
|
16230
16233
|
{ signal: a }
|
16231
16234
|
);
|
@@ -16249,7 +16252,7 @@ const ey = {
|
|
16249
16252
|
appId: n,
|
16250
16253
|
size: 20,
|
16251
16254
|
tag: s
|
16252
|
-
}, { result: i } = await ie(We(
|
16255
|
+
}, { result: i } = await ie(We(H.PLUGIN_GLOBAL_LIST_V2, o), {
|
16253
16256
|
signal: r
|
16254
16257
|
}), l = Yd(i?.parentPlugins);
|
16255
16258
|
return {
|
@@ -16264,7 +16267,7 @@ const ey = {
|
|
16264
16267
|
try {
|
16265
16268
|
const s = {
|
16266
16269
|
appId: e
|
16267
|
-
}, { result: n } = await ie(We(
|
16270
|
+
}, { result: n } = await ie(We(H.PLUGIN_GLOBAL_LIST_TAGS, s));
|
16268
16271
|
if (!n?.tagNames)
|
16269
16272
|
return [];
|
16270
16273
|
const a = new Set(n.tagNames);
|
@@ -16273,7 +16276,7 @@ const ey = {
|
|
16273
16276
|
throw Me(s), s;
|
16274
16277
|
}
|
16275
16278
|
}, sy = async (e) => {
|
16276
|
-
const s = await ie(We(
|
16279
|
+
const s = await ie(We(H.PLUGIN_LIST_MIN, e));
|
16277
16280
|
return {
|
16278
16281
|
...s,
|
16279
16282
|
result: (s?.result ?? []).sort((n, a) => Ze(n.name, a.name))
|
@@ -16317,7 +16320,7 @@ const ey = {
|
|
16317
16320
|
}
|
16318
16321
|
) });
|
16319
16322
|
}, ib = ({ imageProps: e, fallbackImageClassName: s }) => /* @__PURE__ */ t.jsx(
|
16320
|
-
|
16323
|
+
Do,
|
16321
16324
|
{
|
16322
16325
|
fallbackImage: /* @__PURE__ */ t.jsx(Fm, { className: `dc__no-shrink ${s}` }),
|
16323
16326
|
imageProps: {
|
@@ -16512,14 +16515,14 @@ const ey = {
|
|
16512
16515
|
// In case of persistFilters with change of searchKey or selectedTags we anyways clear the pluginList so no need to add dependency
|
16513
16516
|
[L, _, S],
|
16514
16517
|
l ? !E.length : !0
|
16515
|
-
), [
|
16518
|
+
), [G, Z, oe, me] = wt(
|
16516
16519
|
() => rb(_ ? +_ : null),
|
16517
16520
|
[],
|
16518
16521
|
!e?.length
|
16519
16522
|
);
|
16520
16523
|
M(() => {
|
16521
|
-
!
|
16522
|
-
}, [
|
16524
|
+
!G && !oe && Z && s(Z);
|
16525
|
+
}, [G, Z, oe]);
|
16523
16526
|
const le = (D, $ = !1) => {
|
16524
16527
|
const {
|
16525
16528
|
pluginStore: { parentPluginStore: re, pluginVersionStore: ee },
|
@@ -16542,7 +16545,7 @@ const ey = {
|
|
16542
16545
|
}, [O, w, B]);
|
16543
16546
|
const K = () => {
|
16544
16547
|
l && I([]);
|
16545
|
-
},
|
16548
|
+
}, V = () => {
|
16546
16549
|
A({
|
16547
16550
|
searchKey: "",
|
16548
16551
|
selectedTags: []
|
@@ -16585,7 +16588,7 @@ const ey = {
|
|
16585
16588
|
availableTags: e,
|
16586
16589
|
handleUpdateSelectedTags: fe,
|
16587
16590
|
selectedTags: S,
|
16588
|
-
isLoading:
|
16591
|
+
isLoading: G,
|
16589
16592
|
tagsError: oe,
|
16590
16593
|
reloadTags: me
|
16591
16594
|
}
|
@@ -16598,7 +16601,7 @@ const ey = {
|
|
16598
16601
|
selectedTags: S
|
16599
16602
|
},
|
16600
16603
|
onRemoveFilter: Ce,
|
16601
|
-
clearFilters:
|
16604
|
+
clearFilters: V,
|
16602
16605
|
className: "w-100 pt-0-imp",
|
16603
16606
|
clearButtonClassName: "dc__no-background-imp dc__no-border-imp dc__tab-focus",
|
16604
16607
|
shouldHideLabel: !0
|
@@ -16625,7 +16628,7 @@ const ey = {
|
|
16625
16628
|
handlePluginSelection: k,
|
16626
16629
|
selectedPluginsMap: i,
|
16627
16630
|
isSelectable: o,
|
16628
|
-
handleClearFilters:
|
16631
|
+
handleClearFilters: V,
|
16629
16632
|
showCardBorder: x,
|
16630
16633
|
getPluginStoreRef: y
|
16631
16634
|
}
|
@@ -16683,7 +16686,7 @@ const ey = {
|
|
16683
16686
|
return !1;
|
16684
16687
|
}
|
16685
16688
|
return u ? u(k, D, $) : !0;
|
16686
|
-
},
|
16689
|
+
}, G = (k) => {
|
16687
16690
|
if (f) {
|
16688
16691
|
const { isAnyKeyDuplicated: $ } = k.reduce(
|
16689
16692
|
(re, ee) => {
|
@@ -16718,7 +16721,7 @@ const ey = {
|
|
16718
16721
|
};
|
16719
16722
|
}, oe = () => {
|
16720
16723
|
const k = Z(), D = [k, ...N], { id: $ } = k;
|
16721
|
-
p?.(!
|
16724
|
+
p?.(!G(D)), C(!0), T(D), O.current = {
|
16722
16725
|
...O.current || {},
|
16723
16726
|
[$]: ts()
|
16724
16727
|
}, w.current = {
|
@@ -16747,14 +16750,14 @@ const ey = {
|
|
16747
16750
|
const D = N.filter(({ id: $ }) => $ !== k.id);
|
16748
16751
|
if (D.length === 0 && !l) {
|
16749
16752
|
const $ = Z(), { id: re } = $;
|
16750
|
-
C(!0), p?.(!
|
16753
|
+
C(!0), p?.(!G([$])), T([$]), O.current = {
|
16751
16754
|
[re]: ts()
|
16752
16755
|
}, w.current = {
|
16753
16756
|
[re]: ts()
|
16754
16757
|
}, o?.(k.id);
|
16755
16758
|
return;
|
16756
16759
|
}
|
16757
|
-
p?.(!
|
16760
|
+
p?.(!G(D)), T(D), delete O.current[k.id], delete w.current[k.id], o?.(k.id);
|
16758
16761
|
}, K = (k, D) => ($) => {
|
16759
16762
|
const { value: re } = $.target, ee = {
|
16760
16763
|
...k,
|
@@ -16766,10 +16769,10 @@ const ey = {
|
|
16766
16769
|
}
|
16767
16770
|
}
|
16768
16771
|
}, Te = N.map((Y) => Y.id === k.id ? ee : Y);
|
16769
|
-
p?.(!
|
16770
|
-
},
|
16772
|
+
p?.(!G(Te)), T(Te);
|
16773
|
+
}, V = (k, D) => ($) => {
|
16771
16774
|
const { value: re } = $.target;
|
16772
|
-
r?.(k.id, D, re), p?.(!
|
16775
|
+
r?.(k.id, D, re), p?.(!G(N));
|
16773
16776
|
}, pe = (k, D, $) => /* @__PURE__ */ t.jsxs(
|
16774
16777
|
"div",
|
16775
16778
|
{
|
@@ -16853,7 +16856,7 @@ const ey = {
|
|
16853
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" : ""}`,
|
16854
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: [
|
16855
16858
|
/* @__PURE__ */ t.jsx(
|
16856
|
-
|
16859
|
+
Fo,
|
16857
16860
|
{
|
16858
16861
|
...k.data[D],
|
16859
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" : ""}`,
|
@@ -16862,7 +16865,7 @@ const ey = {
|
|
16862
16865
|
value: k.data[D].value,
|
16863
16866
|
placeholder: i[D],
|
16864
16867
|
onChange: K(k, D),
|
16865
|
-
onBlur:
|
16868
|
+
onBlur: V(k, D),
|
16866
16869
|
refVar: D === E ? O.current?.[k.id] : w.current?.[k.id],
|
16867
16870
|
dependentRef: D === E ? w.current?.[k.id] : O.current?.[k.id],
|
16868
16871
|
disabled: c || k.data[D].disabled,
|
@@ -17066,20 +17069,20 @@ const ey = {
|
|
17066
17069
|
L.current && f && L.current.focus();
|
17067
17070
|
}, 100);
|
17068
17071
|
}, [f]);
|
17069
|
-
function S(
|
17070
|
-
return Array.isArray(
|
17072
|
+
function S(G) {
|
17073
|
+
return Array.isArray(G) ? G : [G];
|
17071
17074
|
}
|
17072
|
-
const R = (
|
17075
|
+
const R = (G) => {
|
17073
17076
|
if (!N) {
|
17074
|
-
const Z =
|
17075
|
-
|
17077
|
+
const Z = G.target.value?.trim();
|
17078
|
+
G.target.value !== Z && (G.stopPropagation(), G.target.value = Z, a(G));
|
17076
17079
|
}
|
17077
|
-
typeof E == "function" && E(
|
17078
|
-
}, O = (
|
17080
|
+
typeof E == "function" && E(G);
|
17081
|
+
}, O = (G) => /* @__PURE__ */ t.jsxs("div", { className: "flex left mt-4 mb-4 dc__gap-4 cr-5 fs-11 lh-16 fw-4", children: [
|
17079
17082
|
/* @__PURE__ */ t.jsx(Mt, { className: "icon-dim-16 p-1 form__icon--error dc__align-self-start dc__no-shrink" }),
|
17080
|
-
/* @__PURE__ */ t.jsx("span", { children:
|
17081
|
-
|
17082
|
-
] },
|
17083
|
+
/* @__PURE__ */ t.jsx("span", { children: G }),
|
17084
|
+
G && typeof I == "function" && I()
|
17085
|
+
] }, G), w = () => n?.length ? typeof n == "object" ? S(n).map((G) => O(G)) : O(n) : null, B = () => typeof o == "string" ? /* @__PURE__ */ t.jsx("span", { className: `${p ? "dc__required-field" : ""}`, children: o }) : o, F = () => o ? /* @__PURE__ */ t.jsx("label", { className: `form__label ${c}`, "data-testid": `label-${m}`, children: B() }) : null;
|
17083
17086
|
return /* @__PURE__ */ t.jsxs("div", { className: `flex column left top ${b}`, children: [
|
17084
17087
|
F(),
|
17085
17088
|
/* @__PURE__ */ t.jsx(
|
@@ -17090,8 +17093,8 @@ const ey = {
|
|
17090
17093
|
name: e,
|
17091
17094
|
autoComplete: x,
|
17092
17095
|
className: `form__input fs-13 lh-20 fw-4 ${g}`,
|
17093
|
-
onChange: (
|
17094
|
-
|
17096
|
+
onChange: (G) => {
|
17097
|
+
G.persist(), a(G);
|
17095
17098
|
},
|
17096
17099
|
onBlur: R,
|
17097
17100
|
onFocus: r,
|
@@ -17111,7 +17114,7 @@ const ey = {
|
|
17111
17114
|
),
|
17112
17115
|
w(),
|
17113
17116
|
_ && /* @__PURE__ */ t.jsxs("div", { className: "flex left top dc__gap-4 fs-11 lh-16 cn-7 pt-4", children: [
|
17114
|
-
/* @__PURE__ */ t.jsx(
|
17117
|
+
/* @__PURE__ */ t.jsx(uo, { className: "icon-dim-16" }),
|
17115
17118
|
/* @__PURE__ */ t.jsx("div", { children: _ })
|
17116
17119
|
] })
|
17117
17120
|
] });
|
@@ -17191,7 +17194,7 @@ const ey = {
|
|
17191
17194
|
}, y = async (b) => {
|
17192
17195
|
b.key === "Enter" && (b.preventDefault(), await C());
|
17193
17196
|
}, I = (b, A) => /* @__PURE__ */ t.jsx(
|
17194
|
-
|
17197
|
+
Do,
|
17195
17198
|
{
|
17196
17199
|
imageProps: {
|
17197
17200
|
alt: l,
|
@@ -17453,7 +17456,7 @@ function wb({ isCreateApp: e }) {
|
|
17453
17456
|
}
|
17454
17457
|
);
|
17455
17458
|
}
|
17456
|
-
const
|
17459
|
+
const Fo = ({
|
17457
17460
|
value: e,
|
17458
17461
|
minHeight: s,
|
17459
17462
|
maxHeight: n,
|
@@ -17514,10 +17517,10 @@ const Vo = ({
|
|
17514
17517
|
};
|
17515
17518
|
class cr {
|
17516
17519
|
constructor() {
|
17517
|
-
de(this, "propagateTagKey", (s) =>
|
17520
|
+
de(this, "propagateTagKey", (s) => Io(s));
|
17518
17521
|
de(this, "propagateTagValue", (s, n) => {
|
17519
17522
|
const a = [];
|
17520
|
-
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 };
|
17521
17524
|
});
|
17522
17525
|
}
|
17523
17526
|
}
|
@@ -17601,7 +17604,7 @@ const El = ({
|
|
17601
17604
|
}, I = f === `tag-${o}-${e}` ? y() : null;
|
17602
17605
|
return /* @__PURE__ */ t.jsxs(st, { autoClose: !0, autoPosition: !0, children: [
|
17603
17606
|
/* @__PURE__ */ t.jsx(st.Button, { rootClassName: "bg__secondary flex top dc__no-border-imp", children: /* @__PURE__ */ t.jsx(
|
17604
|
-
|
17607
|
+
Fo,
|
17605
17608
|
{
|
17606
17609
|
minHeight: 30,
|
17607
17610
|
maxHeight: 80,
|
@@ -17754,7 +17757,7 @@ const Pb = (e) => {
|
|
17754
17757
|
}, Ub = (e, s) => (n) => {
|
17755
17758
|
if (e) {
|
17756
17759
|
const { props: a, type: r } = e(s);
|
17757
|
-
return
|
17760
|
+
return io(r, a, n);
|
17758
17761
|
}
|
17759
17762
|
return null;
|
17760
17763
|
}, Bb = ({
|
@@ -17854,7 +17857,7 @@ const Pb = (e) => {
|
|
17854
17857
|
),
|
17855
17858
|
onChange: T(S, R),
|
17856
17859
|
isDisabled: O,
|
17857
|
-
formatCreateLabel: (
|
17860
|
+
formatCreateLabel: (G) => `Use ${G}`,
|
17858
17861
|
refVar: h?.current?.[S.id]?.[R],
|
17859
17862
|
dependentRefs: h?.current?.[S.id],
|
17860
17863
|
fullWidth: !0
|
@@ -17897,7 +17900,7 @@ const Pb = (e) => {
|
|
17897
17900
|
);
|
17898
17901
|
default:
|
17899
17902
|
return /* @__PURE__ */ t.jsx(
|
17900
|
-
|
17903
|
+
Fo,
|
17901
17904
|
{
|
17902
17905
|
...S.data[R].props,
|
17903
17906
|
id: `data-table-${S.id}-${R}-cell`,
|
@@ -18189,7 +18192,7 @@ const Pb = (e) => {
|
|
18189
18192
|
/* @__PURE__ */ t.jsx("audio", { hidden: !0, ref: n, src: zm })
|
18190
18193
|
] });
|
18191
18194
|
}, Hb = () => /* @__PURE__ */ t.jsx(
|
18192
|
-
|
18195
|
+
Go,
|
18193
18196
|
{
|
18194
18197
|
classname: "warn",
|
18195
18198
|
message: /* @__PURE__ */ t.jsxs("p", { className: "m-0 cn-9 fs-13 lh-20", children: [
|
@@ -18259,11 +18262,11 @@ const Pb = (e) => {
|
|
18259
18262
|
}
|
18260
18263
|
];
|
18261
18264
|
return e ? n : [...n, ...a, ...s ? r : []];
|
18262
|
-
},
|
18265
|
+
}, Ir = (e, s) => {
|
18263
18266
|
let n = e || Ec;
|
18264
18267
|
if (s)
|
18265
18268
|
try {
|
18266
|
-
n =
|
18269
|
+
n = qr(e);
|
18267
18270
|
} catch {
|
18268
18271
|
}
|
18269
18272
|
return Object.keys(n).map((a, r) => ({
|
@@ -18275,7 +18278,7 @@ const Pb = (e) => {
|
|
18275
18278
|
configMapSecretData: e,
|
18276
18279
|
cmSecretStateLabel: s,
|
18277
18280
|
isSecret: n
|
18278
|
-
}) => 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 = ({
|
18279
18282
|
data: e,
|
18280
18283
|
esoSubPath: s,
|
18281
18284
|
external: n,
|
@@ -18293,7 +18296,7 @@ const Pb = (e) => {
|
|
18293
18296
|
secretDataYaml: r ?? "",
|
18294
18297
|
esoSecretYaml: i ? ut(o) : ""
|
18295
18298
|
};
|
18296
|
-
},
|
18299
|
+
}, Vo = ({
|
18297
18300
|
isJob: e,
|
18298
18301
|
configMapSecretData: s,
|
18299
18302
|
cmSecretStateLabel: n,
|
@@ -18337,7 +18340,7 @@ const Pb = (e) => {
|
|
18337
18340
|
yaml: null
|
18338
18341
|
};
|
18339
18342
|
if (s) {
|
18340
|
-
const T = e || c ?
|
18343
|
+
const T = e || c ? Ro.REPLACE : o, v = s.mergeStrategy || (n === sr.INHERITED ? T : null), C = Wb({
|
18341
18344
|
configMapSecretData: { ...s, mergeStrategy: v },
|
18342
18345
|
cmSecretStateLabel: n,
|
18343
18346
|
isSecret: i
|
@@ -18393,7 +18396,7 @@ const Pb = (e) => {
|
|
18393
18396
|
yaml: _,
|
18394
18397
|
currentData: E,
|
18395
18398
|
isSecret: h
|
18396
|
-
} =
|
18399
|
+
} = Vo({
|
18397
18400
|
isJob: a,
|
18398
18401
|
configMapSecretData: e,
|
18399
18402
|
cmSecretStateLabel: s,
|
@@ -18688,8 +18691,8 @@ const Pb = (e) => {
|
|
18688
18691
|
volumeMountPath: {
|
18689
18692
|
required: !0,
|
18690
18693
|
custom: {
|
18691
|
-
isValid: (f) =>
|
18692
|
-
message:
|
18694
|
+
isValid: (f) => Ii(f).isValid,
|
18695
|
+
message: Ii(o).message
|
18693
18696
|
}
|
18694
18697
|
},
|
18695
18698
|
...r ? {
|
@@ -18865,7 +18868,7 @@ const Pb = (e) => {
|
|
18865
18868
|
"."
|
18866
18869
|
] }) })
|
18867
18870
|
] });
|
18868
|
-
}, bl =
|
18871
|
+
}, bl = lo(rC), oC = ({
|
18869
18872
|
handleDeActivation: e,
|
18870
18873
|
loading: s,
|
18871
18874
|
variables: n,
|
@@ -18967,7 +18970,7 @@ const Pb = (e) => {
|
|
18967
18970
|
_(),
|
18968
18971
|
h()
|
18969
18972
|
] });
|
18970
|
-
}, iC =
|
18973
|
+
}, iC = lo(oC), yr = (e, s) => e && s ? `"${e}":${s},` : "", lC = ({
|
18971
18974
|
appId: e,
|
18972
18975
|
envId: s,
|
18973
18976
|
clusterId: n
|
@@ -18975,10 +18978,10 @@ const Pb = (e) => {
|
|
18975
18978
|
if (!e)
|
18976
18979
|
return "";
|
18977
18980
|
let a = `?appId=${e}&scope={`;
|
18978
|
-
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;
|
18979
18982
|
}, cC = async (e, s, n, a = !0) => {
|
18980
18983
|
const { result: r } = await ie(
|
18981
|
-
`${
|
18984
|
+
`${H.SCOPED_GLOBAL_VARIABLES}${lC({
|
18982
18985
|
appId: e,
|
18983
18986
|
envId: s,
|
18984
18987
|
clusterId: n
|
@@ -18997,7 +19000,7 @@ const Pb = (e) => {
|
|
18997
19000
|
const [l, c] = j(!1), [d, u] = j({ x: 0, y: 0 }), [m, p] = j({ x: 0, y: 0 }), [f, g, x, _] = wt(
|
18998
19001
|
() => cC(s, n, a, o),
|
18999
19002
|
[s, n, a]
|
19000
|
-
), E =
|
19003
|
+
), E = Ao(), h = J(null), N = ne(() => {
|
19001
19004
|
const I = h.current?.getBoundingClientRect() || {
|
19002
19005
|
x: 0,
|
19003
19006
|
y: 0
|
@@ -19114,7 +19117,7 @@ const Pb = (e) => {
|
|
19114
19117
|
)
|
19115
19118
|
}
|
19116
19119
|
);
|
19117
|
-
}, _y =
|
19120
|
+
}, _y = lo(dC), Zd = (e, s, n, a, r) => {
|
19118
19121
|
const o = e.lastIndex;
|
19119
19122
|
Promise.resolve(s[o]()).then((i) => {
|
19120
19123
|
e.results[o] = { status: ca.FULFILLED, value: i };
|
@@ -19147,7 +19150,7 @@ const Pb = (e) => {
|
|
19147
19150
|
Completed: "var(--G500)",
|
19148
19151
|
Pending: "var(--N300)",
|
19149
19152
|
Failed: "var(--R500)"
|
19150
|
-
},
|
19153
|
+
}, jr = [
|
19151
19154
|
{ label: "resource", isSortable: !0, width: "250px" },
|
19152
19155
|
{ label: "status", isSortable: !0, width: "100px" },
|
19153
19156
|
{ label: "message", isSortable: !1, width: "1fr" }
|
@@ -19218,7 +19221,7 @@ const _C = ({
|
|
19218
19221
|
disableTransition: c
|
19219
19222
|
}) => {
|
19220
19223
|
const { handleSorting: d, sortBy: u, sortOrder: m, clearFilters: p } = Uc({
|
19221
|
-
initialSortKey:
|
19224
|
+
initialSortKey: jr[1].label
|
19222
19225
|
});
|
19223
19226
|
M(
|
19224
19227
|
() => () => {
|
@@ -19230,7 +19233,7 @@ const _C = ({
|
|
19230
19233
|
d(h);
|
19231
19234
|
}, g = Ge(
|
19232
19235
|
(h, N) => {
|
19233
|
-
const T =
|
19236
|
+
const T = jr.some((C) => C.label === u), v = pC[u] ?? ((C) => C);
|
19234
19237
|
if (!T) {
|
19235
19238
|
const C = h.additionalKeys?.find((I) => I.label === u)?.value || "", y = N.additionalKeys?.find((I) => I.label === u)?.value || "";
|
19236
19239
|
return Ze(C, y, m);
|
@@ -19238,7 +19241,7 @@ const _C = ({
|
|
19238
19241
|
return (m === _e.ASC ? 1 : -1) * (v(h[Tl[u]]) < v(N[Tl[u]]) ? -1 : 1);
|
19239
19242
|
},
|
19240
19243
|
[m, u]
|
19241
|
-
), x = a.getResults(e ? null : g), _ =
|
19244
|
+
), x = a.getResults(e ? null : g), _ = jr.reduce(
|
19242
19245
|
(h, N, T) => {
|
19243
19246
|
if (h.push(N), T === 0) {
|
19244
19247
|
const v = x?.[0]?.additionalKeys;
|
@@ -19294,7 +19297,7 @@ const _C = ({
|
|
19294
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: [
|
19295
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: [
|
19296
19299
|
/* @__PURE__ */ t.jsx(
|
19297
|
-
|
19300
|
+
Oo,
|
19298
19301
|
{
|
19299
19302
|
entities: a.getBarChartEntities(),
|
19300
19303
|
rootClassName: "p-16 fs-13 dc__border-bottom-n1",
|
@@ -19302,7 +19305,7 @@ const _C = ({
|
|
19302
19305
|
}
|
19303
19306
|
),
|
19304
19307
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 py-8 px-16 dc__align-items-center", children: [
|
19305
|
-
e ? Oa("Progressing") : /* @__PURE__ */ t.jsx(
|
19308
|
+
e ? Oa("Progressing") : /* @__PURE__ */ t.jsx(mo, { className: "dc__no-shrink icon-dim-16" }),
|
19306
19309
|
l(a.getResultsStatusCount())
|
19307
19310
|
] })
|
19308
19311
|
] }),
|
@@ -19550,7 +19553,7 @@ const _C = ({
|
|
19550
19553
|
ACTION_NOTE: "You can switch between image sources later",
|
19551
19554
|
CHANGE_CI_TEXT: "Change image source",
|
19552
19555
|
CHANGE_CI_NOTE: "Deploy to environments in the workflow from another image source"
|
19553
|
-
},
|
19556
|
+
}, Rr = {
|
19554
19557
|
DEFAULT: "Build Container Image",
|
19555
19558
|
RECIEVE: "Receive Container Image",
|
19556
19559
|
JOB: "Create job pipeline"
|
@@ -19712,7 +19715,7 @@ const _C = ({
|
|
19712
19715
|
] }),
|
19713
19716
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col p-20 dc__gap-12 dc__overflow-auto", children: [
|
19714
19717
|
/* @__PURE__ */ t.jsxs("section", { className: "flexbox-col dc__gap-8 dc__align-self-stretch", children: [
|
19715
|
-
/* @__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 }),
|
19716
19719
|
/* @__PURE__ */ t.jsx(
|
19717
19720
|
dn,
|
19718
19721
|
{
|
@@ -19742,7 +19745,7 @@ const _C = ({
|
|
19742
19745
|
)
|
19743
19746
|
] }),
|
19744
19747
|
/* @__PURE__ */ t.jsxs("section", { className: "flexbox-col dc__gap-8 dc__align-self-stretch", children: [
|
19745
|
-
/* @__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 }),
|
19746
19749
|
/* @__PURE__ */ t.jsx(
|
19747
19750
|
dn,
|
19748
19751
|
{
|
@@ -19772,7 +19775,7 @@ const _C = ({
|
|
19772
19775
|
)
|
19773
19776
|
] }),
|
19774
19777
|
window._env_.ENABLE_CI_JOB && /* @__PURE__ */ t.jsxs("section", { className: "flexbox-col dc__gap-8 dc__align-self-stretch", children: [
|
19775
|
-
/* @__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 }),
|
19776
19779
|
/* @__PURE__ */ t.jsx(
|
19777
19780
|
dn,
|
19778
19781
|
{
|
@@ -19936,7 +19939,7 @@ function NC(e) {
|
|
19936
19939
|
const Qd = () => {
|
19937
19940
|
window.location.reload();
|
19938
19941
|
}, bC = () => {
|
19939
|
-
window.open(
|
19942
|
+
window.open(bo);
|
19940
19943
|
};
|
19941
19944
|
function Ga(e, s) {
|
19942
19945
|
const n = se.useRef(!0);
|
@@ -20148,14 +20151,14 @@ const Iy = (e, s) => e ? Ha(e, !0) : s ? "" : "Not deployed", We = (e, s = {}) =
|
|
20148
20151
|
return e.forEach((n) => {
|
20149
20152
|
tu(s, n);
|
20150
20153
|
}), s;
|
20151
|
-
},
|
20154
|
+
}, ao = (e, s, n) => {
|
20152
20155
|
if (e === s.length)
|
20153
20156
|
return n;
|
20154
20157
|
const a = s[e], r = Number(a);
|
20155
|
-
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) };
|
20156
20159
|
}, Ry = (e, s) => {
|
20157
20160
|
const n = e.split("/");
|
20158
|
-
return n.splice(0, 1),
|
20161
|
+
return n.splice(0, 1), ao(0, n, s);
|
20159
20162
|
}, su = (e, s) => {
|
20160
20163
|
const n = e.search(s);
|
20161
20164
|
if (n < 0)
|
@@ -20298,7 +20301,7 @@ const Fy = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, yC = (e, s = 300) => {
|
|
20298
20301
|
const r = Date.now();
|
20299
20302
|
r - n >= s && (n = r, e(...a));
|
20300
20303
|
};
|
20301
|
-
}, 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, {
|
20302
20305
|
ADD_TAGS: ["iframe"],
|
20303
20306
|
ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
|
20304
20307
|
}), Vy = (e, s) => {
|
@@ -20344,7 +20347,7 @@ function wn({ reload: e, className: s = "", heightToDeduct: n = 0 }) {
|
|
20344
20347
|
const RC = ({ subtitle: e, title: s }) => /* @__PURE__ */ t.jsx(
|
20345
20348
|
ze,
|
20346
20349
|
{
|
20347
|
-
image:
|
20350
|
+
image: Pr,
|
20348
20351
|
title: s ?? Ve.NOT_AUTHORIZED,
|
20349
20352
|
subTitle: e ?? Ve.ONLY_FOR_SUPERADMIN
|
20350
20353
|
}
|
@@ -20368,7 +20371,7 @@ class nn extends se.Component {
|
|
20368
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);
|
20369
20372
|
}
|
20370
20373
|
render() {
|
20371
|
-
return
|
20374
|
+
return No.createPortal(
|
20372
20375
|
/* @__PURE__ */ t.jsx(
|
20373
20376
|
"div",
|
20374
20377
|
{
|
@@ -20420,7 +20423,7 @@ class iu extends se.Component {
|
|
20420
20423
|
document.removeEventListener("keydown", this.escFunction), this.modalRef.classList.remove("show-with-bg"), ms(!1);
|
20421
20424
|
}
|
20422
20425
|
render() {
|
20423
|
-
return
|
20426
|
+
return No.createPortal(
|
20424
20427
|
/* @__PURE__ */ t.jsx(
|
20425
20428
|
"div",
|
20426
20429
|
{
|
@@ -20619,7 +20622,7 @@ const Dn = ({
|
|
20619
20622
|
] });
|
20620
20623
|
}, kC = ({ children: e }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: e });
|
20621
20624
|
Dn.Description = kC;
|
20622
|
-
const
|
20625
|
+
const ro = $t({ title: "", isLoading: !1, close: (e) => {
|
20623
20626
|
}, onSave: (e) => {
|
20624
20627
|
} });
|
20625
20628
|
class Jy extends Ka {
|
@@ -20637,7 +20640,7 @@ class Jy extends Ka {
|
|
20637
20640
|
}
|
20638
20641
|
render() {
|
20639
20642
|
return /* @__PURE__ */ t.jsx(
|
20640
|
-
|
20643
|
+
ro.Provider,
|
20641
20644
|
{
|
20642
20645
|
value: {
|
20643
20646
|
title: this.props.title,
|
@@ -20653,7 +20656,7 @@ class Jy extends Ka {
|
|
20653
20656
|
/* @__PURE__ */ t.jsx("img", { src: Mm, alt: "close" })
|
20654
20657
|
] })
|
20655
20658
|
] }),
|
20656
|
-
/* @__PURE__ */ t.jsx(
|
20659
|
+
/* @__PURE__ */ t.jsx(ro.Consumer, { children: (s) => /* @__PURE__ */ t.jsx(
|
20657
20660
|
"form",
|
20658
20661
|
{
|
20659
20662
|
noValidate: !0,
|
@@ -20670,7 +20673,7 @@ class Jy extends Ka {
|
|
20670
20673
|
}
|
20671
20674
|
class Zy extends Ka {
|
20672
20675
|
render() {
|
20673
|
-
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 }) });
|
20674
20677
|
}
|
20675
20678
|
}
|
20676
20679
|
function Qy({
|
@@ -20696,7 +20699,7 @@ function Qy({
|
|
20696
20699
|
}
|
20697
20700
|
) });
|
20698
20701
|
}
|
20699
|
-
const
|
20702
|
+
const Go = ({
|
20700
20703
|
message: e,
|
20701
20704
|
classname: s,
|
20702
20705
|
Icon: n,
|
@@ -20989,7 +20992,7 @@ const ej = ({
|
|
20989
20992
|
forceReInit: m,
|
20990
20993
|
isSuperAdmin: p
|
20991
20994
|
}) => {
|
20992
|
-
const [f, g] = j(a || []), [x, _] = j(n ? n.comment : ""), [E, h] = j(o || []), [N, T] = j(n ? n.comment : ""), [v, C] = j(!1), [y, I] = j(!1), [b, A] = j(a || []), [L, S] = j(""), [R, O] = j([]), [w, B] = j([]), [F,
|
20995
|
+
const [f, g] = j(a || []), [x, _] = j(n ? n.comment : ""), [E, h] = j(o || []), [N, T] = j(n ? n.comment : ""), [v, C] = j(!1), [y, I] = j(!1), [b, A] = j(a || []), [L, S] = j(""), [R, O] = j([]), [w, B] = j([]), [F, G] = j([]), [Z, oe] = j(""), [me, le] = j(""), [K, V] = j(!1);
|
20993
20996
|
M(() => {
|
20994
20997
|
pe();
|
20995
20998
|
}, [a, n, l]), M(() => {
|
@@ -21003,7 +21006,7 @@ const ej = ({
|
|
21003
21006
|
const Ne = z.target.value;
|
21004
21007
|
Ne?.length > 500 ? oe("comment length cannot exceed 500 characters") : oe(""), T(Ne);
|
21005
21008
|
}, k = () => {
|
21006
|
-
A(f), T(x), O([]), B([]),
|
21009
|
+
A(f), T(x), O([]), B([]), G([]), fe(), I(!1), S("");
|
21007
21010
|
}, D = (z) => {
|
21008
21011
|
if (z.length == 0 || z.length >= 128 || z[0] == "." || z[0] == "-")
|
21009
21012
|
return S("Label name cannot be empty or exceed 128 characters or cannot start with . or -"), !1;
|
@@ -21043,7 +21046,7 @@ const ej = ({
|
|
21043
21046
|
const qe = E.filter((gt) => gt.toLowerCase() !== Ne.tagName.toLowerCase());
|
21044
21047
|
if (h(qe), Ne.id !== 0) {
|
21045
21048
|
const gt = [...F, Ne];
|
21046
|
-
|
21049
|
+
G(gt);
|
21047
21050
|
}
|
21048
21051
|
}, Te = (z) => {
|
21049
21052
|
z.forEach(({ userMessage: Ne }) => {
|
@@ -21070,7 +21073,7 @@ const ej = ({
|
|
21070
21073
|
},
|
21071
21074
|
hardDeleteTags: F
|
21072
21075
|
};
|
21073
|
-
|
21076
|
+
V(!0), Af(Ne, e ?? 0, s).then((ce) => {
|
21074
21077
|
const Ue = ce.result?.imageReleaseTags?.map((qe) => ({
|
21075
21078
|
id: qe.id,
|
21076
21079
|
tagName: qe.tagName,
|
@@ -21078,14 +21081,14 @@ const ej = ({
|
|
21078
21081
|
appId: 0,
|
21079
21082
|
artifactId: 0
|
21080
21083
|
}));
|
21081
|
-
i && i(ce.result?.appReleaseTags), c && c(ce.result?.tagsEditable), g(Ue), _(ce.result?.imageComment?.comment), A(Ue), T(ce.result?.imageComment?.comment), O([]), B([]),
|
21084
|
+
i && i(ce.result?.appReleaseTags), c && c(ce.result?.tagsEditable), g(Ue), _(ce.result?.imageComment?.comment), A(Ue), T(ce.result?.imageComment?.comment), O([]), B([]), G([]), fe(), I(!1), S(""), r && r(s, Ue, ce.result?.imageComment);
|
21082
21085
|
}).catch((ce) => {
|
21083
21086
|
ce.errors?.[0]?.userMessage?.appReleaseTags?.length ? (De.showToast({
|
21084
21087
|
variant: Ee.error,
|
21085
21088
|
description: ce.errors?.[0]?.internalMessage
|
21086
21089
|
}), Te(ce.errors)) : Me(ce);
|
21087
21090
|
}).finally(() => {
|
21088
|
-
|
21091
|
+
V(!1);
|
21089
21092
|
});
|
21090
21093
|
}, Ae = () => /* @__PURE__ */ t.jsx(
|
21091
21094
|
Un,
|
@@ -21596,10 +21599,10 @@ const KC = ({ startNode: e }) => e.type === ns.WEBHOOK ? As.WEBHOOK : e.type ===
|
|
21596
21599
|
}) => {
|
21597
21600
|
if (!s)
|
21598
21601
|
return;
|
21599
|
-
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;
|
21600
21603
|
s(r, o, c, n.id, i, u, d);
|
21601
21604
|
};
|
21602
|
-
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 || {});
|
21603
21606
|
function ij({
|
21604
21607
|
children: e,
|
21605
21608
|
zIndex: s = Bp,
|
@@ -21610,7 +21613,7 @@ function ij({
|
|
21610
21613
|
childDivProps: i = {},
|
21611
21614
|
layoutFixDelta: l = 0
|
21612
21615
|
}) {
|
21613
|
-
const c =
|
21616
|
+
const c = Ao(), d = J(null), [u, m] = j({
|
21614
21617
|
x: 0,
|
21615
21618
|
y: 0
|
21616
21619
|
}), p = (g) => {
|
@@ -21622,11 +21625,11 @@ function ij({
|
|
21622
21625
|
bottom: 0
|
21623
21626
|
}, _ = d.current?.getBoundingClientRect().height ?? 0, E = d.current?.getBoundingClientRect().width ?? 0;
|
21624
21627
|
switch (g) {
|
21625
|
-
case
|
21628
|
+
case oo.PARENT_BOTTOM_CENTER: {
|
21626
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;
|
21627
21630
|
return { x: h, y: v };
|
21628
21631
|
}
|
21629
|
-
case
|
21632
|
+
case oo.SCREEN_BOTTOM_RIGHT: {
|
21630
21633
|
const h = c.width - x.left - E - o, N = c.height - x.top - _ - o;
|
21631
21634
|
return { x: h, y: N };
|
21632
21635
|
}
|
@@ -21686,7 +21689,7 @@ const wl = 5, WC = [
|
|
21686
21689
|
{ value: 20, selected: !0 },
|
21687
21690
|
{ value: 40, selected: !1 },
|
21688
21691
|
{ value: 50, selected: !1 }
|
21689
|
-
],
|
21692
|
+
], Lr = ({ size: e, pageSize: s, selectedPageNo: n }) => {
|
21690
21693
|
const a = [], r = Math.ceil(e / s), o = n - 2 < 1 ? 1 : n - 2, i = n + 2 > r ? r : n + 2;
|
21691
21694
|
for (let l = 1; l <= r; l++)
|
21692
21695
|
a.push({
|
@@ -21754,14 +21757,14 @@ const wl = 5, WC = [
|
|
21754
21757
|
}) => {
|
21755
21758
|
const [c, d] = j([]);
|
21756
21759
|
M(() => {
|
21757
|
-
const _ =
|
21760
|
+
const _ = Lr({ size: e, pageSize: s, selectedPageNo: 1 });
|
21758
21761
|
d(_);
|
21759
21762
|
}, [e, s]), M(() => {
|
21760
|
-
const _ = 1 + Math.floor(n / s), E =
|
21763
|
+
const _ = 1 + Math.floor(n / s), E = Lr({ size: e, pageSize: s, selectedPageNo: _ });
|
21761
21764
|
d(E);
|
21762
21765
|
}, [n]);
|
21763
21766
|
const u = (_) => {
|
21764
|
-
const E =
|
21767
|
+
const E = Lr({ size: e, pageSize: s, selectedPageNo: _ });
|
21765
21768
|
d(E), a(_);
|
21766
21769
|
}, m = () => {
|
21767
21770
|
const E = c.find((h) => h.selected).value - 1;
|
@@ -22048,7 +22051,7 @@ const Tt = {
|
|
22048
22051
|
arrow: !1,
|
22049
22052
|
placement: "bottom",
|
22050
22053
|
content: Tt[I],
|
22051
|
-
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" }) })
|
22052
22055
|
}
|
22053
22056
|
);
|
22054
22057
|
case xt.ORDERED_LIST:
|
@@ -22078,7 +22081,7 @@ const Tt = {
|
|
22078
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: [
|
22079
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: [
|
22080
22083
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-6 dc__align-items-center", children: [
|
22081
|
-
/* @__PURE__ */ t.jsx(
|
22084
|
+
/* @__PURE__ */ t.jsx(Zo, { className: "icon-dim-16" }),
|
22082
22085
|
/* @__PURE__ */ t.jsx("div", { className: "fw-6 lh-20 cn-9 fs-13", children: i })
|
22083
22086
|
] }),
|
22084
22087
|
s && N && /* @__PURE__ */ t.jsxs("div", { className: "flex left fw-4 cn-7 ml-8 fs-12 h-20", children: [
|
@@ -22101,7 +22104,7 @@ const Tt = {
|
|
22101
22104
|
)
|
22102
22105
|
] }),
|
22103
22106
|
/* @__PURE__ */ t.jsx(
|
22104
|
-
|
22107
|
+
Jo,
|
22105
22108
|
{
|
22106
22109
|
classes: {
|
22107
22110
|
reactMde: "mark-down-editor-container dc__word-break pb-16 pt-8 mark-down-editor__no-border",
|
@@ -22117,7 +22120,7 @@ const Tt = {
|
|
22117
22120
|
)
|
22118
22121
|
] }) : /* @__PURE__ */ t.jsxs("div", { className: "min-w-500", children: [
|
22119
22122
|
/* @__PURE__ */ t.jsx(
|
22120
|
-
|
22123
|
+
Jo,
|
22121
22124
|
{
|
22122
22125
|
ref: E,
|
22123
22126
|
classes: {
|
@@ -22254,7 +22257,7 @@ export {
|
|
22254
22257
|
Pp as F,
|
22255
22258
|
ze as G,
|
22256
22259
|
Ca as H,
|
22257
|
-
|
22260
|
+
Go as I,
|
22258
22261
|
pA as J,
|
22259
22262
|
Kt as K,
|
22260
22263
|
_A as L,
|
@@ -22285,7 +22288,7 @@ export {
|
|
22285
22288
|
Tn as a7,
|
22286
22289
|
sn as a8,
|
22287
22290
|
cc as a9,
|
22288
|
-
|
22291
|
+
Ur as aA,
|
22289
22292
|
Xp as aB,
|
22290
22293
|
fc as aC,
|
22291
22294
|
Jp as aD,
|
@@ -22294,12 +22297,12 @@ export {
|
|
22294
22297
|
As as aG,
|
22295
22298
|
ns as aH,
|
22296
22299
|
Sn as aI,
|
22297
|
-
|
22300
|
+
Br as aJ,
|
22298
22301
|
_t as aK,
|
22299
|
-
|
22302
|
+
Co as aL,
|
22300
22303
|
vA as aM,
|
22301
22304
|
ie as aN,
|
22302
|
-
|
22305
|
+
To as aO,
|
22303
22306
|
hc as aP,
|
22304
22307
|
Ut as aQ,
|
22305
22308
|
Me as aR,
|
@@ -22312,16 +22315,16 @@ export {
|
|
22312
22315
|
by as aY,
|
22313
22316
|
Cy as aZ,
|
22314
22317
|
at as a_,
|
22315
|
-
|
22318
|
+
Qo as aa,
|
22316
22319
|
dc as ab,
|
22317
|
-
|
22320
|
+
kr as ac,
|
22318
22321
|
uc as ad,
|
22319
22322
|
mc as ae,
|
22320
22323
|
CA as af,
|
22321
22324
|
mt as ag,
|
22322
22325
|
TA as ah,
|
22323
|
-
|
22324
|
-
|
22326
|
+
ei as ai,
|
22327
|
+
Mr as aj,
|
22325
22328
|
Bs as ak,
|
22326
22329
|
SA as al,
|
22327
22330
|
pc as am,
|
@@ -22370,7 +22373,7 @@ export {
|
|
22370
22373
|
kb as bR,
|
22371
22374
|
cy as bS,
|
22372
22375
|
El as bT,
|
22373
|
-
|
22376
|
+
Fo as bU,
|
22374
22377
|
Db as bV,
|
22375
22378
|
It as bW,
|
22376
22379
|
Qy as bX,
|
@@ -22429,7 +22432,7 @@ export {
|
|
22429
22432
|
tj as cL,
|
22430
22433
|
Dc as cM,
|
22431
22434
|
Pf as cN,
|
22432
|
-
|
22435
|
+
Ao as cO,
|
22433
22436
|
Pc as cP,
|
22434
22437
|
Fn as cQ,
|
22435
22438
|
Mc as cR,
|
@@ -22440,7 +22443,7 @@ export {
|
|
22440
22443
|
Wn as cW,
|
22441
22444
|
ij as cX,
|
22442
22445
|
lj as cY,
|
22443
|
-
|
22446
|
+
oo as cZ,
|
22444
22447
|
cj as c_,
|
22445
22448
|
vf as ca,
|
22446
22449
|
Af as cb,
|
@@ -22456,7 +22459,7 @@ export {
|
|
22456
22459
|
ZA as cl,
|
22457
22460
|
QA as cm,
|
22458
22461
|
eI as cn,
|
22459
|
-
|
22462
|
+
gi as co,
|
22460
22463
|
Df as cp,
|
22461
22464
|
tI as cq,
|
22462
22465
|
ws as cr,
|
@@ -22472,20 +22475,20 @@ export {
|
|
22472
22475
|
q_ as d$,
|
22473
22476
|
dj as d0,
|
22474
22477
|
Us as d1,
|
22475
|
-
|
22478
|
+
Oo as d2,
|
22476
22479
|
Vt as d3,
|
22477
22480
|
Ln as d4,
|
22478
22481
|
iN as d5,
|
22479
22482
|
uj as d6,
|
22480
22483
|
nT as d7,
|
22481
22484
|
MA as d8,
|
22482
|
-
|
22485
|
+
Bo as d9,
|
22483
22486
|
os as dA,
|
22484
22487
|
yc as dB,
|
22485
22488
|
Sa as dC,
|
22486
22489
|
In as dD,
|
22487
|
-
|
22488
|
-
|
22490
|
+
Yr as dE,
|
22491
|
+
Kr as dF,
|
22489
22492
|
lt as dG,
|
22490
22493
|
jc as dH,
|
22491
22494
|
ds as dI,
|
@@ -22494,16 +22497,16 @@ export {
|
|
22494
22497
|
VA as dL,
|
22495
22498
|
hr as dM,
|
22496
22499
|
GA as dN,
|
22497
|
-
|
22500
|
+
Wr as dO,
|
22498
22501
|
HA as dP,
|
22499
22502
|
Rc as dQ,
|
22500
22503
|
H_ as dR,
|
22501
|
-
|
22504
|
+
oi as dS,
|
22502
22505
|
Wt as dT,
|
22503
22506
|
Y_ as dU,
|
22504
|
-
|
22505
|
-
|
22506
|
-
|
22507
|
+
ii as dV,
|
22508
|
+
li as dW,
|
22509
|
+
ci as dX,
|
22507
22510
|
K_ as dY,
|
22508
22511
|
W_ as dZ,
|
22509
22512
|
z_ as d_,
|
@@ -22526,7 +22529,7 @@ export {
|
|
22526
22529
|
dh as dr,
|
22527
22530
|
uh as ds,
|
22528
22531
|
mh as dt,
|
22529
|
-
|
22532
|
+
yo as du,
|
22530
22533
|
pI as dv,
|
22531
22534
|
P as dw,
|
22532
22535
|
At as dx,
|
@@ -22541,12 +22544,12 @@ export {
|
|
22541
22544
|
X_ as e4,
|
22542
22545
|
KA as e5,
|
22543
22546
|
hh as e6,
|
22544
|
-
|
22547
|
+
Li as e7,
|
22545
22548
|
ph as e8,
|
22546
22549
|
_h as e9,
|
22547
22550
|
LI as eA,
|
22548
22551
|
Rh as eB,
|
22549
|
-
|
22552
|
+
jo as eC,
|
22550
22553
|
yh as eD,
|
22551
22554
|
jh as eE,
|
22552
22555
|
jI as eF,
|
@@ -22554,7 +22557,7 @@ export {
|
|
22554
22557
|
OI as eH,
|
22555
22558
|
Ms as eI,
|
22556
22559
|
Lh as eJ,
|
22557
|
-
|
22560
|
+
Ro as eK,
|
22558
22561
|
Oh as eL,
|
22559
22562
|
wI as eM,
|
22560
22563
|
Dh as eN,
|
@@ -22598,7 +22601,7 @@ export {
|
|
22598
22601
|
DI as ey,
|
22599
22602
|
wh as ez,
|
22600
22603
|
Ky as f,
|
22601
|
-
|
22604
|
+
uE as f$,
|
22602
22605
|
Sc as f0,
|
22603
22606
|
UA as f1,
|
22604
22607
|
U_ as f2,
|
@@ -22609,33 +22612,33 @@ export {
|
|
22609
22612
|
n0 as f7,
|
22610
22613
|
lg as f8,
|
22611
22614
|
s0 as f9,
|
22612
|
-
|
22613
|
-
|
22614
|
-
|
22615
|
-
|
22616
|
-
|
22617
|
-
|
22618
|
-
|
22619
|
-
|
22620
|
-
|
22621
|
-
|
22622
|
-
|
22623
|
-
|
22624
|
-
|
22625
|
-
|
22626
|
-
|
22627
|
-
|
22628
|
-
|
22629
|
-
|
22630
|
-
|
22631
|
-
|
22632
|
-
|
22633
|
-
|
22634
|
-
|
22635
|
-
|
22636
|
-
|
22637
|
-
|
22638
|
-
|
22615
|
+
I0 as fA,
|
22616
|
+
Do as fB,
|
22617
|
+
y0 as fC,
|
22618
|
+
jx as fD,
|
22619
|
+
k0 as fE,
|
22620
|
+
bd as fF,
|
22621
|
+
Y0 as fG,
|
22622
|
+
bE as fH,
|
22623
|
+
RE as fI,
|
22624
|
+
IE as fJ,
|
22625
|
+
LE as fK,
|
22626
|
+
NE as fL,
|
22627
|
+
we as fM,
|
22628
|
+
rs as fN,
|
22629
|
+
$x as fO,
|
22630
|
+
Fx as fP,
|
22631
|
+
ft as fQ,
|
22632
|
+
jn as fR,
|
22633
|
+
Yi as fS,
|
22634
|
+
Hs as fT,
|
22635
|
+
Vx as fU,
|
22636
|
+
Gx as fV,
|
22637
|
+
oE as fW,
|
22638
|
+
iE as fX,
|
22639
|
+
lE as fY,
|
22640
|
+
cE as fZ,
|
22641
|
+
dE as f_,
|
22639
22642
|
tt as fa,
|
22640
22643
|
zc as fb,
|
22641
22644
|
rg as fc,
|
@@ -22643,12 +22646,12 @@ export {
|
|
22643
22646
|
rn as fe,
|
22644
22647
|
og as ff,
|
22645
22648
|
ig as fg,
|
22646
|
-
|
22649
|
+
Pi as fh,
|
22647
22650
|
a0 as fi,
|
22648
22651
|
dg as fj,
|
22649
22652
|
p0 as fk,
|
22650
22653
|
_0 as fl,
|
22651
|
-
|
22654
|
+
Po as fm,
|
22652
22655
|
ax as fn,
|
22653
22656
|
f0 as fo,
|
22654
22657
|
Os as fp,
|
@@ -22658,342 +22661,339 @@ export {
|
|
22658
22661
|
g0 as ft,
|
22659
22662
|
vx as fu,
|
22660
22663
|
S0 as fv,
|
22661
|
-
|
22662
|
-
|
22663
|
-
|
22664
|
-
|
22664
|
+
Tx as fw,
|
22665
|
+
rr as fx,
|
22666
|
+
v0 as fy,
|
22667
|
+
A0 as fz,
|
22665
22668
|
qy as g,
|
22666
|
-
|
22667
|
-
|
22668
|
-
|
22669
|
-
|
22670
|
-
|
22671
|
-
|
22672
|
-
|
22673
|
-
|
22674
|
-
|
22675
|
-
|
22676
|
-
|
22677
|
-
|
22678
|
-
|
22679
|
-
|
22680
|
-
|
22681
|
-
|
22682
|
-
|
22683
|
-
|
22684
|
-
|
22685
|
-
|
22686
|
-
|
22687
|
-
|
22688
|
-
|
22689
|
-
|
22690
|
-
|
22691
|
-
|
22692
|
-
|
22693
|
-
|
22694
|
-
|
22695
|
-
|
22696
|
-
|
22697
|
-
|
22698
|
-
|
22699
|
-
|
22700
|
-
|
22701
|
-
|
22702
|
-
|
22703
|
-
|
22704
|
-
|
22705
|
-
|
22706
|
-
|
22707
|
-
|
22708
|
-
|
22709
|
-
|
22710
|
-
|
22711
|
-
|
22712
|
-
|
22713
|
-
|
22714
|
-
|
22715
|
-
|
22716
|
-
|
22717
|
-
|
22718
|
-
|
22719
|
-
|
22720
|
-
|
22721
|
-
|
22722
|
-
|
22723
|
-
|
22724
|
-
|
22725
|
-
|
22726
|
-
|
22727
|
-
|
22728
|
-
|
22729
|
-
|
22669
|
+
Bt as g$,
|
22670
|
+
B0 as g0,
|
22671
|
+
$0 as g1,
|
22672
|
+
mE as g2,
|
22673
|
+
pE as g3,
|
22674
|
+
_E as g4,
|
22675
|
+
Rn as g5,
|
22676
|
+
F0 as g6,
|
22677
|
+
fE as g7,
|
22678
|
+
V0 as g8,
|
22679
|
+
H0 as g9,
|
22680
|
+
z0 as gA,
|
22681
|
+
Gd as gB,
|
22682
|
+
GN as gC,
|
22683
|
+
HN as gD,
|
22684
|
+
YN as gE,
|
22685
|
+
Is as gF,
|
22686
|
+
K0 as gG,
|
22687
|
+
Zi as gH,
|
22688
|
+
Td as gI,
|
22689
|
+
Z0 as gJ,
|
22690
|
+
ZN as gK,
|
22691
|
+
Q0 as gL,
|
22692
|
+
ny as gM,
|
22693
|
+
lb as gN,
|
22694
|
+
ib as gO,
|
22695
|
+
Hd as gP,
|
22696
|
+
eb as gQ,
|
22697
|
+
ty as gR,
|
22698
|
+
Kd as gS,
|
22699
|
+
rb as gT,
|
22700
|
+
sy as gU,
|
22701
|
+
Yd as gV,
|
22702
|
+
ab as gW,
|
22703
|
+
ey as gX,
|
22704
|
+
tb as gY,
|
22705
|
+
sb as gZ,
|
22706
|
+
ay as g_,
|
22707
|
+
vN as ga,
|
22708
|
+
AN as gb,
|
22709
|
+
Hx as gc,
|
22710
|
+
Yx as gd,
|
22711
|
+
Ki as ge,
|
22712
|
+
Wi as gf,
|
22713
|
+
Kx as gg,
|
22714
|
+
Wx as gh,
|
22715
|
+
Ed as gi,
|
22716
|
+
BN as gj,
|
22717
|
+
bN as gk,
|
22718
|
+
sN as gl,
|
22719
|
+
Nd as gm,
|
22720
|
+
CE as gn,
|
22721
|
+
Vd as go,
|
22722
|
+
jE as gp,
|
22723
|
+
yE as gq,
|
22724
|
+
W0 as gr,
|
22725
|
+
J0 as gs,
|
22726
|
+
q0 as gt,
|
22727
|
+
X0 as gu,
|
22728
|
+
WN as gv,
|
22729
|
+
ha as gw,
|
22730
|
+
qN as gx,
|
22731
|
+
XN as gy,
|
22732
|
+
JN as gz,
|
22730
22733
|
Xy as h,
|
22731
|
-
|
22732
|
-
|
22733
|
-
|
22734
|
-
|
22735
|
-
|
22736
|
-
|
22737
|
-
|
22738
|
-
|
22739
|
-
|
22740
|
-
|
22741
|
-
|
22742
|
-
|
22743
|
-
|
22744
|
-
|
22745
|
-
|
22746
|
-
|
22747
|
-
|
22748
|
-
|
22749
|
-
|
22750
|
-
|
22751
|
-
|
22752
|
-
|
22753
|
-
|
22754
|
-
|
22755
|
-
|
22756
|
-
|
22757
|
-
|
22758
|
-
|
22759
|
-
|
22760
|
-
|
22761
|
-
|
22762
|
-
|
22763
|
-
|
22764
|
-
|
22765
|
-
|
22766
|
-
|
22767
|
-
|
22768
|
-
|
22769
|
-
|
22770
|
-
|
22771
|
-
|
22772
|
-
|
22773
|
-
|
22774
|
-
|
22775
|
-
|
22776
|
-
|
22777
|
-
|
22778
|
-
|
22779
|
-
|
22780
|
-
|
22781
|
-
|
22782
|
-
|
22783
|
-
|
22784
|
-
|
22785
|
-
|
22786
|
-
|
22787
|
-
|
22788
|
-
|
22789
|
-
|
22790
|
-
|
22791
|
-
|
22792
|
-
|
22793
|
-
|
22794
|
-
|
22734
|
+
Hb as h$,
|
22735
|
+
$f as h0,
|
22736
|
+
Zs as h1,
|
22737
|
+
_f as h2,
|
22738
|
+
us as h3,
|
22739
|
+
Cd as h4,
|
22740
|
+
OE as h5,
|
22741
|
+
WE as h6,
|
22742
|
+
Nt as h7,
|
22743
|
+
ME as h8,
|
22744
|
+
rl as h9,
|
22745
|
+
ad as hA,
|
22746
|
+
sx as hB,
|
22747
|
+
wa as hC,
|
22748
|
+
d0 as hD,
|
22749
|
+
rd as hE,
|
22750
|
+
u0 as hF,
|
22751
|
+
be as hG,
|
22752
|
+
Re as hH,
|
22753
|
+
He as hI,
|
22754
|
+
An as hJ,
|
22755
|
+
Ab as hK,
|
22756
|
+
Sb as hL,
|
22757
|
+
qd as hM,
|
22758
|
+
iy as hN,
|
22759
|
+
ly as hO,
|
22760
|
+
Ba as hP,
|
22761
|
+
js as hQ,
|
22762
|
+
jd as hR,
|
22763
|
+
$b as hS,
|
22764
|
+
et as hT,
|
22765
|
+
dy as hU,
|
22766
|
+
Vb as hV,
|
22767
|
+
Nl as hW,
|
22768
|
+
Mb as hX,
|
22769
|
+
uy as hY,
|
22770
|
+
my as hZ,
|
22771
|
+
py as h_,
|
22772
|
+
BE as ha,
|
22773
|
+
HE as hb,
|
22774
|
+
G0 as hc,
|
22775
|
+
Rd as hd,
|
22776
|
+
Id as he,
|
22777
|
+
gn as hf,
|
22778
|
+
ia as hg,
|
22779
|
+
yd as hh,
|
22780
|
+
nl as hi,
|
22781
|
+
xd as hj,
|
22782
|
+
ry as hk,
|
22783
|
+
oy as hl,
|
22784
|
+
Ad as hm,
|
22785
|
+
nx as hn,
|
22786
|
+
m0 as ho,
|
22787
|
+
sd as hp,
|
22788
|
+
o0 as hq,
|
22789
|
+
l0 as hr,
|
22790
|
+
i0 as hs,
|
22791
|
+
X as ht,
|
22792
|
+
c0 as hu,
|
22793
|
+
Oa as hv,
|
22794
|
+
Gs as hw,
|
22795
|
+
hg as hx,
|
22796
|
+
tx as hy,
|
22797
|
+
nd as hz,
|
22795
22798
|
Ia as i,
|
22796
|
-
|
22797
|
-
|
22798
|
-
|
22799
|
-
|
22800
|
-
|
22801
|
-
|
22802
|
-
|
22803
|
-
|
22804
|
-
|
22805
|
-
|
22806
|
-
|
22807
|
-
|
22808
|
-
|
22809
|
-
|
22810
|
-
|
22811
|
-
|
22812
|
-
|
22813
|
-
|
22814
|
-
|
22815
|
-
|
22816
|
-
|
22817
|
-
|
22818
|
-
|
22819
|
-
|
22820
|
-
|
22821
|
-
|
22822
|
-
|
22823
|
-
|
22824
|
-
|
22825
|
-
|
22826
|
-
|
22827
|
-
|
22828
|
-
|
22829
|
-
|
22830
|
-
|
22799
|
+
ua as i$,
|
22800
|
+
Kb as i0,
|
22801
|
+
qb as i1,
|
22802
|
+
Vo as i2,
|
22803
|
+
Jb as i3,
|
22804
|
+
Zb as i4,
|
22805
|
+
Xd as i5,
|
22806
|
+
Qb as i6,
|
22807
|
+
Fa as i7,
|
22808
|
+
cn as i8,
|
22809
|
+
Yb as i9,
|
22810
|
+
rI as iA,
|
22811
|
+
oI as iB,
|
22812
|
+
iI as iC,
|
22813
|
+
lI as iD,
|
22814
|
+
cI as iE,
|
22815
|
+
Ii as iF,
|
22816
|
+
Uh as iG,
|
22817
|
+
GI as iH,
|
22818
|
+
ms as iI,
|
22819
|
+
Oi as iJ,
|
22820
|
+
HI as iK,
|
22821
|
+
YI as iL,
|
22822
|
+
Ze as iM,
|
22823
|
+
$h as iN,
|
22824
|
+
Hc as iO,
|
22825
|
+
KI as iP,
|
22826
|
+
Fh as iQ,
|
22827
|
+
Vh as iR,
|
22828
|
+
WI as iS,
|
22829
|
+
zI as iT,
|
22830
|
+
qI as iU,
|
22831
|
+
wi as iV,
|
22832
|
+
Gh as iW,
|
22833
|
+
qr as iX,
|
22831
22834
|
Di as iY,
|
22832
|
-
|
22833
|
-
|
22834
|
-
|
22835
|
-
|
22836
|
-
|
22837
|
-
|
22838
|
-
|
22839
|
-
|
22840
|
-
|
22841
|
-
|
22842
|
-
|
22843
|
-
|
22844
|
-
|
22845
|
-
|
22846
|
-
|
22847
|
-
|
22848
|
-
|
22849
|
-
|
22850
|
-
|
22851
|
-
|
22852
|
-
|
22853
|
-
|
22854
|
-
|
22855
|
-
|
22856
|
-
|
22857
|
-
|
22835
|
+
Yh as iZ,
|
22836
|
+
Kh as i_,
|
22837
|
+
On as ia,
|
22838
|
+
Va as ib,
|
22839
|
+
_y as ic,
|
22840
|
+
YE as id,
|
22841
|
+
fy as ie,
|
22842
|
+
hy as ig,
|
22843
|
+
gy as ih,
|
22844
|
+
mg as ii,
|
22845
|
+
Xc as ij,
|
22846
|
+
xy as ik,
|
22847
|
+
Ey as il,
|
22848
|
+
Xe as im,
|
22849
|
+
zr as io,
|
22850
|
+
Io as ip,
|
22851
|
+
Kf as iq,
|
22852
|
+
Wf as ir,
|
22853
|
+
zf as is,
|
22854
|
+
Bc as it,
|
22855
|
+
Ai as iu,
|
22856
|
+
qf as iv,
|
22857
|
+
$c as iw,
|
22858
|
+
nI as ix,
|
22859
|
+
Jf as iy,
|
22860
|
+
aI as iz,
|
22858
22861
|
MC as j,
|
22859
|
-
|
22860
|
-
|
22861
|
-
|
22862
|
-
|
22863
|
-
|
22864
|
-
|
22865
|
-
|
22866
|
-
|
22867
|
-
|
22868
|
-
|
22869
|
-
|
22870
|
-
|
22871
|
-
|
22872
|
-
|
22873
|
-
|
22874
|
-
|
22875
|
-
|
22876
|
-
|
22877
|
-
|
22878
|
-
|
22879
|
-
|
22880
|
-
|
22881
|
-
|
22882
|
-
|
22883
|
-
|
22884
|
-
|
22885
|
-
|
22886
|
-
|
22887
|
-
|
22888
|
-
|
22889
|
-
|
22890
|
-
|
22891
|
-
|
22892
|
-
|
22893
|
-
|
22894
|
-
|
22895
|
-
|
22896
|
-
|
22897
|
-
|
22898
|
-
|
22899
|
-
|
22900
|
-
|
22901
|
-
|
22902
|
-
|
22903
|
-
|
22904
|
-
|
22905
|
-
|
22906
|
-
|
22907
|
-
|
22908
|
-
|
22909
|
-
|
22910
|
-
|
22911
|
-
|
22912
|
-
|
22913
|
-
|
22914
|
-
|
22915
|
-
|
22916
|
-
|
22917
|
-
|
22918
|
-
|
22919
|
-
|
22920
|
-
|
22921
|
-
|
22922
|
-
|
22862
|
+
ta as j$,
|
22863
|
+
Yc as j0,
|
22864
|
+
XI as j1,
|
22865
|
+
Wh as j2,
|
22866
|
+
zh as j3,
|
22867
|
+
JI as j4,
|
22868
|
+
qh as j5,
|
22869
|
+
Xh as j6,
|
22870
|
+
Lo as j7,
|
22871
|
+
Kc as j8,
|
22872
|
+
yn as j9,
|
22873
|
+
p_ as jA,
|
22874
|
+
or as jB,
|
22875
|
+
x0 as jC,
|
22876
|
+
id as jD,
|
22877
|
+
E0 as jE,
|
22878
|
+
N0 as jF,
|
22879
|
+
ps as jG,
|
22880
|
+
b0 as jH,
|
22881
|
+
_d as jI,
|
22882
|
+
hd as jJ,
|
22883
|
+
C0 as jK,
|
22884
|
+
T0 as jL,
|
22885
|
+
Qn as jM,
|
22886
|
+
ea as jN,
|
22887
|
+
IA as jO,
|
22888
|
+
__ as jP,
|
22889
|
+
yA as jQ,
|
22890
|
+
f_ as jR,
|
22891
|
+
Fr as jS,
|
22892
|
+
Ec as jT,
|
22893
|
+
h_ as jU,
|
22894
|
+
Nn as jV,
|
22895
|
+
da as jW,
|
22896
|
+
Vr as jX,
|
22897
|
+
W as jY,
|
22898
|
+
$e as jZ,
|
22899
|
+
ht as j_,
|
22900
|
+
ZI as ja,
|
22901
|
+
ar as jb,
|
22902
|
+
s_ as jc,
|
22903
|
+
te as jd,
|
22904
|
+
$r as je,
|
22905
|
+
n_ as jf,
|
22906
|
+
So as jg,
|
22907
|
+
ks as jh,
|
22908
|
+
a_ as ji,
|
22909
|
+
r_ as jj,
|
22910
|
+
gc as jk,
|
22911
|
+
nt as jl,
|
22912
|
+
vo as jm,
|
22913
|
+
o_ as jn,
|
22914
|
+
vn as jo,
|
22915
|
+
St as jp,
|
22916
|
+
i_ as jq,
|
22917
|
+
l_ as jr,
|
22918
|
+
ca as js,
|
22919
|
+
c_ as jt,
|
22920
|
+
xc as ju,
|
22921
|
+
AA as jv,
|
22922
|
+
d_ as jw,
|
22923
|
+
u_ as jx,
|
22924
|
+
m_ as jy,
|
22925
|
+
dt as jz,
|
22923
22926
|
Ct as k,
|
22924
|
-
|
22925
|
-
|
22926
|
-
|
22927
|
-
|
22928
|
-
|
22929
|
-
|
22930
|
-
|
22931
|
-
|
22932
|
-
|
22933
|
-
|
22934
|
-
|
22935
|
-
|
22936
|
-
|
22937
|
-
|
22938
|
-
|
22939
|
-
|
22940
|
-
|
22941
|
-
|
22942
|
-
|
22943
|
-
|
22944
|
-
|
22945
|
-
|
22946
|
-
|
22947
|
-
|
22948
|
-
|
22949
|
-
|
22950
|
-
|
22951
|
-
|
22952
|
-
|
22953
|
-
|
22954
|
-
|
22955
|
-
|
22956
|
-
|
22957
|
-
|
22958
|
-
|
22959
|
-
|
22960
|
-
|
22961
|
-
|
22962
|
-
|
22963
|
-
|
22964
|
-
|
22965
|
-
|
22966
|
-
|
22967
|
-
|
22968
|
-
|
22969
|
-
|
22970
|
-
|
22971
|
-
|
22972
|
-
|
22973
|
-
|
22974
|
-
|
22975
|
-
|
22976
|
-
|
22977
|
-
|
22978
|
-
|
22979
|
-
|
22980
|
-
|
22981
|
-
|
22982
|
-
Rt as kx,
|
22983
|
-
Yr as ky,
|
22984
|
-
Qe as kz,
|
22927
|
+
ue as k0,
|
22928
|
+
g_ as k1,
|
22929
|
+
Gr as k2,
|
22930
|
+
x_ as k3,
|
22931
|
+
E_ as k4,
|
22932
|
+
N_ as k5,
|
22933
|
+
si as k6,
|
22934
|
+
b_ as k7,
|
22935
|
+
ni as k8,
|
22936
|
+
U as k9,
|
22937
|
+
Jh as kA,
|
22938
|
+
Zh as kB,
|
22939
|
+
Qh as kC,
|
22940
|
+
eg as kD,
|
22941
|
+
QI as kE,
|
22942
|
+
e0 as kF,
|
22943
|
+
tg as kG,
|
22944
|
+
De as kH,
|
22945
|
+
t0 as kI,
|
22946
|
+
Ee as kJ,
|
22947
|
+
Wc as kK,
|
22948
|
+
$o as kL,
|
22949
|
+
TE as kM,
|
22950
|
+
SE as kN,
|
22951
|
+
vE as kO,
|
22952
|
+
AE as kP,
|
22953
|
+
vd as kQ,
|
22954
|
+
Jx as kR,
|
22955
|
+
M0 as kS,
|
22956
|
+
aE as kT,
|
22957
|
+
U0 as kU,
|
22958
|
+
uC as kV,
|
22959
|
+
Nc as ka,
|
22960
|
+
C_ as kb,
|
22961
|
+
jA as kc,
|
22962
|
+
RA as kd,
|
22963
|
+
LA as ke,
|
22964
|
+
OA as kf,
|
22965
|
+
Ta as kg,
|
22966
|
+
T_ as kh,
|
22967
|
+
S_ as ki,
|
22968
|
+
v_ as kj,
|
22969
|
+
wA as kk,
|
22970
|
+
DA as kl,
|
22971
|
+
ai as km,
|
22972
|
+
A_ as kn,
|
22973
|
+
I_ as ko,
|
22974
|
+
PA as kp,
|
22975
|
+
V_ as kq,
|
22976
|
+
_n as kr,
|
22977
|
+
G_ as ks,
|
22978
|
+
ve as kt,
|
22979
|
+
Rt as ku,
|
22980
|
+
Hr as kv,
|
22981
|
+
Qe as kw,
|
22982
|
+
cs as kx,
|
22983
|
+
sr as ky,
|
22984
|
+
vc as kz,
|
22985
22985
|
HC as l,
|
22986
22986
|
sj as m,
|
22987
22987
|
kt as n,
|
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,
|
22995
22995
|
jt as v,
|
22996
|
-
|
22996
|
+
H as w,
|
22997
22997
|
mA as x,
|
22998
22998
|
Be as y,
|
22999
22999
|
Mp as z
|