@devtron-labs/devtron-fe-common-lib 1.2.7-beta-5 → 1.2.8-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 (72) hide show
  1. package/dist/{@code-editor-HL5a1btU.js → @code-editor-BEceVER4.js} +5708 -5783
  2. package/dist/{@common-rjsf-DFgZpQQ7.js → @common-rjsf--SfC2_Jn.js} +2 -2
  3. package/dist/{@framer-motion-DHY98qq3.js → @framer-motion-DHzxZlAx.js} +1 -1
  4. package/dist/@monaco-editor-CVagbUeH.js +138960 -0
  5. package/dist/{@react-dates-WNnwjI5S.js → @react-dates-BZU5RIqe.js} +1 -1
  6. package/dist/{@react-select-BbR996pa.js → @react-select-Dx53b3Wk.js} +50 -50
  7. package/dist/{@vendor-RU8AW1bK.js → @vendor-BG3OpQCq.js} +8756 -7936
  8. package/dist/Common/CIPipeline.Types.d.ts +5 -41
  9. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +2 -1
  10. package/dist/Common/CodeEditor/types.d.ts +2 -1
  11. package/dist/Common/Common.service.d.ts +3 -9
  12. package/dist/Common/Constants.d.ts +3 -4
  13. package/dist/Common/Helper.d.ts +3 -3
  14. package/dist/Common/Markdown/MarkDown.d.ts +1 -1
  15. package/dist/Common/RJSF/Form.d.ts +1 -1
  16. package/dist/Common/RJSF/index.d.ts +1 -1
  17. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +3 -0
  18. package/dist/Common/SegmentedControl/index.d.ts +2 -0
  19. package/dist/Common/SegmentedControl/types.d.ts +15 -0
  20. package/dist/Common/Types.d.ts +3 -15
  21. package/dist/Common/index.d.ts +1 -0
  22. package/dist/Pages/App/AppConfiguration/DeploymentTemplate/GUIView/index.d.ts +2 -0
  23. package/dist/Pages/App/AppConfiguration/DeploymentTemplate/GUIView/types.d.ts +2 -0
  24. package/dist/Pages/App/AppConfiguration/DeploymentTemplate/GUIView/utils.d.ts +6 -0
  25. package/dist/Pages/App/AppConfiguration/DeploymentTemplate/index.d.ts +1 -0
  26. package/dist/Pages/App/AppConfiguration/index.d.ts +1 -0
  27. package/dist/Pages/App/index.d.ts +1 -0
  28. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/index.d.ts +1 -0
  29. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +3 -0
  30. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +21 -3
  31. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +2 -1
  32. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +1 -0
  33. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +7 -0
  34. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/utils.d.ts +1 -1
  35. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +0 -1
  36. package/dist/Pages/Applications/DevtronApps/Details/index.d.ts +0 -1
  37. package/dist/Pages/index.d.ts +1 -0
  38. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +6 -0
  39. package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -5
  40. package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +2 -0
  41. package/dist/Shared/Components/EnterpriseTag/index.d.ts +1 -0
  42. package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -0
  43. package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +7 -0
  44. package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +2 -2
  45. package/dist/Shared/Components/index.d.ts +1 -1
  46. package/dist/Shared/Helpers.d.ts +5 -3
  47. package/dist/Shared/Hooks/useForm/useForm.d.ts +4 -0
  48. package/dist/Shared/Services/app.types.d.ts +4 -0
  49. package/dist/Shared/types.d.ts +7 -30
  50. package/dist/assets/@monaco-editor.css +1 -1
  51. package/dist/assets/codicon.ecfbfe4b.ttf +0 -0
  52. package/dist/assets/ic-file-code.80000c9b.svg +7 -0
  53. package/dist/assets/ic-medal.4a7e5cbc.svg +3 -0
  54. package/dist/assets/ic-stamp.526499d2.svg +7 -0
  55. package/dist/index.d.ts +2 -0
  56. package/dist/index.js +537 -536
  57. package/package.json +4 -4
  58. package/dist/@monaco-editor-34kqzg3G.js +0 -70451
  59. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +0 -7
  60. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +0 -1
  61. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +0 -1
  62. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +0 -3
  63. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +0 -3
  64. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +0 -11
  65. package/dist/Shared/Components/FileUpload/FileUpload.d.ts +0 -2
  66. package/dist/Shared/Components/FileUpload/index.d.ts +0 -2
  67. package/dist/Shared/Components/FileUpload/types.d.ts +0 -8
  68. package/dist/assets/ic-cloud-upload.18066e05.svg +0 -3
  69. package/dist/assets/ic-file-code.21a1f748.svg +0 -7
  70. package/dist/assets/ic-stamp.8689f42d.svg +0 -9
  71. package/dist/assets/ic-var-initial.afdaa854.svg +0 -25
  72. package/dist/yaml.worker.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import Te from "react";
2
- import { a9 as xe, aa as we, ab as ve, ac as lr, ad as Le, ae as Je, af as tt, ag as at, ah as et, ai as lt, aj as rt, ak as Xn, al as sr, am as Jn, an as bt, ao as Go, ap as dr, aq as eo, ar as to, as as ao, at as $o, au as Yo, av as ur, aw as Fe, ax as Rt, ay as Uo, az as cr, aA as Qo, aB as Cr, aC as Zo, aD as Xo, aE as Jo } from "./@vendor-RU8AW1bK.js";
2
+ import { ab as xe, ac as we, ad as ve, ae as lr, af as Le, ag as Je, ah as tt, ai as at, aj as et, ak as lt, al as rt, am as Xn, an as sr, ao as Jn, ap as bt, aq as Go, ar as dr, as as eo, at as to, au as ao, av as $o, aw as Yo, ax as ur, ay as Fe, az as Rt, aA as Uo, aB as cr, aC as Qo, aD as Cr, aE as Zo, aF as Xo, aG as Jo } from "./@vendor-BG3OpQCq.js";
3
3
  import { r as Ne, g as ei, h as ti } from "./@moment-C_WeV3Af.js";
4
4
  import './assets/@react-dates.css';var ro = {}, Wt = {}, jt = {}, Mr;
5
5
  function Ve() {
@@ -1,10 +1,10 @@
1
- import { aF as Gt, aG as xt, aH as Bt, aI as v, aJ as U, aK as xe, av as re, aL as h, aD as f, aM as Y, aN as Ft, aO as je, aP as Vt, aQ as Et, aR as yt, aS as Wt, aT as Xt, aU as ne } from "./@vendor-RU8AW1bK.js";
1
+ import { aH as Gt, aI as xt, aJ as Bt, aK as v, aL as U, aM as xe, ax as re, aN as h, aF as f, aO as Y, aP as Ft, aQ as je, aR as Vt, aS as Et, aT as yt, aU as Wt, aV as Xt, aW as ne } from "./@vendor-BG3OpQCq.js";
2
2
  import * as y from "react";
3
- import { useContext as Zt, useRef as j, useState as ee, createContext as Nt, useMemo as q, useCallback as T, Component as St, Fragment as Be, useEffect as Ue, forwardRef as Rt } from "react";
3
+ import { useContext as Zt, useRef as j, useState as ee, createContext as Nt, useMemo as q, useCallback as D, Component as St, Fragment as Be, useEffect as Ue, forwardRef as Rt } from "react";
4
4
  import { createPortal as Ht } from "react-dom";
5
- var Dt = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], de = function() {
5
+ var Tt = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], de = function() {
6
6
  };
7
- function Tt(a, t) {
7
+ function Dt(a, t) {
8
8
  return t ? t[0] === "-" ? a + t : a + "__" + t : a;
9
9
  }
10
10
  function Pt(a, t) {
@@ -13,7 +13,7 @@ function Pt(a, t) {
13
13
  var o = [].concat(n);
14
14
  if (t && a)
15
15
  for (var r in t)
16
- t.hasOwnProperty(r) && t[r] && o.push("".concat(Tt(a, r)));
16
+ t.hasOwnProperty(r) && t[r] && o.push("".concat(Dt(a, r)));
17
17
  return o.filter(function(s) {
18
18
  return s;
19
19
  }).map(function(s) {
@@ -24,7 +24,7 @@ var ge = function(t) {
24
24
  return jt(t) ? t.filter(Boolean) : Gt(t) === "object" && t !== null ? [t] : [];
25
25
  }, Qe = function(t) {
26
26
  t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
27
- var i = Y(t, Dt);
27
+ var i = Y(t, Tt);
28
28
  return v({}, i);
29
29
  }, N = function(t, i, n) {
30
30
  var e = t.cx, o = t.getStyles, r = t.getClassNames, s = t.className;
@@ -132,7 +132,7 @@ function Kt(a) {
132
132
  maxHeight: t
133
133
  };
134
134
  if (!i || !i.offsetParent) return l;
135
- var c = u.getBoundingClientRect(), d = c.height, b = i.getBoundingClientRect(), I = b.bottom, C = b.height, p = b.top, g = i.offsetParent.getBoundingClientRect(), m = g.top, B = r ? window.innerHeight : Lt(u), x = $e(u), G = parseInt(getComputedStyle(i).marginBottom, 10), V = parseInt(getComputedStyle(i).marginTop, 10), E = m - V, F = B - p, A = E + x, W = d - x - p, H = I - B + x + G, D = x + p - V, X = 160;
135
+ var c = u.getBoundingClientRect(), d = c.height, b = i.getBoundingClientRect(), I = b.bottom, C = b.height, p = b.top, g = i.offsetParent.getBoundingClientRect(), m = g.top, B = r ? window.innerHeight : Lt(u), x = $e(u), G = parseInt(getComputedStyle(i).marginBottom, 10), V = parseInt(getComputedStyle(i).marginTop, 10), E = m - V, F = B - p, A = E + x, W = d - x - p, H = I - B + x + G, T = x + p - V, X = 160;
136
136
  switch (e) {
137
137
  case "auto":
138
138
  case "bottom":
@@ -174,13 +174,13 @@ function Kt(a) {
174
174
  maxHeight: t
175
175
  };
176
176
  if (A >= C && !r)
177
- return o && le(u, D, X), {
177
+ return o && le(u, T, X), {
178
178
  placement: "top",
179
179
  maxHeight: t
180
180
  };
181
181
  if (!r && A >= n || r && E >= n) {
182
182
  var S = t;
183
- return (!r && A >= n || r && E >= n) && (S = r ? E - V : A - V), o && le(u, D, X), {
183
+ return (!r && A >= n || r && E >= n) && (S = r ? E - V : A - V), o && le(u, T, X), {
184
184
  placement: "top",
185
185
  maxHeight: S
186
186
  };
@@ -304,7 +304,7 @@ var _e = function(t) {
304
304
  return {
305
305
  setPortalPlacement: I
306
306
  };
307
- }, []), p = ee(null), g = U(p, 2), m = g[0], B = g[1], x = T(function() {
307
+ }, []), p = ee(null), g = U(p, 2), m = g[0], B = g[1], x = D(function() {
308
308
  if (e) {
309
309
  var F = Ot(e), A = s === "fixed" ? 0 : window.pageYOffset, W = F[b] + A;
310
310
  (W !== m?.offset || F.left !== m?.rect.left || F.width !== m?.rect.width) && B({
@@ -316,7 +316,7 @@ var _e = function(t) {
316
316
  xe(function() {
317
317
  x();
318
318
  }, [x]);
319
- var G = T(function() {
319
+ var G = D(function() {
320
320
  typeof l.current == "function" && (l.current(), l.current = null), e && u.current && (l.current = Ft(e, u.current, x, {
321
321
  elementResize: "ResizeObserver" in window
322
322
  }));
@@ -324,7 +324,7 @@ var _e = function(t) {
324
324
  xe(function() {
325
325
  G();
326
326
  }, [G]);
327
- var V = T(function(F) {
327
+ var V = D(function(F) {
328
328
  u.current = F, G();
329
329
  }, [G]);
330
330
  if (!i && s !== "fixed" || !m) return null;
@@ -556,7 +556,7 @@ var An = process.env.NODE_ENV === "production" ? {
556
556
  paddingBottom: n.baseUnit * 2,
557
557
  paddingTop: n.baseUnit * 2
558
558
  };
559
- }, Dn = function(t) {
559
+ }, Tn = function(t) {
560
560
  var i = t.children, n = t.cx, e = t.getStyles, o = t.getClassNames, r = t.Heading, s = t.headingProps, u = t.innerProps, l = t.label, c = t.theme, d = t.selectProps;
561
561
  return h("div", f({}, N(t, "group", {
562
562
  group: !0
@@ -567,7 +567,7 @@ var An = process.env.NODE_ENV === "production" ? {
567
567
  getClassNames: o,
568
568
  cx: n
569
569
  }), l), h("div", null, i));
570
- }, Tn = function(t, i) {
570
+ }, Dn = function(t, i) {
571
571
  var n = t.theme, e = n.colors, o = n.spacing;
572
572
  return v({
573
573
  label: "group",
@@ -589,7 +589,7 @@ var An = process.env.NODE_ENV === "production" ? {
589
589
  return h("div", f({}, N(t, "groupHeading", {
590
590
  "group-heading": !0
591
591
  }), n));
592
- }, Ln = Dn, wn = ["innerRef", "isDisabled", "isHidden", "inputClassName"], Mn = function(t, i) {
592
+ }, Ln = Tn, wn = ["innerRef", "isDisabled", "isHidden", "inputClassName"], Mn = function(t, i) {
593
593
  var n = t.isDisabled, e = t.value, o = t.theme, r = o.spacing, s = o.colors;
594
594
  return v(v({
595
595
  visibility: n ? "hidden" : "visible",
@@ -907,7 +907,7 @@ var gu = process.env.NODE_ENV === "production" ? {
907
907
  Z = A.onFocus(M);
908
908
  }
909
909
  return Z;
910
- }, [n, e, b, p, A, o, s, c]), D = q(function() {
910
+ }, [n, e, b, p, A, o, s, c]), T = q(function() {
911
911
  var Z = "";
912
912
  if (m && B.length && !V && A.onFilter) {
913
913
  var S = x({
@@ -940,7 +940,7 @@ var gu = process.env.NODE_ENV === "production" ? {
940
940
  id: "aria-focused"
941
941
  }, H), h("span", {
942
942
  id: "aria-results"
943
- }, D), h("span", {
943
+ }, T), h("span", {
944
944
  id: "aria-guidance"
945
945
  }, P));
946
946
  return h(Be, null, h(Re, {
@@ -1262,26 +1262,26 @@ var xu = function(t) {
1262
1262
  t.cancelable && t.preventDefault(), t.stopPropagation();
1263
1263
  };
1264
1264
  function Bu(a) {
1265
- var t = a.isEnabled, i = a.onBottomArrive, n = a.onBottomLeave, e = a.onTopArrive, o = a.onTopLeave, r = j(!1), s = j(!1), u = j(0), l = j(null), c = T(function(g, m) {
1265
+ var t = a.isEnabled, i = a.onBottomArrive, n = a.onBottomLeave, e = a.onTopArrive, o = a.onTopLeave, r = j(!1), s = j(!1), u = j(0), l = j(null), c = D(function(g, m) {
1266
1266
  if (l.current !== null) {
1267
1267
  var B = l.current, x = B.scrollTop, G = B.scrollHeight, V = B.clientHeight, E = l.current, F = m > 0, A = G - V - x, W = !1;
1268
1268
  A > m && r.current && (n && n(g), r.current = !1), F && s.current && (o && o(g), s.current = !1), F && m > A ? (i && !r.current && i(g), E.scrollTop = G, W = !0, r.current = !0) : !F && -m > x && (e && !s.current && e(g), E.scrollTop = 0, W = !0, s.current = !0), W && xu(g);
1269
1269
  }
1270
- }, [i, n, e, o]), d = T(function(g) {
1270
+ }, [i, n, e, o]), d = D(function(g) {
1271
1271
  c(g, g.deltaY);
1272
- }, [c]), b = T(function(g) {
1272
+ }, [c]), b = D(function(g) {
1273
1273
  u.current = g.changedTouches[0].clientY;
1274
- }, []), I = T(function(g) {
1274
+ }, []), I = D(function(g) {
1275
1275
  var m = u.current - g.changedTouches[0].clientY;
1276
1276
  c(g, m);
1277
- }, [c]), C = T(function(g) {
1277
+ }, [c]), C = D(function(g) {
1278
1278
  if (g) {
1279
1279
  var m = kt ? {
1280
1280
  passive: !1
1281
1281
  } : !1;
1282
1282
  g.addEventListener("wheel", d, m), g.addEventListener("touchstart", b, m), g.addEventListener("touchmove", I, m);
1283
1283
  }
1284
- }, [I, b, d]), p = T(function(g) {
1284
+ }, [I, b, d]), p = D(function(g) {
1285
1285
  g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", b, !1), g.removeEventListener("touchmove", I, !1));
1286
1286
  }, [I, b, d]);
1287
1287
  return Ue(function() {
@@ -1295,7 +1295,7 @@ function Bu(a) {
1295
1295
  l.current = g;
1296
1296
  };
1297
1297
  }
1298
- var De = ["boxSizing", "height", "overflow", "paddingRight", "position"], Te = {
1298
+ var Te = ["boxSizing", "height", "overflow", "paddingRight", "position"], De = {
1299
1299
  boxSizing: "border-box",
1300
1300
  // account for possible declaration `width: 100%;` on body
1301
1301
  overflow: "hidden",
@@ -1320,25 +1320,25 @@ var Oe = !!(typeof window < "u" && window.document && window.document.createElem
1320
1320
  passive: !1
1321
1321
  };
1322
1322
  function Fu(a) {
1323
- var t = a.isEnabled, i = a.accountForScrollbars, n = i === void 0 ? !0 : i, e = j({}), o = j(null), r = T(function(u) {
1323
+ var t = a.isEnabled, i = a.accountForScrollbars, n = i === void 0 ? !0 : i, e = j({}), o = j(null), r = D(function(u) {
1324
1324
  if (Oe) {
1325
1325
  var l = document.body, c = l && l.style;
1326
- if (n && De.forEach(function(C) {
1326
+ if (n && Te.forEach(function(C) {
1327
1327
  var p = c && c[C];
1328
1328
  e.current[C] = p;
1329
1329
  }), n && ue < 1) {
1330
1330
  var d = parseInt(e.current.paddingRight, 10) || 0, b = document.body ? document.body.clientWidth : 0, I = window.innerWidth - b + d || 0;
1331
- Object.keys(Te).forEach(function(C) {
1332
- var p = Te[C];
1331
+ Object.keys(De).forEach(function(C) {
1332
+ var p = De[C];
1333
1333
  c && (c[C] = p);
1334
1334
  }), c && (c.paddingRight = "".concat(I, "px"));
1335
1335
  }
1336
1336
  l && Me() && (l.addEventListener("touchmove", Pe, te), u && (u.addEventListener("touchstart", we, te), u.addEventListener("touchmove", Le, te))), ue += 1;
1337
1337
  }
1338
- }, [n]), s = T(function(u) {
1338
+ }, [n]), s = D(function(u) {
1339
1339
  if (Oe) {
1340
1340
  var l = document.body, c = l && l.style;
1341
- ue = Math.max(ue - 1, 0), n && ue < 1 && De.forEach(function(d) {
1341
+ ue = Math.max(ue - 1, 0), n && ue < 1 && Te.forEach(function(d) {
1342
1342
  var b = e.current[d];
1343
1343
  c && (c[d] = b);
1344
1344
  }), l && Me() && (l.removeEventListener("touchmove", Pe, te), u && (u.removeEventListener("touchstart", we, te), u.removeEventListener("touchmove", Le, te)));
@@ -1426,11 +1426,11 @@ function Hu() {
1426
1426
  return Ee(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
1427
1427
  lt() && navigator.maxTouchPoints > 1;
1428
1428
  }
1429
- function Du() {
1429
+ function Tu() {
1430
1430
  return Ru() || Hu();
1431
1431
  }
1432
- function Tu() {
1433
- return lt() || Du();
1432
+ function Du() {
1433
+ return lt() || Tu();
1434
1434
  }
1435
1435
  var Pu = function(t) {
1436
1436
  return t.label;
@@ -1446,7 +1446,7 @@ var Pu = function(t) {
1446
1446
  control: Zn,
1447
1447
  dropdownIndicator: Gn,
1448
1448
  group: Hn,
1449
- groupHeading: Tn,
1449
+ groupHeading: Dn,
1450
1450
  indicatorsContainer: mn,
1451
1451
  indicatorSeparator: Vn,
1452
1452
  input: Mn,
@@ -1661,7 +1661,7 @@ var Ct = function(t) {
1661
1661
  inputIsHiddenAfterUpdate: void 0,
1662
1662
  prevProps: void 0,
1663
1663
  instancePrefix: ""
1664
- }, e.blockOptionHover = !1, e.isComposing = !1, e.commonProps = void 0, e.initialTouchX = 0, e.initialTouchY = 0, e.openAfterFocus = !1, e.scrollToFocusedOptionOnUpdate = !1, e.userIsDragging = void 0, e.isAppleDevice = Tu(), e.controlRef = null, e.getControlRef = function(u) {
1664
+ }, e.blockOptionHover = !1, e.isComposing = !1, e.commonProps = void 0, e.initialTouchX = 0, e.initialTouchY = 0, e.openAfterFocus = !1, e.scrollToFocusedOptionOnUpdate = !1, e.userIsDragging = void 0, e.isAppleDevice = Du(), e.controlRef = null, e.getControlRef = function(u) {
1665
1665
  e.controlRef = u;
1666
1666
  }, e.focusedOptionRef = null, e.getFocusedOptionRef = function(u) {
1667
1667
  e.focusedOptionRef = u;
@@ -2232,7 +2232,7 @@ var Ct = function(t) {
2232
2232
  }), B);
2233
2233
  if (g)
2234
2234
  return G.map(function(A, W) {
2235
- var H = A === V, D = "".concat(e.getOptionLabel(A), "-").concat(e.getOptionValue(A));
2235
+ var H = A === V, T = "".concat(e.getOptionLabel(A), "-").concat(e.getOptionValue(A));
2236
2236
  return /* @__PURE__ */ y.createElement(r, f({}, b, {
2237
2237
  components: {
2238
2238
  Container: s,
@@ -2241,7 +2241,7 @@ var Ct = function(t) {
2241
2241
  },
2242
2242
  isFocused: H,
2243
2243
  isDisabled: p,
2244
- key: D,
2244
+ key: T,
2245
2245
  index: W,
2246
2246
  removeProps: {
2247
2247
  onClick: function() {
@@ -2325,7 +2325,7 @@ var Ct = function(t) {
2325
2325
  }, {
2326
2326
  key: "renderMenu",
2327
2327
  value: function() {
2328
- var e = this, o = this.getComponents(), r = o.Group, s = o.GroupHeading, u = o.Menu, l = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, b = o.NoOptionsMessage, I = o.Option, C = this.commonProps, p = this.state.focusedOption, g = this.props, m = g.captureMenuScroll, B = g.inputValue, x = g.isLoading, G = g.loadingMessage, V = g.minMenuHeight, E = g.maxMenuHeight, F = g.menuIsOpen, A = g.menuPlacement, W = g.menuPosition, H = g.menuPortalTarget, D = g.menuShouldBlockScroll, X = g.menuShouldScrollIntoView, P = g.noOptionsMessage, w = g.onMenuScrollToTop, Z = g.onMenuScrollToBottom;
2328
+ var e = this, o = this.getComponents(), r = o.Group, s = o.GroupHeading, u = o.Menu, l = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, b = o.NoOptionsMessage, I = o.Option, C = this.commonProps, p = this.state.focusedOption, g = this.props, m = g.captureMenuScroll, B = g.inputValue, x = g.isLoading, G = g.loadingMessage, V = g.minMenuHeight, E = g.maxMenuHeight, F = g.menuIsOpen, A = g.menuPlacement, W = g.menuPosition, H = g.menuPortalTarget, T = g.menuShouldBlockScroll, X = g.menuShouldScrollIntoView, P = g.noOptionsMessage, w = g.onMenuScrollToTop, Z = g.onMenuScrollToBottom;
2329
2329
  if (!F) return null;
2330
2330
  var S = function(L, k) {
2331
2331
  var K = L.type, O = L.data, _ = L.isDisabled, z = L.isSelected, oe = L.label, ht = L.value, ye = p === O, We = _ ? void 0 : function() {
@@ -2408,7 +2408,7 @@ var Ct = function(t) {
2408
2408
  captureEnabled: m,
2409
2409
  onTopArrive: w,
2410
2410
  onBottomArrive: Z,
2411
- lockEnabled: D
2411
+ lockEnabled: T
2412
2412
  }, function(_) {
2413
2413
  return /* @__PURE__ */ y.createElement(l, f({}, C, {
2414
2414
  innerRef: function(oe) {
@@ -2536,15 +2536,15 @@ var Ct = function(t) {
2536
2536
  var W = u != null && e !== r ? {
2537
2537
  inputIsHidden: u,
2538
2538
  inputIsHiddenAfterUpdate: void 0
2539
- } : {}, H = l, D = c && d;
2540
- return c && !D && (H = {
2539
+ } : {}, H = l, T = c && d;
2540
+ return c && !T && (H = {
2541
2541
  value: ie(m, B, B[0] || null),
2542
2542
  options: B,
2543
2543
  action: "initial-input-focus"
2544
- }, D = !d), l?.action === "initial-input-focus" && (H = null), v(v(v({}, x), W), {}, {
2544
+ }, T = !d), l?.action === "initial-input-focus" && (H = null), v(v(v({}, x), W), {}, {
2545
2545
  prevProps: e,
2546
2546
  ariaSelection: H,
2547
- prevWasFocused: D
2547
+ prevWasFocused: T
2548
2548
  });
2549
2549
  }
2550
2550
  }]), i;
@@ -2552,20 +2552,20 @@ var Ct = function(t) {
2552
2552
  vt.defaultProps = zu;
2553
2553
  var Ku = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
2554
2554
  function _u(a) {
2555
- var t = a.defaultInputValue, i = t === void 0 ? "" : t, n = a.defaultMenuIsOpen, e = n === void 0 ? !1 : n, o = a.defaultValue, r = o === void 0 ? null : o, s = a.inputValue, u = a.menuIsOpen, l = a.onChange, c = a.onInputChange, d = a.onMenuClose, b = a.onMenuOpen, I = a.value, C = Y(a, Ku), p = ee(s !== void 0 ? s : i), g = U(p, 2), m = g[0], B = g[1], x = ee(u !== void 0 ? u : e), G = U(x, 2), V = G[0], E = G[1], F = ee(I !== void 0 ? I : r), A = U(F, 2), W = A[0], H = A[1], D = T(function(M, Q) {
2555
+ var t = a.defaultInputValue, i = t === void 0 ? "" : t, n = a.defaultMenuIsOpen, e = n === void 0 ? !1 : n, o = a.defaultValue, r = o === void 0 ? null : o, s = a.inputValue, u = a.menuIsOpen, l = a.onChange, c = a.onInputChange, d = a.onMenuClose, b = a.onMenuOpen, I = a.value, C = Y(a, Ku), p = ee(s !== void 0 ? s : i), g = U(p, 2), m = g[0], B = g[1], x = ee(u !== void 0 ? u : e), G = U(x, 2), V = G[0], E = G[1], F = ee(I !== void 0 ? I : r), A = U(F, 2), W = A[0], H = A[1], T = D(function(M, Q) {
2556
2556
  typeof l == "function" && l(M, Q), H(M);
2557
- }, [l]), X = T(function(M, Q) {
2557
+ }, [l]), X = D(function(M, Q) {
2558
2558
  var $;
2559
2559
  typeof c == "function" && ($ = c(M, Q)), B($ !== void 0 ? $ : M);
2560
- }, [c]), P = T(function() {
2560
+ }, [c]), P = D(function() {
2561
2561
  typeof b == "function" && b(), E(!0);
2562
- }, [b]), w = T(function() {
2562
+ }, [b]), w = D(function() {
2563
2563
  typeof d == "function" && d(), E(!1);
2564
2564
  }, [d]), Z = s !== void 0 ? s : m, S = u !== void 0 ? u : V, J = I !== void 0 ? I : W;
2565
2565
  return v(v({}, C), {}, {
2566
2566
  inputValue: Z,
2567
2567
  menuIsOpen: S,
2568
- onChange: D,
2568
+ onChange: T,
2569
2569
  onInputChange: X,
2570
2570
  onMenuClose: w,
2571
2571
  onMenuOpen: P,
@@ -2602,7 +2602,7 @@ function ei(a) {
2602
2602
  }) ? c(G, r(G)) : void 0;
2603
2603
  }, [r, c, x, m, G, u, I, F]), H = q(function() {
2604
2604
  return (i || !V) && W ? e === "first" ? [W].concat(ne(I)) : [].concat(ne(I), [W]) : I;
2605
- }, [i, e, V, W, I]), D = T(function(X, P) {
2605
+ }, [i, e, V, W, I]), T = D(function(X, P) {
2606
2606
  if (P.action !== "select-option")
2607
2607
  return C(X, P);
2608
2608
  var w = Array.isArray(X) ? X : [X];
@@ -2622,7 +2622,7 @@ function ei(a) {
2622
2622
  }, [c, G, E, A, W, d, C, F]);
2623
2623
  return v(v({}, p), {}, {
2624
2624
  options: H,
2625
- onChange: D
2625
+ onChange: T
2626
2626
  });
2627
2627
  }
2628
2628
  var ti = /* @__PURE__ */ Rt(function(a, t) {