@devtron-labs/devtron-fe-common-lib 1.4.9 → 1.5.1-beta-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/{@code-editor-BOLaG1cq.js → @code-editor-nJMq__nd.js} +7953 -6725
  2. package/dist/{@common-rjsf-D95ycdjG.js → @common-rjsf-D_HM1zib.js} +78 -78
  3. package/dist/{@framer-motion-CdgdF0KV.js → @framer-motion-CtC3e2uC.js} +1 -1
  4. package/dist/{@react-dates-CtQV2TLr.js → @react-dates-BlBjJ115.js} +31 -31
  5. package/dist/{@react-select-Cn3OpC9h.js → @react-select-CjYy5-X-.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-CVJYfMx0.js → @react-virtualized-sticky-tree-DCAYOwGQ.js} +1 -1
  7. package/dist/{@vendor-CwAQS8iU.js → @vendor-CB7cq1II.js} +10317 -9365
  8. package/dist/Common/Constants.d.ts +6 -0
  9. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtilityContext.d.ts +3 -0
  10. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  11. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +7 -1
  12. package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +1 -0
  13. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +2 -0
  14. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +115 -51
  15. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +5 -2
  16. package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +11 -0
  17. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +1 -1
  18. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  19. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +5 -4
  20. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -5
  21. package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +3 -0
  22. package/dist/Shared/Components/CMCS/constants.d.ts +23 -0
  23. package/dist/Shared/Components/CMCS/helpers.d.ts +1 -0
  24. package/dist/Shared/Components/CMCS/index.d.ts +6 -0
  25. package/dist/Shared/Components/CMCS/types.d.ts +24 -0
  26. package/dist/Shared/Components/CMCS/utils.d.ts +17 -0
  27. package/dist/Shared/Components/CMCS/validations.d.ts +3 -0
  28. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +5 -0
  29. package/dist/Shared/Components/ConfirmationModal/types.d.ts +4 -0
  30. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.constants.d.ts +1 -0
  31. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +2 -0
  32. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +1 -1
  33. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +4 -0
  34. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +3 -0
  35. package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +3 -0
  36. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +2 -0
  37. package/dist/Shared/Components/FloatingVariablesSuggestions/constants.d.ts +7 -0
  38. package/dist/Shared/Components/FloatingVariablesSuggestions/index.d.ts +1 -0
  39. package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +2 -0
  40. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +39 -0
  41. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityCard.d.ts +1 -1
  42. package/dist/Shared/Components/Security/SecurityDetailsCards/types.d.ts +2 -1
  43. package/dist/Shared/Components/Security/utils.d.ts +3 -0
  44. package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +3 -0
  45. package/dist/Shared/Components/ToggleResolveScopedVariables/index.d.ts +1 -0
  46. package/dist/Shared/Components/ToggleResolveScopedVariables/types.d.ts +10 -0
  47. package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +2 -0
  48. package/dist/Shared/Components/UnsavedChanges/index.d.ts +1 -0
  49. package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +3 -0
  50. package/dist/Shared/Components/UnsavedChangesDialog/index.d.ts +1 -0
  51. package/dist/Shared/Components/UnsavedChangesDialog/types.d.ts +5 -0
  52. package/dist/Shared/Components/index.d.ts +5 -0
  53. package/dist/Shared/Hooks/useForm/useForm.d.ts +7 -2
  54. package/dist/Shared/Services/app.types.d.ts +72 -1
  55. package/dist/Shared/Services/index.d.ts +1 -0
  56. package/dist/Shared/validations.d.ts +4 -0
  57. package/dist/assets/@code-editor.css +1 -1
  58. package/dist/assets/ic-view-variable-toggle.93c3599f.svg +19 -0
  59. package/dist/index.js +717 -680
  60. package/package.json +3 -3
  61. package/dist/assets/ic-view-variable-toggle.c335dfa0.svg +0 -24
@@ -1,8 +1,8 @@
1
- import { j as n, J as A } from "./@vendor-CwAQS8iU.js";
2
- import E, { forwardRef as $ } from "react";
1
+ import { j as n, J as $ } from "./@vendor-CB7cq1II.js";
2
+ import A, { forwardRef as E } from "react";
3
3
  import L, { getDefaultRegistry as k } from "@rjsf/core";
4
4
  import D from "@rjsf/validator-ajv8";
5
- import { T as y, c as H, a as U, i as J, d as w } from "./@code-editor-BOLaG1cq.js";
5
+ import { T as y, c as H, a as U, i as J, d as w } from "./@code-editor-nJMq__nd.js";
6
6
  import M, { components as O } from "react-select";
7
7
  import { getUiOptions as B, getTemplate as I, getSubmitButtonOptions as V, ADDITIONAL_PROPERTY_FLAG as P, errorId as W, englishStringTranslator as q, TranslatableString as K, titleId as Y, canExpand as z, deepEquals as G } from "@rjsf/utils";
8
8
  import { ReactComponent as Q } from "./assets/ic-chevron-down.fc70d7a7.svg";
@@ -13,15 +13,15 @@ import './assets/@common-rjsf.css';const N = {
13
13
  SELECT: "Please select an option",
14
14
  INPUT: "Please enter an input",
15
15
  OBJECT_KEY: "Please enter a value for the key"
16
- }, te = "Key not available", $e = {
16
+ }, te = "Key not available", Ee = {
17
17
  "ui:submitButtonOptions": {
18
18
  norender: !0
19
19
  }
20
20
  }, b = ({
21
21
  showLabel: t,
22
22
  label: e,
23
- required: s,
24
- children: o,
23
+ required: o,
24
+ children: s,
25
25
  id: r,
26
26
  rawDescription: a,
27
27
  shouldAlignCenter: i = !0
@@ -32,12 +32,12 @@ import './assets/@common-rjsf.css';const N = {
32
32
  children: [
33
33
  t && /* @__PURE__ */ n.jsxs("label", { className: "cn-7 fs-13 lh-20 fw-4 flexbox mb-0", htmlFor: r, children: [
34
34
  /* @__PURE__ */ n.jsx(y, { alwaysShowTippyOnHover: !!a, content: a, children: /* @__PURE__ */ n.jsx("span", { className: `dc__ellipsis-right ${a ? "text-underline-dashed-300" : ""}`, children: e || te }) }),
35
- s && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
35
+ o && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
36
36
  ] }),
37
- o
37
+ s
38
38
  ]
39
39
  }
40
- ), S = ({ label: t, canAdd: e, onAddClick: s, disabled: o, readonly: r, uiSchema: a, registry: i }) => {
40
+ ), S = ({ label: t, canAdd: e, onAddClick: o, disabled: s, readonly: r, uiSchema: a, registry: i }) => {
41
41
  const {
42
42
  ButtonTemplates: { AddButton: c }
43
43
  } = i.templates;
@@ -45,8 +45,8 @@ import './assets/@common-rjsf.css';const N = {
45
45
  c,
46
46
  {
47
47
  label: t,
48
- onClick: s,
49
- disabled: o || r,
48
+ onClick: o,
49
+ disabled: s || r,
50
50
  uiSchema: a,
51
51
  registry: i
52
52
  }
@@ -54,8 +54,8 @@ import './assets/@common-rjsf.css';const N = {
54
54
  }, ne = ({
55
55
  canAdd: t,
56
56
  className: e,
57
- disabled: s,
58
- idSchema: o,
57
+ disabled: o,
58
+ idSchema: s,
59
59
  uiSchema: r,
60
60
  items: a,
61
61
  onAddClick: i,
@@ -65,7 +65,7 @@ import './assets/@common-rjsf.css';const N = {
65
65
  title: f
66
66
  }) => {
67
67
  const p = B(r), u = I("ArrayFieldItemTemplate", l, p), m = p.title || f;
68
- return /* @__PURE__ */ n.jsx("fieldset", { className: e, id: o.$id, children: a.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
68
+ return /* @__PURE__ */ n.jsx("fieldset", { className: e, id: s.$id, children: a.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
69
69
  a.map(({ key: j, ...x }, g) => {
70
70
  const h = {
71
71
  ...x.children,
@@ -81,29 +81,29 @@ import './assets/@common-rjsf.css';const N = {
81
81
  label: m,
82
82
  canAdd: t,
83
83
  onAddClick: i,
84
- disabled: s,
84
+ disabled: o,
85
85
  readonly: c,
86
86
  uiSchema: r,
87
87
  registry: l
88
88
  }
89
89
  )
90
- ] }) : /* @__PURE__ */ n.jsx(b, { label: m, required: d, showLabel: !0, id: o.$id, children: /* @__PURE__ */ n.jsx(
90
+ ] }) : /* @__PURE__ */ n.jsx(b, { label: m, required: d, showLabel: !0, id: s.$id, children: /* @__PURE__ */ n.jsx(
91
91
  S,
92
92
  {
93
93
  label: m,
94
94
  canAdd: t,
95
95
  onAddClick: i,
96
- disabled: s,
96
+ disabled: o,
97
97
  readonly: c,
98
98
  uiSchema: r,
99
99
  registry: l
100
100
  }
101
101
  ) }) });
102
- }, se = ({
102
+ }, oe = ({
103
103
  children: t,
104
104
  disabled: e,
105
- hasToolbar: s,
106
- hasRemove: o,
105
+ hasToolbar: o,
106
+ hasRemove: s,
107
107
  index: r,
108
108
  onDropIndexClick: a,
109
109
  readonly: i,
@@ -113,7 +113,7 @@ import './assets/@common-rjsf.css';const N = {
113
113
  const { RemoveButton: d } = c.templates.ButtonTemplates;
114
114
  return /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel display-grid rjsf-form-template__array-field-item flex-align-center", children: [
115
115
  t,
116
- /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: s && o && /* @__PURE__ */ n.jsx(
116
+ /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: o && s && /* @__PURE__ */ n.jsx(
117
117
  d,
118
118
  {
119
119
  disabled: e || i,
@@ -124,9 +124,9 @@ import './assets/@common-rjsf.css';const N = {
124
124
  ) })
125
125
  ] });
126
126
  }, {
127
- templates: { BaseInputTemplate: oe }
127
+ templates: { BaseInputTemplate: se }
128
128
  } = k(), re = ({ placeholder: t, ...e }) => /* @__PURE__ */ n.jsx(
129
- oe,
129
+ se,
130
130
  {
131
131
  placeholder: t || N.INPUT,
132
132
  ...e,
@@ -135,8 +135,8 @@ import './assets/@common-rjsf.css';const N = {
135
135
  ), R = ({
136
136
  label: t,
137
137
  icon: e,
138
- iconType: s,
139
- registry: o,
138
+ iconType: o,
139
+ registry: s,
140
140
  uiSchema: r,
141
141
  ...a
142
142
  }) => {
@@ -154,22 +154,22 @@ import './assets/@common-rjsf.css';const N = {
154
154
  ]
155
155
  }
156
156
  ) });
157
- }, ae = ({ icon: t, iconType: e, registry: s, uiSchema: o, ...r }) => /* @__PURE__ */ n.jsx("button", { ...r, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ n.jsx(Z, { className: "icon-dim-16 fcn-6" }) }), ie = ({ uiSchema: t }) => {
158
- const { submitText: e, norender: s, props: o = {} } = V(t);
159
- return s ? null : /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-end", children: /* @__PURE__ */ n.jsx("button", { type: "submit", ...o, className: `cta ${o.className || ""}`, children: e }) });
157
+ }, ae = ({ icon: t, iconType: e, registry: o, uiSchema: s, ...r }) => /* @__PURE__ */ n.jsx("button", { ...r, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ n.jsx(Z, { className: "icon-dim-16 fcn-6" }) }), ie = ({ uiSchema: t }) => {
158
+ const { submitText: e, norender: o, props: s = {} } = V(t);
159
+ return o ? null : /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-end", children: /* @__PURE__ */ n.jsx("button", { type: "submit", ...s, className: `cta ${s.className || ""}`, children: e }) });
160
160
  }, T = ({
161
161
  id: t,
162
162
  title: e,
163
- required: s,
164
- description: o
165
- }) => /* @__PURE__ */ n.jsxs("legend", { className: "fs-13 fw-6 cn-9 lh-20 dc__no-border py-9 mb-0", id: t, children: [
166
- /* @__PURE__ */ n.jsx(y, { alwaysShowTippyOnHover: !!o, content: o, children: /* @__PURE__ */ n.jsx("span", { className: `${o ? "text-underline-dashed-300" : ""}`, children: e }) }),
167
- s && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
163
+ required: o,
164
+ description: s
165
+ }) => /* @__PURE__ */ n.jsxs("legend", { className: "fs-13 fw-6 cn-9 lh-20 dc__no-border pb-9 mb-0", id: t, children: [
166
+ /* @__PURE__ */ n.jsx(y, { alwaysShowTippyOnHover: !!s, content: s, children: /* @__PURE__ */ n.jsx("span", { className: `${s ? "text-underline-dashed-300" : ""}`, children: e }) }),
167
+ o && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
168
168
  ] }), le = (t) => {
169
169
  const {
170
170
  id: e,
171
- label: s,
172
- children: o,
171
+ label: o,
172
+ children: s,
173
173
  errors: r,
174
174
  hidden: a,
175
175
  required: i,
@@ -184,14 +184,14 @@ import './assets/@common-rjsf.css';const N = {
184
184
  l,
185
185
  m
186
186
  ), x = P in p, g = (c || p.type === "boolean") && !x, h = p.type === "array";
187
- return a ? /* @__PURE__ */ n.jsx("div", { className: "hidden", children: o }) : (
187
+ return a ? /* @__PURE__ */ n.jsx("div", { className: "hidden", children: s }) : (
188
188
  // NOTE: need to override the margins of default rjsf css
189
189
  /* @__PURE__ */ n.jsxs("div", { className: `${f} mb-0`, children: [
190
190
  h && /* @__PURE__ */ n.jsx(
191
191
  T,
192
192
  {
193
193
  id: e,
194
- title: s,
194
+ title: o,
195
195
  required: i,
196
196
  registry: l,
197
197
  uiSchema: d,
@@ -202,24 +202,24 @@ import './assets/@common-rjsf.css';const N = {
202
202
  /* @__PURE__ */ n.jsx(
203
203
  b,
204
204
  {
205
- label: s,
205
+ label: o,
206
206
  showLabel: g,
207
207
  id: e,
208
208
  required: i,
209
209
  rawDescription: u,
210
- children: /* @__PURE__ */ n.jsx(j, { ...t, children: o })
210
+ children: /* @__PURE__ */ n.jsx(j, { ...t, children: s })
211
211
  }
212
212
  ),
213
213
  r
214
214
  ] })
215
215
  );
216
216
  }, ce = ({ errors: t = [], idSchema: e }) => {
217
- const s = W(e);
218
- return t.length > 0 && /* @__PURE__ */ n.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: s, children: t.filter((o) => !!o).map((o, r) => /* @__PURE__ */ n.jsxs(E.Fragment, { children: [
217
+ const o = W(e);
218
+ return t.length > 0 && /* @__PURE__ */ n.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: o, children: t.filter((s) => !!s).map((s, r) => /* @__PURE__ */ n.jsxs(A.Fragment, { children: [
219
219
  /* @__PURE__ */ n.jsx("span", {}),
220
220
  /* @__PURE__ */ n.jsxs("span", { className: "form__error", children: [
221
221
  /* @__PURE__ */ n.jsx(ee, { className: "form__icon form__icon--error" }),
222
- o
222
+ s
223
223
  ] })
224
224
  ] }, r)) });
225
225
  }, de = (t, e) => {
@@ -236,33 +236,33 @@ import './assets/@common-rjsf.css';const N = {
236
236
  paddingBottom: 0,
237
237
  cursor: "pointer"
238
238
  }),
239
- control: (e, s) => ({
239
+ control: (e, o) => ({
240
240
  ...e,
241
241
  minHeight: "32px",
242
242
  boxShadow: "none",
243
243
  backgroundColor: "var(--bg-secondary)",
244
- border: s.isFocused ? "1px solid var(--B500)" : "1px solid var(--N200)",
244
+ border: o.isFocused ? "1px solid var(--B500)" : "1px solid var(--N200)",
245
245
  cursor: "pointer"
246
246
  }),
247
- option: (e, s) => ({
247
+ option: (e, o) => ({
248
248
  ...e,
249
249
  color: "var(--N900)",
250
- backgroundColor: s.isFocused ? "var(--N100)" : "var(--bg-primary)",
250
+ backgroundColor: o.isFocused ? "var(--N100)" : "var(--bg-primary)",
251
251
  padding: "10px 12px",
252
252
  cursor: "pointer"
253
253
  }),
254
- dropdownIndicator: (e, s) => ({
254
+ dropdownIndicator: (e, o) => ({
255
255
  ...e,
256
256
  color: "var(--N400)",
257
257
  padding: "0 8px",
258
258
  transition: "all .2s ease",
259
- transform: s.selectProps.menuIsOpen ? "rotate(180deg)" : "rotate(0deg)"
259
+ transform: o.selectProps.menuIsOpen ? "rotate(180deg)" : "rotate(0deg)"
260
260
  }),
261
- valueContainer: (e, s) => ({
261
+ valueContainer: (e, o) => ({
262
262
  ...e,
263
263
  padding: "0 8px",
264
264
  fontWeight: "400",
265
- color: s.selectProps.menuIsOpen ? "var(--N500)" : e.color
265
+ color: o.selectProps.menuIsOpen ? "var(--N500)" : e.color
266
266
  }),
267
267
  loadingMessage: (e) => ({
268
268
  ...e,
@@ -348,8 +348,8 @@ import './assets/@common-rjsf.css';const N = {
348
348
  }, ue = ({
349
349
  disabled: t,
350
350
  formData: e,
351
- idSchema: s,
352
- onAddClick: o,
351
+ idSchema: o,
352
+ onAddClick: s,
353
353
  properties: r,
354
354
  readonly: a,
355
355
  registry: i,
@@ -364,7 +364,7 @@ import './assets/@common-rjsf.css';const N = {
364
364
  {
365
365
  label: d,
366
366
  className: "object-property-expand",
367
- onClick: o(l),
367
+ onClick: s(l),
368
368
  disabled: t || a,
369
369
  uiSchema: f,
370
370
  registry: i
@@ -379,7 +379,7 @@ import './assets/@common-rjsf.css';const N = {
379
379
  throw new Error("Empty path property of hidden descriptor field");
380
380
  if (!h.path.match(/^\/\w+(\/\w+)*$/g))
381
381
  throw new Error("Provided path is not a valid JSON pointer");
382
- const _ = A({
382
+ const _ = $({
383
383
  path: H(h.path),
384
384
  json: p
385
385
  })?.[0];
@@ -395,35 +395,35 @@ import './assets/@common-rjsf.css';const N = {
395
395
  label: d,
396
396
  required: c,
397
397
  showLabel: !0,
398
- id: s.$id,
398
+ id: o.$id,
399
399
  shouldAlignCenter: !1,
400
400
  children: /* @__PURE__ */ n.jsx("div", { children: j })
401
401
  }
402
402
  ),
403
403
  m
404
- ] }) : /* @__PURE__ */ n.jsx(b, { label: d, required: c, showLabel: !0, id: s.$id, children: m }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
404
+ ] }) : /* @__PURE__ */ n.jsx(b, { label: d, required: c, showLabel: !0, id: o.$id, children: m }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
405
405
  j,
406
406
  m
407
407
  ] });
408
408
  }, he = (t) => {
409
- const { idSchema: e, registry: s, required: o, schema: r, title: a, uiSchema: i, description: c } = t, l = !!r.additionalProperties, d = a && !l;
409
+ const { idSchema: e, registry: o, required: s, schema: r, title: a, uiSchema: i, description: c } = t, l = !!r.additionalProperties, d = a && !l;
410
410
  return /* @__PURE__ */ n.jsxs("fieldset", { id: e.$id, children: [
411
411
  d && /* @__PURE__ */ n.jsx(
412
412
  T,
413
413
  {
414
414
  id: Y(e),
415
415
  title: a,
416
- required: o,
416
+ required: s,
417
417
  schema: r,
418
418
  uiSchema: i,
419
- registry: s,
419
+ registry: o,
420
420
  description: c
421
421
  }
422
422
  ),
423
423
  /* @__PURE__ */ n.jsx(
424
424
  "div",
425
425
  {
426
- className: `${r.properties && !l && e.$id !== "root" ? "dc__border-left pl-12" : ""} flexbox-col dc__gap-8`,
426
+ className: `${r.properties && !l && e.$id !== "root" ? "dc__border-left pl-12" : ""} ${e.$id === "root" ? "dc__separated-flexbox dc__separated-flexbox--vertical" : "flexbox-col dc__gap-8"}`,
427
427
  children: /* @__PURE__ */ n.jsx(ue, { ...t })
428
428
  }
429
429
  )
@@ -431,8 +431,8 @@ import './assets/@common-rjsf.css';const N = {
431
431
  }, fe = ({
432
432
  id: t,
433
433
  disabled: e,
434
- label: s,
435
- onKeyChange: o,
434
+ label: o,
435
+ onKeyChange: s,
436
436
  onDropPropertyClick: r,
437
437
  readonly: a,
438
438
  schema: i,
@@ -448,9 +448,9 @@ import './assets/@common-rjsf.css';const N = {
448
448
  type: "text",
449
449
  className: "form__input cn-9 fs-13 lh-20 fw-4",
450
450
  id: `${t}-key`,
451
- onBlur: (m) => o(m.target.value),
451
+ onBlur: (m) => s(m.target.value),
452
452
  placeholder: N.OBJECT_KEY,
453
- defaultValue: s
453
+ defaultValue: o
454
454
  }
455
455
  ) }),
456
456
  /* @__PURE__ */ n.jsx("div", { children: c }),
@@ -458,7 +458,7 @@ import './assets/@common-rjsf.css';const N = {
458
458
  p,
459
459
  {
460
460
  disabled: e || a,
461
- onClick: r(s),
461
+ onClick: r(o),
462
462
  uiSchema: l,
463
463
  registry: d
464
464
  }
@@ -467,8 +467,8 @@ import './assets/@common-rjsf.css';const N = {
467
467
  }, xe = ({
468
468
  id: t,
469
469
  onChange: e,
470
- value: s,
471
- required: o,
470
+ value: o,
471
+ required: s,
472
472
  disabled: r,
473
473
  readonly: a,
474
474
  autofocus: i,
@@ -478,7 +478,7 @@ import './assets/@common-rjsf.css';const N = {
478
478
  const d = (p, u) => {
479
479
  const { id: m, checked: j } = p.target;
480
480
  u === "blur" ? c(m, j) : u === "focus" && l(m, j);
481
- }, f = J(s) ? !1 : s;
481
+ }, f = J(o) ? !1 : o;
482
482
  return /* @__PURE__ */ n.jsxs("div", { children: [
483
483
  /* @__PURE__ */ n.jsx(
484
484
  U,
@@ -487,7 +487,7 @@ import './assets/@common-rjsf.css';const N = {
487
487
  onSelect: e,
488
488
  id: t,
489
489
  name: t,
490
- required: o,
490
+ required: s,
491
491
  disabled: r || a,
492
492
  autoFocus: i,
493
493
  rootClassName: "w-32 mb-0 dc__height-inherit",
@@ -500,8 +500,8 @@ import './assets/@common-rjsf.css';const N = {
500
500
  }, F = pe(), ge = ({ children: t, ...e }) => /* @__PURE__ */ n.jsx(O.MenuList, { ...e, children: Array.isArray(t) ? t.slice(0, 20) : t }), je = (t) => /* @__PURE__ */ n.jsx(O.DropdownIndicator, { ...t, children: /* @__PURE__ */ n.jsx(Q, { className: "icon-dim-20 icon-n5", "data-testid": "overview-project-edit-dropdown" }) }), _e = (t) => {
501
501
  const {
502
502
  id: e,
503
- multiple: s = !1,
504
- options: o,
503
+ multiple: o = !1,
504
+ options: s,
505
505
  value: r,
506
506
  disabled: a,
507
507
  readonly: i,
@@ -510,15 +510,15 @@ import './assets/@common-rjsf.css';const N = {
510
510
  onBlur: d,
511
511
  onFocus: f,
512
512
  placeholder: p
513
- } = t, { enumOptions: u = [] } = o, m = s ? [] : "", j = (g) => {
514
- l(s ? g.map((h) => h.value) : g.value);
515
- }, x = (g) => s ? u.filter((h) => g.some((_) => w(_, h.value))) : u.find((h) => w(g, h.value));
513
+ } = t, { enumOptions: u = [] } = s, m = o ? [] : "", j = (g) => {
514
+ l(o ? g.map((h) => h.value) : g.value);
515
+ }, x = (g) => o ? u.filter((h) => g.some((_) => w(_, h.value))) : u.find((h) => w(g, h.value));
516
516
  return /* @__PURE__ */ n.jsx(
517
517
  M,
518
518
  {
519
519
  id: e,
520
520
  name: e,
521
- isMulti: s,
521
+ isMulti: o,
522
522
  value: typeof r > "u" ? m : x(r),
523
523
  autoFocus: c,
524
524
  onChange: j,
@@ -547,7 +547,7 @@ import './assets/@common-rjsf.css';const N = {
547
547
  CheckboxWidget: xe,
548
548
  SelectWidget: _e
549
549
  }, ve = {
550
- ArrayFieldItemTemplate: se,
550
+ ArrayFieldItemTemplate: oe,
551
551
  ArrayFieldTemplate: ne,
552
552
  BaseInputTemplate: re,
553
553
  ButtonTemplates: { AddButton: R, RemoveButton: ae, SubmitButton: ie },
@@ -556,7 +556,7 @@ import './assets/@common-rjsf.css';const N = {
556
556
  ObjectFieldTemplate: he,
557
557
  TitleFieldTemplate: T,
558
558
  WrapIfAdditionalTemplate: fe
559
- }, ye = L, Ne = D, De = $((t, e) => /* @__PURE__ */ n.jsx(
559
+ }, ye = L, Ne = D, De = E((t, e) => /* @__PURE__ */ n.jsx(
560
560
  ye,
561
561
  {
562
562
  noHtml5Validate: !0,
@@ -576,7 +576,7 @@ import './assets/@common-rjsf.css';const N = {
576
576
  }
577
577
  ));
578
578
  export {
579
- $e as H,
579
+ Ee as H,
580
580
  De as R,
581
581
  Le as a,
582
582
  ke as g
@@ -1,4 +1,4 @@
1
- import { g as ct, l as m, o as I, p as Yr, q as we, r as T, t as at, v as zt, w as ae, x as Xe, y as J, z as kr, B as Qn, C as Xr, D as ti, E as ei, F as ri, G as ni, H as ii, I as Wr, K as ai, L as oi, M as si, N as ui, O as li, P as fi, S as ci, T as yt, U as k, V as pe, W as Zr, X as vi, Y as di, Z as W, $, a0 as pi, a1 as he, a2 as Dt, a3 as hi, a4 as mi, a5 as $r, a6 as Mt, a7 as O, a8 as me, a9 as gi, aa as oe, ab as yi } from "./@vendor-CwAQS8iU.js";
1
+ import { g as ct, l as m, o as I, p as Yr, q as we, r as T, t as at, v as zt, w as ae, x as Xe, y as J, z as kr, B as Qn, C as Xr, E as ti, F as ei, G as ri, H as ni, I as ii, K as Wr, L as ai, M as oi, N as si, O as ui, P as li, S as fi, T as ci, U as yt, V as k, W as pe, X as Zr, Y as vi, Z as di, $ as W, a0 as $, a1 as pi, a2 as he, a3 as Dt, a4 as hi, a5 as mi, a6 as $r, a7 as Mt, a8 as O, a9 as me, aa as gi, ab as oe, ac as yi } from "./@vendor-CB7cq1II.js";
2
2
  import * as K from "react";
3
3
  import Ee, { createContext as bt, useContext as F, useLayoutEffect as Pi, useEffect as G, useState as qr, useRef as q, useCallback as ge, useMemo as It, forwardRef as bi, createElement as Vi, cloneElement as Ti, Children as Si, isValidElement as xi } from "react";
4
4
  var We = "production", Le = typeof process > "u" || process.env === void 0 ? We : process.env.NODE_ENV || We, Q = function(t) {