@hiver/connector-admin 0.0.10-beta.21 → 0.0.10-beta.22

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 (106) hide show
  1. package/app/connectors/index.d.ts.map +1 -1
  2. package/app/connectors/pages/api-view/index.d.ts.map +1 -1
  3. package/app/connectors/pages/connector-view/dashboard/index.d.ts.map +1 -1
  4. package/app/connectors/pages/settings/index.d.ts.map +1 -1
  5. package/app/style.d.ts +1 -0
  6. package/app/style.d.ts.map +1 -1
  7. package/features/auth/api/index.d.ts +1 -0
  8. package/features/auth/api/index.d.ts.map +1 -1
  9. package/features/auth/constants/api.d.ts +1 -0
  10. package/features/auth/constants/api.d.ts.map +1 -1
  11. package/features/auth/store/initial-state.d.ts +3 -0
  12. package/features/auth/store/initial-state.d.ts.map +1 -1
  13. package/features/auth/store/selectors.d.ts +3 -0
  14. package/features/auth/store/selectors.d.ts.map +1 -1
  15. package/features/auth/store/slice.d.ts +16 -1
  16. package/features/auth/store/slice.d.ts.map +1 -1
  17. package/features/connector-library/api/index.d.ts +2 -1
  18. package/features/connector-library/api/index.d.ts.map +1 -1
  19. package/features/connector-library/components/connector-enabled-modal/index.d.ts.map +1 -0
  20. package/features/connector-library/components/connector-enabled-modal/styles.d.ts.map +1 -0
  21. package/features/connector-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +1 -0
  22. package/features/connector-library/components/library-card-list/index.d.ts.map +1 -0
  23. package/features/connector-library/components/library-card-list/styles.d.ts.map +1 -0
  24. package/features/connector-library/components/library-card-skeleton/index.d.ts.map +1 -0
  25. package/features/connector-library/components/library-card-skeleton/styles.d.ts.map +1 -0
  26. package/features/connector-library/components/library-edit-list/index.d.ts.map +1 -0
  27. package/features/connector-library/components/library-edit-list/styles.d.ts.map +1 -0
  28. package/features/connector-library/constants/api.d.ts +2 -1
  29. package/features/connector-library/constants/api.d.ts.map +1 -1
  30. package/features/connector-library/constants/content-page.d.ts.map +1 -0
  31. package/features/connector-library/store/initial-state.d.ts +10 -4
  32. package/features/connector-library/store/initial-state.d.ts.map +1 -1
  33. package/features/connector-library/store/selectors.d.ts +8 -2
  34. package/features/connector-library/store/selectors.d.ts.map +1 -1
  35. package/features/connector-library/store/slice.d.ts +36 -10
  36. package/features/connector-library/store/slice.d.ts.map +1 -1
  37. package/features/connector-library/types/connector.d.ts +13 -0
  38. package/features/connector-library/types/connector.d.ts.map +1 -0
  39. package/features/{connector-library → request-new-connector}/components/custom-connector-card-item/index.d.ts +2 -2
  40. package/features/request-new-connector/components/custom-connector-card-item/index.d.ts.map +1 -0
  41. package/features/request-new-connector/components/custom-connector-card-item/styles.d.ts.map +1 -0
  42. package/features/request-new-connector/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +1 -0
  43. package/features/request-new-connector/components/custom-connector-card-list/index.d.ts.map +1 -0
  44. package/features/request-new-connector/components/custom-connector-card-list/style.d.ts.map +1 -0
  45. package/{index-CgM3_xKm.js → index-BlrvUmkp.js} +1 -1
  46. package/{index-jpnMq7or.js → index-BneVFyJr.js} +131 -131
  47. package/index-Bp6DI_TD.js +68 -0
  48. package/{index-udWvwRi2.js → index-CFzc44V0.js} +4343 -3267
  49. package/{index-D988MMVn.js → index-Dtvwlgbj.js} +4 -4
  50. package/{index-Bz-7s9bi.js → index-R6dQb-2e.js} +1 -1
  51. package/{index-d1KjLfbR.js → index-n9pprR8F.js} +25 -25
  52. package/index.es.js +4 -4
  53. package/index.umd.js +1298 -214
  54. package/package.json +1 -1
  55. package/{showMessage-G5E0XiXs.js → showMessage-BwdQL76c.js} +3 -3
  56. package/store/hooks.d.ts +0 -2
  57. package/store/hooks.d.ts.map +1 -1
  58. package/store/index.d.ts +0 -4
  59. package/store/index.d.ts.map +1 -1
  60. package/{selectors-BxwrtEYH.js → styled-ui-components-CXuEXO04.js} +148 -149
  61. package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
  62. package/testing/setup-store.d.ts +0 -2
  63. package/testing/setup-store.d.ts.map +1 -1
  64. package/types/connector.d.ts +5 -5
  65. package/types/connector.d.ts.map +1 -1
  66. package/features/connector-library/components/custom-connector-card-item/index.d.ts.map +0 -1
  67. package/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +0 -1
  68. package/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +0 -1
  69. package/features/connector-library/components/custom-connector-card-list/index.d.ts.map +0 -1
  70. package/features/connector-library/components/custom-connector-card-list/style.d.ts.map +0 -1
  71. package/features/template-library/api/index.d.ts +0 -7
  72. package/features/template-library/api/index.d.ts.map +0 -1
  73. package/features/template-library/components/connector-enabled-modal/index.d.ts.map +0 -1
  74. package/features/template-library/components/connector-enabled-modal/styles.d.ts.map +0 -1
  75. package/features/template-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +0 -1
  76. package/features/template-library/components/library-card-list/index.d.ts.map +0 -1
  77. package/features/template-library/components/library-card-list/styles.d.ts.map +0 -1
  78. package/features/template-library/components/library-card-skeleton/index.d.ts.map +0 -1
  79. package/features/template-library/components/library-card-skeleton/styles.d.ts.map +0 -1
  80. package/features/template-library/components/library-edit-list/index.d.ts.map +0 -1
  81. package/features/template-library/components/library-edit-list/styles.d.ts.map +0 -1
  82. package/features/template-library/constants/api.d.ts +0 -3
  83. package/features/template-library/constants/api.d.ts.map +0 -1
  84. package/features/template-library/constants/content-page.d.ts.map +0 -1
  85. package/features/template-library/store/initial-state.d.ts +0 -15
  86. package/features/template-library/store/initial-state.d.ts.map +0 -1
  87. package/features/template-library/store/selectors.d.ts +0 -9
  88. package/features/template-library/store/selectors.d.ts.map +0 -1
  89. package/features/template-library/store/slice.d.ts +0 -41
  90. package/features/template-library/store/slice.d.ts.map +0 -1
  91. package/index-DmZlHIzb.js +0 -68
  92. package/style.css +0 -1
  93. /package/features/{template-library → connector-library}/components/connector-enabled-modal/index.d.ts +0 -0
  94. /package/features/{template-library → connector-library}/components/connector-enabled-modal/styles.d.ts +0 -0
  95. /package/features/{template-library → connector-library}/components/library-card-list/__tests__/library-card-list.test.d.ts +0 -0
  96. /package/features/{template-library → connector-library}/components/library-card-list/index.d.ts +0 -0
  97. /package/features/{template-library → connector-library}/components/library-card-list/styles.d.ts +0 -0
  98. /package/features/{template-library → connector-library}/components/library-card-skeleton/index.d.ts +0 -0
  99. /package/features/{template-library → connector-library}/components/library-card-skeleton/styles.d.ts +0 -0
  100. /package/features/{template-library → connector-library}/components/library-edit-list/index.d.ts +0 -0
  101. /package/features/{template-library → connector-library}/components/library-edit-list/styles.d.ts +0 -0
  102. /package/features/{template-library → connector-library}/constants/content-page.d.ts +0 -0
  103. /package/features/{connector-library → request-new-connector}/components/custom-connector-card-item/styles.d.ts +0 -0
  104. /package/features/{connector-library → request-new-connector}/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts +0 -0
  105. /package/features/{connector-library → request-new-connector}/components/custom-connector-card-list/index.d.ts +0 -0
  106. /package/features/{connector-library → request-new-connector}/components/custom-connector-card-list/style.d.ts +0 -0
@@ -1,9 +1,9 @@
1
- import { s as N, b as j, Q as Je, T as de, j as C, ap as Fn, aq as x, ar as Dt, as as lt, at as Bn, B as z, au as Sn, av as Vn, aw as Tn, ax as Be, R as $e, a3 as Ot, ay as se, az as Rn, aA as Wn, aB as st, aC as Nn, aD as ct, U as ce, aE as Xn, aF as Zn, X as Ye, aG as wn, aH as Hn, aI as Pn, u as Ln, ah as Dn, ai as On, aJ as Mn, aK as kn, aj as Jn, ak as Yn, aL as dt, a1 as jn, aM as zn, aN as gt, aO as Un, aP as Qn } from "./index-udWvwRi2.js";
1
+ import { s as N, b as j, Q as Je, T as de, j as C, ar as Fn, as as x, at as Dt, au as lt, av as Bn, B as z, aw as Sn, ax as Vn, ay as Tn, az as Be, R as $e, a3 as Ot, aA as se, aB as Rn, aC as Wn, aD as st, aE as Nn, aF as ct, U as ce, aG as Xn, aH as Zn, X as Ye, aI as wn, ah as Hn, ai as Pn, aJ as Ln, aK as Dn, u as On, aj as Mn, ak as kn, aL as Jn, aM as Yn, al as jn, am as zn, aN as dt, a1 as Un, aO as Qn, aP as gt, aQ as _n, aR as Kn } from "./index-CFzc44V0.js";
2
2
  import * as R from "react";
3
- import _n, { useState as J, useCallback as L, useLayoutEffect as Kn, useRef as ee, useMemo as me, createContext as $n, useContext as qn, Component as ei, Fragment as je, useEffect as te, forwardRef as ti, useReducer as ni } from "react";
4
- import { createPortal as ii } from "react-dom";
5
- import { T as ui, C as bt, d as ai, e as ri, f as oi, g as li } from "./selectors-BxwrtEYH.js";
6
- import { s as pt, S as si, E as ci } from "./showMessage-G5E0XiXs.js";
3
+ import $n, { useState as J, useCallback as L, useLayoutEffect as qn, useRef as ee, useMemo as me, createContext as ei, useContext as ti, Component as ni, Fragment as je, useEffect as te, forwardRef as ii, useReducer as ui } from "react";
4
+ import { createPortal as ai } from "react-dom";
5
+ import { T as ri, C as bt, e as oi, f as li } from "./styled-ui-components-CXuEXO04.js";
6
+ import { s as pt, S as si, E as ci } from "./showMessage-BwdQL76c.js";
7
7
  const di = "Custom Connectors", gi = "Salesforce API connector", bi = "Settings", It = [di, gi, bi], pi = N(j)`
8
8
  margin-bottom: 36px;
9
9
  .arrow {
@@ -146,7 +146,7 @@ function ue(n, e) {
146
146
  }
147
147
  var yi = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
148
148
  function Gi(n) {
149
- var e = n.defaultInputValue, i = e === void 0 ? "" : e, u = n.defaultMenuIsOpen, t = u === void 0 ? !1 : u, r = n.defaultValue, o = r === void 0 ? null : r, s = n.inputValue, a = n.menuIsOpen, l = n.onChange, c = n.onInputChange, d = n.onMenuClose, b = n.onMenuOpen, I = n.value, h = ue(n, yi), f = J(s !== void 0 ? s : i), g = ne(f, 2), p = g[0], E = g[1], F = J(a !== void 0 ? a : t), S = ne(F, 2), V = S[0], m = S[1], A = J(I !== void 0 ? I : o), v = ne(A, 2), T = v[0], H = v[1], D = L(function(M, ae) {
149
+ var e = n.defaultInputValue, i = e === void 0 ? "" : e, u = n.defaultMenuIsOpen, t = u === void 0 ? !1 : u, r = n.defaultValue, o = r === void 0 ? null : r, s = n.inputValue, a = n.menuIsOpen, l = n.onChange, c = n.onInputChange, d = n.onMenuClose, b = n.onMenuOpen, p = n.value, h = ue(n, yi), f = J(s !== void 0 ? s : i), g = ne(f, 2), I = g[0], E = g[1], F = J(a !== void 0 ? a : t), S = ne(F, 2), V = S[0], m = S[1], A = J(p !== void 0 ? p : o), v = ne(A, 2), T = v[0], H = v[1], D = L(function(M, ae) {
150
150
  typeof l == "function" && l(M, ae), H(M);
151
151
  }, [l]), P = L(function(M, ae) {
152
152
  var re;
@@ -155,7 +155,7 @@ function Gi(n) {
155
155
  typeof b == "function" && b(), m(!0);
156
156
  }, [b]), Q = L(function() {
157
157
  typeof d == "function" && d(), m(!1);
158
- }, [d]), w = s !== void 0 ? s : p, X = a !== void 0 ? a : V, Y = I !== void 0 ? I : T;
158
+ }, [d]), w = s !== void 0 ? s : I, X = a !== void 0 ? a : V, Y = p !== void 0 ? p : T;
159
159
  return y(y({}, h), {}, {
160
160
  inputValue: w,
161
161
  menuIsOpen: X,
@@ -403,10 +403,10 @@ function vt(n, e, i, u) {
403
403
  const s = Yi() ? Ji(r) : Te(0);
404
404
  let a = (t.left + s.x) / o.x, l = (t.top + s.y) / o.y, c = t.width / o.x, d = t.height / o.y;
405
405
  if (r) {
406
- const b = ie(r), I = u;
406
+ const b = ie(r), p = u;
407
407
  let h = b, f = Qe(h);
408
- for (; f && u && I !== h; ) {
409
- const g = Ct(f), p = f.getBoundingClientRect(), E = tt(f), F = p.left + (f.clientLeft + parseFloat(E.paddingLeft)) * g.x, S = p.top + (f.clientTop + parseFloat(E.paddingTop)) * g.y;
408
+ for (; f && u && p !== h; ) {
409
+ const g = Ct(f), I = f.getBoundingClientRect(), E = tt(f), F = I.left + (f.clientLeft + parseFloat(E.paddingLeft)) * g.x, S = I.top + (f.clientTop + parseFloat(E.paddingTop)) * g.y;
410
410
  a *= g.x, l *= g.y, c *= g.x, d *= g.y, a += F, l += S, h = ie(f), f = Qe(h);
411
411
  }
412
412
  }
@@ -434,8 +434,8 @@ function ji(n, e) {
434
434
  } = n.getBoundingClientRect();
435
435
  if (s || e(), !d || !b)
436
436
  return;
437
- const I = xe(c), h = xe(t.clientWidth - (l + d)), f = xe(t.clientHeight - (c + b)), g = xe(l), E = {
438
- rootMargin: -I + "px " + -h + "px " + -f + "px " + -g + "px",
437
+ const p = xe(c), h = xe(t.clientWidth - (l + d)), f = xe(t.clientHeight - (c + b)), g = xe(l), E = {
438
+ rootMargin: -p + "px " + -h + "px " + -f + "px " + -g + "px",
439
439
  threshold: wi(0, Zi(1, a)) || 1
440
440
  };
441
441
  let F = !0;
@@ -472,34 +472,34 @@ function zi(n, e, i, u) {
472
472
  layoutShift: s = typeof IntersectionObserver == "function",
473
473
  animationFrame: a = !1
474
474
  } = u, l = nt(n), c = t || r ? [...l ? Re(l) : [], ...Re(e)] : [];
475
- c.forEach((p) => {
476
- t && p.addEventListener("scroll", i, {
475
+ c.forEach((I) => {
476
+ t && I.addEventListener("scroll", i, {
477
477
  passive: !0
478
- }), r && p.addEventListener("resize", i);
478
+ }), r && I.addEventListener("resize", i);
479
479
  });
480
480
  const d = l && s ? ji(l, i) : null;
481
- let b = -1, I = null;
482
- o && (I = new ResizeObserver((p) => {
483
- let [E] = p;
484
- E && E.target === l && I && (I.unobserve(e), cancelAnimationFrame(b), b = requestAnimationFrame(() => {
481
+ let b = -1, p = null;
482
+ o && (p = new ResizeObserver((I) => {
483
+ let [E] = I;
484
+ E && E.target === l && p && (p.unobserve(e), cancelAnimationFrame(b), b = requestAnimationFrame(() => {
485
485
  var F;
486
- (F = I) == null || F.observe(e);
486
+ (F = p) == null || F.observe(e);
487
487
  })), i();
488
- }), l && !a && I.observe(l), I.observe(e));
488
+ }), l && !a && p.observe(l), p.observe(e));
489
489
  let h, f = a ? vt(n) : null;
490
490
  a && g();
491
491
  function g() {
492
- const p = vt(n);
493
- f && (p.x !== f.x || p.y !== f.y || p.width !== f.width || p.height !== f.height) && i(), f = p, h = requestAnimationFrame(g);
492
+ const I = vt(n);
493
+ f && (I.x !== f.x || I.y !== f.y || I.width !== f.width || I.height !== f.height) && i(), f = I, h = requestAnimationFrame(g);
494
494
  }
495
495
  return i(), () => {
496
- var p;
496
+ var I;
497
497
  c.forEach((E) => {
498
498
  t && E.removeEventListener("scroll", i), r && E.removeEventListener("resize", i);
499
- }), d == null || d(), (p = I) == null || p.disconnect(), I = null, a && cancelAnimationFrame(h);
499
+ }), d == null || d(), (I = p) == null || I.disconnect(), p = null, a && cancelAnimationFrame(h);
500
500
  };
501
501
  }
502
- var _e = Kn, Ui = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], We = function() {
502
+ var _e = qn, Ui = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], We = function() {
503
503
  };
504
504
  function Qi(n, e) {
505
505
  return e ? e[0] === "-" ? n + e : n + "__" + e : n;
@@ -629,7 +629,7 @@ function su(n) {
629
629
  maxHeight: e
630
630
  };
631
631
  if (!i || !i.offsetParent) return l;
632
- var c = a.getBoundingClientRect(), d = c.height, b = i.getBoundingClientRect(), I = b.bottom, h = b.height, f = b.top, g = i.offsetParent.getBoundingClientRect(), p = g.top, E = o ? window.innerHeight : Ki(a), F = Kt(a), S = parseInt(getComputedStyle(i).marginBottom, 10), V = parseInt(getComputedStyle(i).marginTop, 10), m = p - V, A = E - f, v = m + F, T = d - F - f, H = I - E + F + S, D = F + f - V, P = 160;
632
+ var c = a.getBoundingClientRect(), d = c.height, b = i.getBoundingClientRect(), p = b.bottom, h = b.height, f = b.top, g = i.offsetParent.getBoundingClientRect(), I = g.top, E = o ? window.innerHeight : Ki(a), F = Kt(a), S = parseInt(getComputedStyle(i).marginBottom, 10), V = parseInt(getComputedStyle(i).marginTop, 10), m = I - V, A = E - f, v = m + F, T = d - F - f, H = p - E + F + S, D = F + f - V, P = 160;
633
633
  switch (t) {
634
634
  case "auto":
635
635
  case "bottom":
@@ -711,8 +711,8 @@ var qt = function(e) {
711
711
  marginBottom: s.menuGutter,
712
712
  marginTop: s.menuGutter
713
713
  });
714
- }, en = /* @__PURE__ */ $n(null), gu = function(e) {
715
- var i = e.children, u = e.minMenuHeight, t = e.maxMenuHeight, r = e.menuPlacement, o = e.menuPosition, s = e.menuShouldScrollIntoView, a = e.theme, l = qn(en) || {}, c = l.setPortalPlacement, d = ee(null), b = J(t), I = ne(b, 2), h = I[0], f = I[1], g = J(null), p = ne(g, 2), E = p[0], F = p[1], S = a.spacing.controlHeight;
714
+ }, en = /* @__PURE__ */ ei(null), gu = function(e) {
715
+ var i = e.children, u = e.minMenuHeight, t = e.maxMenuHeight, r = e.menuPlacement, o = e.menuPosition, s = e.menuShouldScrollIntoView, a = e.theme, l = ti(en) || {}, c = l.setPortalPlacement, d = ee(null), b = J(t), p = ne(b, 2), h = p[0], f = p[1], g = J(null), I = ne(g, 2), E = I[0], F = I[1], S = a.spacing.controlHeight;
716
716
  return _e(function() {
717
717
  var V = d.current;
718
718
  if (V) {
@@ -797,19 +797,19 @@ var qt = function(e) {
797
797
  zIndex: 1
798
798
  };
799
799
  }, xu = function(e) {
800
- var i = e.appendTo, u = e.children, t = e.controlElement, r = e.innerProps, o = e.menuPlacement, s = e.menuPosition, a = ee(null), l = ee(null), c = J(qt(o)), d = ne(c, 2), b = d[0], I = d[1], h = me(function() {
800
+ var i = e.appendTo, u = e.children, t = e.controlElement, r = e.innerProps, o = e.menuPlacement, s = e.menuPosition, a = ee(null), l = ee(null), c = J(qt(o)), d = ne(c, 2), b = d[0], p = d[1], h = me(function() {
801
801
  return {
802
- setPortalPlacement: I
802
+ setPortalPlacement: p
803
803
  };
804
- }, []), f = J(null), g = ne(f, 2), p = g[0], E = g[1], F = L(function() {
804
+ }, []), f = J(null), g = ne(f, 2), I = g[0], E = g[1], F = L(function() {
805
805
  if (t) {
806
806
  var A = eu(t), v = s === "fixed" ? 0 : window.pageYOffset, T = A[b] + v;
807
- (T !== (p == null ? void 0 : p.offset) || A.left !== (p == null ? void 0 : p.rect.left) || A.width !== (p == null ? void 0 : p.rect.width)) && E({
807
+ (T !== (I == null ? void 0 : I.offset) || A.left !== (I == null ? void 0 : I.rect.left) || A.width !== (I == null ? void 0 : I.rect.width)) && E({
808
808
  offset: T,
809
809
  rect: A
810
810
  });
811
811
  }
812
- }, [t, s, b, p == null ? void 0 : p.offset, p == null ? void 0 : p.rect.left, p == null ? void 0 : p.rect.width]);
812
+ }, [t, s, b, I == null ? void 0 : I.offset, I == null ? void 0 : I.rect.left, I == null ? void 0 : I.rect.width]);
813
813
  _e(function() {
814
814
  F();
815
815
  }, [F]);
@@ -824,19 +824,19 @@ var qt = function(e) {
824
824
  var V = L(function(A) {
825
825
  a.current = A, S();
826
826
  }, [S]);
827
- if (!i && s !== "fixed" || !p) return null;
827
+ if (!i && s !== "fixed" || !I) return null;
828
828
  var m = x("div", G({
829
829
  ref: V
830
830
  }, W(y(y({}, e), {}, {
831
- offset: p.offset,
831
+ offset: I.offset,
832
832
  position: s,
833
- rect: p.rect
833
+ rect: I.rect
834
834
  }), "menuPortal", {
835
835
  "menu-portal": !0
836
836
  }), r), u);
837
837
  return x(en.Provider, {
838
838
  value: h
839
- }, i ? /* @__PURE__ */ ii(m, i) : m);
839
+ }, i ? /* @__PURE__ */ ai(m, i) : m);
840
840
  }, yu = function(e) {
841
841
  var i = e.isDisabled, u = e.isRtl;
842
842
  return {
@@ -1393,8 +1393,8 @@ var Ea = process.env.NODE_ENV === "production" ? {
1393
1393
  if (i === "value" && s)
1394
1394
  return "value ".concat(o, " focused, ").concat(d(s, u), ".");
1395
1395
  if (i === "menu" && c) {
1396
- var b = a ? " disabled" : "", I = "".concat(l ? " selected" : "").concat(b);
1397
- return "".concat(o).concat(I, ", ").concat(d(t, u), ".");
1396
+ var b = a ? " disabled" : "", p = "".concat(l ? " selected" : "").concat(b);
1397
+ return "".concat(o).concat(p, ", ").concat(d(t, u), ".");
1398
1398
  }
1399
1399
  return "";
1400
1400
  },
@@ -1403,7 +1403,7 @@ var Ea = process.env.NODE_ENV === "production" ? {
1403
1403
  return "".concat(u).concat(i ? " for search term " + i : "", ".");
1404
1404
  }
1405
1405
  }, Sa = function(e) {
1406
- var i = e.ariaSelection, u = e.focusedOption, t = e.focusedValue, r = e.focusableOptions, o = e.isFocused, s = e.selectValue, a = e.selectProps, l = e.id, c = e.isAppleDevice, d = a.ariaLiveMessages, b = a.getOptionLabel, I = a.inputValue, h = a.isMulti, f = a.isOptionDisabled, g = a.isSearchable, p = a.menuIsOpen, E = a.options, F = a.screenReaderStatus, S = a.tabSelectsValue, V = a.isLoading, m = a["aria-label"], A = a["aria-live"], v = me(function() {
1406
+ var i = e.ariaSelection, u = e.focusedOption, t = e.focusedValue, r = e.focusableOptions, o = e.isFocused, s = e.selectValue, a = e.selectProps, l = e.id, c = e.isAppleDevice, d = a.ariaLiveMessages, b = a.getOptionLabel, p = a.inputValue, h = a.isMulti, f = a.isOptionDisabled, g = a.isSearchable, I = a.menuIsOpen, E = a.options, F = a.screenReaderStatus, S = a.tabSelectsValue, V = a.isLoading, m = a["aria-label"], A = a["aria-live"], v = me(function() {
1407
1407
  return y(y({}, Ba), d || {});
1408
1408
  }, [d]), T = me(function() {
1409
1409
  var w = "";
@@ -1438,20 +1438,20 @@ var Ea = process.env.NODE_ENV === "production" ? {
1438
1438
  return w;
1439
1439
  }, [u, t, b, f, v, r, s, c]), D = me(function() {
1440
1440
  var w = "";
1441
- if (p && E.length && !V && v.onFilter) {
1441
+ if (I && E.length && !V && v.onFilter) {
1442
1442
  var X = F({
1443
1443
  count: r.length
1444
1444
  });
1445
1445
  w = v.onFilter({
1446
- inputValue: I,
1446
+ inputValue: p,
1447
1447
  resultsMessage: X
1448
1448
  });
1449
1449
  }
1450
1450
  return w;
1451
- }, [r, I, p, v, E, F, V]), P = (i == null ? void 0 : i.action) === "initial-input-focus", U = me(function() {
1451
+ }, [r, p, I, v, E, F, V]), P = (i == null ? void 0 : i.action) === "initial-input-focus", U = me(function() {
1452
1452
  var w = "";
1453
1453
  if (v.guidance) {
1454
- var X = t ? "value" : p ? "menu" : "input";
1454
+ var X = t ? "value" : I ? "menu" : "input";
1455
1455
  w = v.guidance({
1456
1456
  "aria-label": m,
1457
1457
  context: X,
@@ -1463,7 +1463,7 @@ var Ea = process.env.NODE_ENV === "production" ? {
1463
1463
  });
1464
1464
  }
1465
1465
  return w;
1466
- }, [m, u, t, h, f, g, p, v, s, S, P]), Q = x(je, null, x("span", {
1466
+ }, [m, u, t, h, f, g, I, v, s, S, P]), Q = x(je, null, x("span", {
1467
1467
  id: "aria-selection"
1468
1468
  }, T), x("span", {
1469
1469
  id: "aria-focused"
@@ -1791,28 +1791,28 @@ var wa = function(e) {
1791
1791
  e.cancelable && e.preventDefault(), e.stopPropagation();
1792
1792
  };
1793
1793
  function Ha(n) {
1794
- var e = n.isEnabled, i = n.onBottomArrive, u = n.onBottomLeave, t = n.onTopArrive, r = n.onTopLeave, o = ee(!1), s = ee(!1), a = ee(0), l = ee(null), c = L(function(g, p) {
1794
+ var e = n.isEnabled, i = n.onBottomArrive, u = n.onBottomLeave, t = n.onTopArrive, r = n.onTopLeave, o = ee(!1), s = ee(!1), a = ee(0), l = ee(null), c = L(function(g, I) {
1795
1795
  if (l.current !== null) {
1796
- var E = l.current, F = E.scrollTop, S = E.scrollHeight, V = E.clientHeight, m = l.current, A = p > 0, v = S - V - F, T = !1;
1797
- v > p && o.current && (u && u(g), o.current = !1), A && s.current && (r && r(g), s.current = !1), A && p > v ? (i && !o.current && i(g), m.scrollTop = S, T = !0, o.current = !0) : !A && -p > F && (t && !s.current && t(g), m.scrollTop = 0, T = !0, s.current = !0), T && wa(g);
1796
+ var E = l.current, F = E.scrollTop, S = E.scrollHeight, V = E.clientHeight, m = l.current, A = I > 0, v = S - V - F, T = !1;
1797
+ v > I && o.current && (u && u(g), o.current = !1), A && s.current && (r && r(g), s.current = !1), A && I > v ? (i && !o.current && i(g), m.scrollTop = S, T = !0, o.current = !0) : !A && -I > F && (t && !s.current && t(g), m.scrollTop = 0, T = !0, s.current = !0), T && wa(g);
1798
1798
  }
1799
1799
  }, [i, u, t, r]), d = L(function(g) {
1800
1800
  c(g, g.deltaY);
1801
1801
  }, [c]), b = L(function(g) {
1802
1802
  a.current = g.changedTouches[0].clientY;
1803
- }, []), I = L(function(g) {
1804
- var p = a.current - g.changedTouches[0].clientY;
1805
- c(g, p);
1803
+ }, []), p = L(function(g) {
1804
+ var I = a.current - g.changedTouches[0].clientY;
1805
+ c(g, I);
1806
1806
  }, [c]), h = L(function(g) {
1807
1807
  if (g) {
1808
- var p = iu ? {
1808
+ var I = iu ? {
1809
1809
  passive: !1
1810
1810
  } : !1;
1811
- g.addEventListener("wheel", d, p), g.addEventListener("touchstart", b, p), g.addEventListener("touchmove", I, p);
1811
+ g.addEventListener("wheel", d, I), g.addEventListener("touchstart", b, I), g.addEventListener("touchmove", p, I);
1812
1812
  }
1813
- }, [I, b, d]), f = L(function(g) {
1814
- g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", b, !1), g.removeEventListener("touchmove", I, !1));
1815
- }, [I, b, d]);
1813
+ }, [p, b, d]), f = L(function(g) {
1814
+ g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", b, !1), g.removeEventListener("touchmove", p, !1));
1815
+ }, [p, b, d]);
1816
1816
  return te(function() {
1817
1817
  if (e) {
1818
1818
  var g = l.current;
@@ -1856,11 +1856,11 @@ function Pa(n) {
1856
1856
  var f = c && c[h];
1857
1857
  t.current[h] = f;
1858
1858
  }), u && he < 1) {
1859
- var d = parseInt(t.current.paddingRight, 10) || 0, b = document.body ? document.body.clientWidth : 0, I = window.innerWidth - b + d || 0;
1859
+ var d = parseInt(t.current.paddingRight, 10) || 0, b = document.body ? document.body.clientWidth : 0, p = window.innerWidth - b + d || 0;
1860
1860
  Object.keys(Vt).forEach(function(h) {
1861
1861
  var f = Vt[h];
1862
1862
  c && (c[h] = f);
1863
- }), c && (c.paddingRight = "".concat(I, "px"));
1863
+ }), c && (c.paddingRight = "".concat(p, "px"));
1864
1864
  }
1865
1865
  l && Nt() && (l.addEventListener("touchmove", Tt, Ie), a && (a.addEventListener("touchstart", Wt, Ie), a.addEventListener("touchmove", Rt, Ie))), he += 1;
1866
1866
  }
@@ -1908,8 +1908,8 @@ function Ma(n) {
1908
1908
  onTopLeave: a
1909
1909
  }), c = Pa({
1910
1910
  isEnabled: i
1911
- }), d = function(I) {
1912
- l(I), c(I);
1911
+ }), d = function(p) {
1912
+ l(p), c(p);
1913
1913
  };
1914
1914
  return x(je, null, i && x("div", {
1915
1915
  onClick: Da,
@@ -2202,12 +2202,12 @@ var hn = function(e) {
2202
2202
  var c = t.props, d = c.onChange, b = c.name;
2203
2203
  l.name = b, t.ariaOnChange(a, l), d(a, l);
2204
2204
  }, t.setValue = function(a, l, c) {
2205
- var d = t.props, b = d.closeMenuOnSelect, I = d.isMulti, h = d.inputValue;
2205
+ var d = t.props, b = d.closeMenuOnSelect, p = d.isMulti, h = d.inputValue;
2206
2206
  t.onInputChange("", {
2207
2207
  action: "set-value",
2208
2208
  prevInputValue: h
2209
2209
  }), b && (t.setState({
2210
- inputIsHiddenAfterUpdate: !I
2210
+ inputIsHiddenAfterUpdate: !p
2211
2211
  }), t.onMenuClose()), t.setState({
2212
2212
  clearFocusValueOnUpdate: !0
2213
2213
  }), t.onChange(a, {
@@ -2215,14 +2215,14 @@ var hn = function(e) {
2215
2215
  option: c
2216
2216
  });
2217
2217
  }, t.selectOption = function(a) {
2218
- var l = t.props, c = l.blurInputOnSelect, d = l.isMulti, b = l.name, I = t.state.selectValue, h = d && t.isOptionSelected(a, I), f = t.isOptionDisabled(a, I);
2218
+ var l = t.props, c = l.blurInputOnSelect, d = l.isMulti, b = l.name, p = t.state.selectValue, h = d && t.isOptionSelected(a, p), f = t.isOptionDisabled(a, p);
2219
2219
  if (h) {
2220
2220
  var g = t.getOptionValue(a);
2221
- t.setValue(I.filter(function(p) {
2222
- return t.getOptionValue(p) !== g;
2221
+ t.setValue(p.filter(function(I) {
2222
+ return t.getOptionValue(I) !== g;
2223
2223
  }), "deselect-option", a);
2224
2224
  } else if (!f)
2225
- d ? t.setValue([].concat(qe(I), [a]), "select-option", a) : t.setValue(a, "select-option");
2225
+ d ? t.setValue([].concat(qe(p), [a]), "select-option", a) : t.setValue(a, "select-option");
2226
2226
  else {
2227
2227
  t.ariaOnChange(a, {
2228
2228
  action: "select-option",
@@ -2235,8 +2235,8 @@ var hn = function(e) {
2235
2235
  }, t.removeValue = function(a) {
2236
2236
  var l = t.props.isMulti, c = t.state.selectValue, d = t.getOptionValue(a), b = c.filter(function(h) {
2237
2237
  return t.getOptionValue(h) !== d;
2238
- }), I = Ee(l, b, b[0] || null);
2239
- t.onChange(I, {
2238
+ }), p = Ee(l, b, b[0] || null);
2239
+ t.onChange(p, {
2240
2240
  action: "remove-value",
2241
2241
  removedValue: a
2242
2242
  }), t.focusInput();
@@ -2324,8 +2324,8 @@ var hn = function(e) {
2324
2324
  }, t.onTouchMove = function(a) {
2325
2325
  var l = a.touches, c = l && l.item(0);
2326
2326
  if (c) {
2327
- var d = Math.abs(c.clientX - t.initialTouchX), b = Math.abs(c.clientY - t.initialTouchY), I = 5;
2328
- t.userIsDragging = d > I || b > I;
2327
+ var d = Math.abs(c.clientX - t.initialTouchX), b = Math.abs(c.clientY - t.initialTouchY), p = 5;
2328
+ t.userIsDragging = d > p || b > p;
2329
2329
  }
2330
2330
  }, t.onTouchEnd = function(a) {
2331
2331
  t.userIsDragging || (t.controlRef && !t.controlRef.contains(a.target) && t.menuListRef && !t.menuListRef.contains(a.target) && t.blurInput(), t.initialTouchX = 0, t.initialTouchY = 0);
@@ -2374,20 +2374,20 @@ var hn = function(e) {
2374
2374
  }, t.onValueInputFocus = function(a) {
2375
2375
  a.preventDefault(), a.stopPropagation(), t.focus();
2376
2376
  }, t.onKeyDown = function(a) {
2377
- var l = t.props, c = l.isMulti, d = l.backspaceRemovesValue, b = l.escapeClearsValue, I = l.inputValue, h = l.isClearable, f = l.isDisabled, g = l.menuIsOpen, p = l.onKeyDown, E = l.tabSelectsValue, F = l.openMenuOnFocus, S = t.state, V = S.focusedOption, m = S.focusedValue, A = S.selectValue;
2378
- if (!f && !(typeof p == "function" && (p(a), a.defaultPrevented))) {
2377
+ var l = t.props, c = l.isMulti, d = l.backspaceRemovesValue, b = l.escapeClearsValue, p = l.inputValue, h = l.isClearable, f = l.isDisabled, g = l.menuIsOpen, I = l.onKeyDown, E = l.tabSelectsValue, F = l.openMenuOnFocus, S = t.state, V = S.focusedOption, m = S.focusedValue, A = S.selectValue;
2378
+ if (!f && !(typeof I == "function" && (I(a), a.defaultPrevented))) {
2379
2379
  switch (t.blockOptionHover = !0, a.key) {
2380
2380
  case "ArrowLeft":
2381
- if (!c || I) return;
2381
+ if (!c || p) return;
2382
2382
  t.focusValue("previous");
2383
2383
  break;
2384
2384
  case "ArrowRight":
2385
- if (!c || I) return;
2385
+ if (!c || p) return;
2386
2386
  t.focusValue("next");
2387
2387
  break;
2388
2388
  case "Delete":
2389
2389
  case "Backspace":
2390
- if (I) return;
2390
+ if (p) return;
2391
2391
  if (m)
2392
2392
  t.removeValue(m);
2393
2393
  else {
@@ -2416,11 +2416,11 @@ var hn = function(e) {
2416
2416
  inputIsHiddenAfterUpdate: !1
2417
2417
  }), t.onInputChange("", {
2418
2418
  action: "menu-close",
2419
- prevInputValue: I
2419
+ prevInputValue: p
2420
2420
  }), t.onMenuClose()) : h && b && t.clearValue();
2421
2421
  break;
2422
2422
  case " ":
2423
- if (I)
2423
+ if (p)
2424
2424
  return;
2425
2425
  if (!g) {
2426
2426
  t.openMenu("first");
@@ -2589,7 +2589,7 @@ var hn = function(e) {
2589
2589
  }, {
2590
2590
  key: "getCommonProps",
2591
2591
  value: function() {
2592
- var t = this.clearValue, r = this.cx, o = this.getStyles, s = this.getClassNames, a = this.getValue, l = this.selectOption, c = this.setValue, d = this.props, b = d.isMulti, I = d.isRtl, h = d.options, f = this.hasValue();
2592
+ var t = this.clearValue, r = this.cx, o = this.getStyles, s = this.getClassNames, a = this.getValue, l = this.selectOption, c = this.setValue, d = this.props, b = d.isMulti, p = d.isRtl, h = d.options, f = this.hasValue();
2593
2593
  return {
2594
2594
  clearValue: t,
2595
2595
  cx: r,
@@ -2598,7 +2598,7 @@ var hn = function(e) {
2598
2598
  getValue: a,
2599
2599
  hasValue: f,
2600
2600
  isMulti: b,
2601
- isRtl: I,
2601
+ isRtl: p,
2602
2602
  options: h,
2603
2603
  selectOption: l,
2604
2604
  selectProps: d,
@@ -2696,7 +2696,7 @@ var hn = function(e) {
2696
2696
  // Renderers
2697
2697
  // ==============================
2698
2698
  function() {
2699
- var t = this.props, r = t.isDisabled, o = t.isSearchable, s = t.inputId, a = t.inputValue, l = t.tabIndex, c = t.form, d = t.menuIsOpen, b = t.required, I = this.getComponents(), h = I.Input, f = this.state, g = f.inputIsHidden, p = f.ariaSelection, E = this.commonProps, F = s || this.getElementId("input"), S = y(y(y({
2699
+ var t = this.props, r = t.isDisabled, o = t.isSearchable, s = t.inputId, a = t.inputValue, l = t.tabIndex, c = t.form, d = t.menuIsOpen, b = t.required, p = this.getComponents(), h = p.Input, f = this.state, g = f.inputIsHidden, I = f.ariaSelection, E = this.commonProps, F = s || this.getElementId("input"), S = y(y(y({
2700
2700
  "aria-autocomplete": "list",
2701
2701
  "aria-expanded": d,
2702
2702
  "aria-haspopup": !0,
@@ -2711,7 +2711,7 @@ var hn = function(e) {
2711
2711
  "aria-controls": this.getElementId("listbox")
2712
2712
  }), !o && {
2713
2713
  "aria-readonly": !0
2714
- }), this.hasValue() ? (p == null ? void 0 : p.action) === "initial-input-focus" && {
2714
+ }), this.hasValue() ? (I == null ? void 0 : I.action) === "initial-input-focus" && {
2715
2715
  "aria-describedby": this.getElementId("live-region")
2716
2716
  } : {
2717
2717
  "aria-describedby": this.getElementId("placeholder")
@@ -2749,9 +2749,9 @@ var hn = function(e) {
2749
2749
  }, {
2750
2750
  key: "renderPlaceholderOrValue",
2751
2751
  value: function() {
2752
- var t = this, r = this.getComponents(), o = r.MultiValue, s = r.MultiValueContainer, a = r.MultiValueLabel, l = r.MultiValueRemove, c = r.SingleValue, d = r.Placeholder, b = this.commonProps, I = this.props, h = I.controlShouldRenderValue, f = I.isDisabled, g = I.isMulti, p = I.inputValue, E = I.placeholder, F = this.state, S = F.selectValue, V = F.focusedValue, m = F.isFocused;
2752
+ var t = this, r = this.getComponents(), o = r.MultiValue, s = r.MultiValueContainer, a = r.MultiValueLabel, l = r.MultiValueRemove, c = r.SingleValue, d = r.Placeholder, b = this.commonProps, p = this.props, h = p.controlShouldRenderValue, f = p.isDisabled, g = p.isMulti, I = p.inputValue, E = p.placeholder, F = this.state, S = F.selectValue, V = F.focusedValue, m = F.isFocused;
2753
2753
  if (!this.hasValue() || !h)
2754
- return p ? null : /* @__PURE__ */ R.createElement(d, G({}, b, {
2754
+ return I ? null : /* @__PURE__ */ R.createElement(d, G({}, b, {
2755
2755
  key: "placeholder",
2756
2756
  isDisabled: f,
2757
2757
  isFocused: m,
@@ -2786,7 +2786,7 @@ var hn = function(e) {
2786
2786
  data: v
2787
2787
  }), t.formatOptionLabel(v, "value"));
2788
2788
  });
2789
- if (p)
2789
+ if (I)
2790
2790
  return null;
2791
2791
  var A = S[0];
2792
2792
  return /* @__PURE__ */ R.createElement(c, G({}, b, {
@@ -2854,7 +2854,7 @@ var hn = function(e) {
2854
2854
  }, {
2855
2855
  key: "renderMenu",
2856
2856
  value: function() {
2857
- var t = this, r = this.getComponents(), o = r.Group, s = r.GroupHeading, a = r.Menu, l = r.MenuList, c = r.MenuPortal, d = r.LoadingMessage, b = r.NoOptionsMessage, I = r.Option, h = this.commonProps, f = this.state.focusedOption, g = this.props, p = g.captureMenuScroll, E = g.inputValue, F = g.isLoading, S = g.loadingMessage, V = g.minMenuHeight, m = g.maxMenuHeight, A = g.menuIsOpen, v = g.menuPlacement, T = g.menuPosition, H = g.menuPortalTarget, D = g.menuShouldBlockScroll, P = g.menuShouldScrollIntoView, U = g.noOptionsMessage, Q = g.onMenuScrollToTop, w = g.onMenuScrollToBottom;
2857
+ var t = this, r = this.getComponents(), o = r.Group, s = r.GroupHeading, a = r.Menu, l = r.MenuList, c = r.MenuPortal, d = r.LoadingMessage, b = r.NoOptionsMessage, p = r.Option, h = this.commonProps, f = this.state.focusedOption, g = this.props, I = g.captureMenuScroll, E = g.inputValue, F = g.isLoading, S = g.loadingMessage, V = g.minMenuHeight, m = g.maxMenuHeight, A = g.menuIsOpen, v = g.menuPlacement, T = g.menuPosition, H = g.menuPortalTarget, D = g.menuShouldBlockScroll, P = g.menuShouldScrollIntoView, U = g.noOptionsMessage, Q = g.onMenuScrollToTop, w = g.onMenuScrollToBottom;
2858
2858
  if (!A) return null;
2859
2859
  var X = function(O, _) {
2860
2860
  var oe = O.type, k = O.data, le = O.isDisabled, K = O.isSelected, Ae = O.label, yn = O.value, at = f === k, rt = le ? void 0 : function() {
@@ -2871,7 +2871,7 @@ var hn = function(e) {
2871
2871
  "aria-selected": t.isAppleDevice ? void 0 : K
2872
2872
  // is not supported on Apple devices
2873
2873
  };
2874
- return /* @__PURE__ */ R.createElement(I, G({}, h, {
2874
+ return /* @__PURE__ */ R.createElement(p, G({}, h, {
2875
2875
  innerProps: En,
2876
2876
  data: k,
2877
2877
  isDisabled: le,
@@ -2934,7 +2934,7 @@ var hn = function(e) {
2934
2934
  isLoading: F,
2935
2935
  placement: oe
2936
2936
  }), /* @__PURE__ */ R.createElement(Ma, {
2937
- captureEnabled: p,
2937
+ captureEnabled: I,
2938
2938
  onTopArrive: Q,
2939
2939
  onBottomArrive: w,
2940
2940
  lockEnabled: D
@@ -2982,7 +2982,7 @@ var hn = function(e) {
2982
2982
  value: b
2983
2983
  });
2984
2984
  } else {
2985
- var I = d.length > 0 ? d.map(function(f, g) {
2985
+ var p = d.length > 0 ? d.map(function(f, g) {
2986
2986
  return /* @__PURE__ */ R.createElement("input", {
2987
2987
  key: "i-".concat(g),
2988
2988
  name: l,
@@ -2994,7 +2994,7 @@ var hn = function(e) {
2994
2994
  type: "hidden",
2995
2995
  value: ""
2996
2996
  });
2997
- return /* @__PURE__ */ R.createElement("div", null, I);
2997
+ return /* @__PURE__ */ R.createElement("div", null, p);
2998
2998
  }
2999
2999
  else {
3000
3000
  var h = d[0] ? this.getOptionValue(d[0]) : "";
@@ -3023,7 +3023,7 @@ var hn = function(e) {
3023
3023
  }, {
3024
3024
  key: "render",
3025
3025
  value: function() {
3026
- var t = this.getComponents(), r = t.Control, o = t.IndicatorsContainer, s = t.SelectContainer, a = t.ValueContainer, l = this.props, c = l.className, d = l.id, b = l.isDisabled, I = l.menuIsOpen, h = this.state.isFocused, f = this.commonProps = this.getCommonProps();
3026
+ var t = this.getComponents(), r = t.Control, o = t.IndicatorsContainer, s = t.SelectContainer, a = t.ValueContainer, l = this.props, c = l.className, d = l.id, b = l.isDisabled, p = l.menuIsOpen, h = this.state.isFocused, f = this.commonProps = this.getCommonProps();
3027
3027
  return /* @__PURE__ */ R.createElement(s, G({}, f, {
3028
3028
  className: c,
3029
3029
  innerProps: {
@@ -3040,7 +3040,7 @@ var hn = function(e) {
3040
3040
  },
3041
3041
  isDisabled: b,
3042
3042
  isFocused: h,
3043
- menuIsOpen: I
3043
+ menuIsOpen: p
3044
3044
  }), /* @__PURE__ */ R.createElement(a, G({}, f, {
3045
3045
  isDisabled: b
3046
3046
  }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ R.createElement(o, G({}, f, {
@@ -3050,8 +3050,8 @@ var hn = function(e) {
3050
3050
  }], [{
3051
3051
  key: "getDerivedStateFromProps",
3052
3052
  value: function(t, r) {
3053
- var o = r.prevProps, s = r.clearFocusValueOnUpdate, a = r.inputIsHiddenAfterUpdate, l = r.ariaSelection, c = r.isFocused, d = r.prevWasFocused, b = r.instancePrefix, I = t.options, h = t.value, f = t.menuIsOpen, g = t.inputValue, p = t.isMulti, E = At(h), F = {};
3054
- if (o && (h !== o.value || I !== o.options || f !== o.menuIsOpen || g !== o.inputValue)) {
3053
+ var o = r.prevProps, s = r.clearFocusValueOnUpdate, a = r.inputIsHiddenAfterUpdate, l = r.ariaSelection, c = r.isFocused, d = r.prevWasFocused, b = r.instancePrefix, p = t.options, h = t.value, f = t.menuIsOpen, g = t.inputValue, I = t.isMulti, E = At(h), F = {};
3054
+ if (o && (h !== o.value || p !== o.options || f !== o.menuIsOpen || g !== o.inputValue)) {
3055
3055
  var S = f ? lr(t, E) : [], V = f ? wt(Fe(t, E), "".concat(b, "-option")) : [], m = s ? sr(r, E) : null, A = cr(r, S), v = ke(V, A);
3056
3056
  F = {
3057
3057
  selectValue: E,
@@ -3067,7 +3067,7 @@ var hn = function(e) {
3067
3067
  inputIsHiddenAfterUpdate: void 0
3068
3068
  } : {}, H = l, D = c && d;
3069
3069
  return c && !D && (H = {
3070
- value: Ee(p, E, E[0] || null),
3070
+ value: Ee(I, E, E[0] || null),
3071
3071
  options: E,
3072
3072
  action: "initial-input-focus"
3073
3073
  }, D = !d), (l == null ? void 0 : l.action) === "initial-input-focus" && (H = null), y(y(y({}, F), T), {}, {
@@ -3077,9 +3077,9 @@ var hn = function(e) {
3077
3077
  });
3078
3078
  }
3079
3079
  }]), i;
3080
- }(ei);
3080
+ }(ni);
3081
3081
  Cn.defaultProps = or;
3082
- var gr = /* @__PURE__ */ ti(function(n, e) {
3082
+ var gr = /* @__PURE__ */ ii(function(n, e) {
3083
3083
  var i = Gi(n);
3084
3084
  return /* @__PURE__ */ R.createElement(Cn, G({
3085
3085
  ref: e
@@ -3156,14 +3156,14 @@ const pr = (n) => /* @__PURE__ */ C.jsx(ln.DropdownIndicator, { ...n, children:
3156
3156
  selectChangeHandler: l,
3157
3157
  onValidationError: c,
3158
3158
  icon: d
3159
- } = n, [b, I] = J(!1), [h, f] = J("");
3159
+ } = n, [b, p] = J(!1), [h, f] = J("");
3160
3160
  te(() => {
3161
- b || p(n.value, !1);
3161
+ b || I(n.value, !1);
3162
3162
  }, [b, n.value]);
3163
3163
  const g = (m) => {
3164
- m && !b && I(!0);
3164
+ m && !b && p(!0);
3165
3165
  };
3166
- function p(m, A = !0) {
3166
+ function I(m, A = !0) {
3167
3167
  let v = "";
3168
3168
  if (e != null && e.isRequired && (v = m ? "" : Vn), !v && (e != null && e.validate)) {
3169
3169
  const T = e.validate(m, { id: u, name: r, label: t });
@@ -3173,16 +3173,16 @@ const pr = (n) => /* @__PURE__ */ C.jsx(ln.DropdownIndicator, { ...n, children:
3173
3173
  }
3174
3174
  const E = (m) => {
3175
3175
  var A;
3176
- b || I(!0), (A = n.onBlur) == null || A.call(n, m), b && o && p(n.value);
3176
+ b || p(!0), (A = n.onBlur) == null || A.call(n, m), b && o && I(n.value);
3177
3177
  }, F = () => n.helperText ? /* @__PURE__ */ C.jsx(Pt, { children: i }) : b && h ? /* @__PURE__ */ C.jsx(Pt, { className: "helper--error", children: h }) : null, S = (m) => {
3178
- a == null || a(m), m && !b && I(!0), b && s && p(m.target.value);
3178
+ a == null || a(m), m && !b && p(!0), b && s && I(m.target.value);
3179
3179
  }, V = (m, A) => {
3180
- l == null || l(m, A), m && !b && I(!0), m && typeof m == "object" && "value" in m && b && s && p(m.value);
3180
+ l == null || l(m, A), m && !b && p(!0), m && typeof m == "object" && "value" in m && b && s && I(m.value);
3181
3181
  };
3182
3182
  return /* @__PURE__ */ C.jsxs(j, { spacing: 1, useFlexGap: !0, children: [
3183
3183
  t ? /* @__PURE__ */ C.jsx(de, { variant: "h4", component: "label", htmlFor: u, children: `${t}${e != null && e.isRequired ? "*" : ""}` }) : null,
3184
3184
  /* @__PURE__ */ C.jsxs(hr, { children: [
3185
- /* @__PURE__ */ C.jsx(ui, { title: n.toolTipTitle, arrow: !0, placement: "right-end", disableHoverListener: !0, children: n.type === "select" ? /* @__PURE__ */ C.jsx(fr, { children: /* @__PURE__ */ C.jsx(
3185
+ /* @__PURE__ */ C.jsx(ri, { title: n.toolTipTitle, arrow: !0, placement: "right-end", disableHoverListener: !0, children: n.type === "select" ? /* @__PURE__ */ C.jsx(fr, { children: /* @__PURE__ */ C.jsx(
3186
3186
  Ir,
3187
3187
  {
3188
3188
  ...n,
@@ -3223,7 +3223,7 @@ const pr = (n) => /* @__PURE__ */ C.jsx(ln.DropdownIndicator, { ...n, children:
3223
3223
  values: r,
3224
3224
  validations: o,
3225
3225
  onValidationError: s
3226
- }) => /* @__PURE__ */ C.jsx(Cr, { children: n.map(({ id: a, title: l, formFields: c }) => /* @__PURE__ */ C.jsxs(_n.Fragment, { children: [
3226
+ }) => /* @__PURE__ */ C.jsx(Cr, { children: n.map(({ id: a, title: l, formFields: c }) => /* @__PURE__ */ C.jsxs($n.Fragment, { children: [
3227
3227
  l ? /* @__PURE__ */ C.jsx(de, { variant: "h3", className: "authform__section-title", children: l }) : null,
3228
3228
  /* @__PURE__ */ C.jsx(j, { useFlexGap: !0, spacing: 3, children: c.map((d) => t && typeof t == "object" && d.name in t && t[d.name] === !1 ? null : /* @__PURE__ */ C.jsx(
3229
3229
  vn,
@@ -3590,7 +3590,7 @@ const Tr = N(de)`
3590
3590
  font-weight: 500;
3591
3591
  color: #97a3b7;
3592
3592
  `, wr = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.33398%203.66668H7.66732V5.00001H6.33398V3.66668ZM6.33398%206.33334H7.66732V10.3333H6.33398V6.33334ZM7.00065%200.333344C3.32065%200.333344%200.333984%203.32001%200.333984%207.00001C0.333984%2010.68%203.32065%2013.6667%207.00065%2013.6667C10.6807%2013.6667%2013.6673%2010.68%2013.6673%207.00001C13.6673%203.32001%2010.6807%200.333344%207.00065%200.333344ZM7.00065%2012.3333C4.06065%2012.3333%201.66732%209.94001%201.66732%207.00001C1.66732%204.06001%204.06065%201.66668%207.00065%201.66668C9.94065%201.66668%2012.334%204.06001%2012.334%207.00001C12.334%209.94001%209.94065%2012.3333%207.00065%2012.3333Z'%20fill='%2397A3B7'/%3e%3c/svg%3e", Hr = "data:image/svg+xml,%3csvg%20width='22'%20height='22'%20viewBox='0%200%2022%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1446_32274)'%3e%3cpath%20d='M14.6663%200.916687H3.66634C2.65801%200.916687%201.83301%201.74169%201.83301%202.75002V15.5834H3.66634V2.75002H14.6663V0.916687ZM17.4163%204.58335H7.33301C6.32467%204.58335%205.49967%205.40835%205.49967%206.41669V19.25C5.49967%2020.2584%206.32467%2021.0834%207.33301%2021.0834H17.4163C18.4247%2021.0834%2019.2497%2020.2584%2019.2497%2019.25V6.41669C19.2497%205.40835%2018.4247%204.58335%2017.4163%204.58335ZM17.4163%2019.25H7.33301V6.41669H17.4163V19.25Z'%20fill='%236F7C90'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1446_32274'%3e%3crect%20width='22'%20height='22'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Pr = ({ isEdit: n = !1, connectorId: e, isLoading: i = !1, connectorData: u, authStatus: t }) => {
3593
- const r = $e(), [o, s] = ni(Fr, Er), [a, l] = J(!1), c = u ? u.name : "", d = u ? u.description : "";
3593
+ const r = $e(), [o, s] = ui(Fr, Er), [a, l] = J(!1), c = u ? u.name : "", d = u ? u.description : "";
3594
3594
  te(() => {
3595
3595
  var m, A;
3596
3596
  if (u != null && u.authDetails) {
@@ -3612,7 +3612,7 @@ const Tr = N(de)`
3612
3612
  }, [u]);
3613
3613
  const b = (m, A) => {
3614
3614
  s({ type: q.SET_FIELD_VALUE, payload: { value: A, name: m } });
3615
- }, I = (m) => {
3615
+ }, p = (m) => {
3616
3616
  b(m.target.name, m.target.value);
3617
3617
  }, h = (m, A) => {
3618
3618
  m && typeof m == "object" && "label" in m && typeof m.label == "string" && "value" in m && typeof m.value == "string" && typeof A.name < "u" && b(A.name, { value: m.value, label: m.label });
@@ -3621,15 +3621,15 @@ const Tr = N(de)`
3621
3621
  }, g = () => {
3622
3622
  const m = o.values.authType;
3623
3623
  return typeof m == "object" && m.value === be.apiToken.value ? [...Lt, ...xr] : [...Lt, ...yr];
3624
- }, p = () => {
3624
+ }, I = () => {
3625
3625
  var A;
3626
3626
  const m = {};
3627
3627
  return typeof o.values.apiAddTo == "object" && o.values.apiAddTo.value === He.queryParam.value ? (m.apiHeaderPrefix = !1, m.apiHeaderName = !1) : m.apiParamName = !1, (n && !((A = u == null ? void 0 : u.variables) != null && A.baseUrl) || !n && (u == null ? void 0 : u.baseUrlRequired) === !1) && (m.baseUrl = !1), m;
3628
3628
  }, E = () => {
3629
- const m = p(), A = st(g());
3629
+ const m = I(), A = st(g());
3630
3630
  return !Object.keys(o.errors).filter((T) => !!o.errors[T]).filter((T) => T in m ? m[T] : !0).filter((T) => T in A).length;
3631
3631
  }, F = () => {
3632
- const m = p(), A = st(g()), v = Sr({
3632
+ const m = I(), A = st(g()), v = Sr({
3633
3633
  isEdit: n,
3634
3634
  templateId: e,
3635
3635
  values: o.values,
@@ -3653,8 +3653,8 @@ const Tr = N(de)`
3653
3653
  {
3654
3654
  formConfig: g(),
3655
3655
  selectChangeHandler: h,
3656
- inputChangeHandler: I,
3657
- predicates: p(),
3656
+ inputChangeHandler: p,
3657
+ predicates: I(),
3658
3658
  values: o.values,
3659
3659
  validations: Gr,
3660
3660
  onValidationError: f,
@@ -3780,28 +3780,28 @@ const Tr = N(de)`
3780
3780
  gap: 20px;
3781
3781
  width: 100%;
3782
3782
  `, qr = () => {
3783
- const n = ce(ai), e = ce(ri), i = ce(oi), u = ce(li), t = ce(Hn), r = ce(Pn), o = Ln(), { id: s = "" } = Dn(), [a] = On(), l = a.get("isEdit") === "true", c = n == null ? void 0 : n[s], d = $e();
3783
+ const n = ce(Hn), e = ce(oi), i = ce(Pn), u = ce(li), t = ce(Ln), r = ce(Dn), o = On(), { id: s = "" } = Mn(), [a] = kn(), l = a.get("isEdit") === "true", c = $e();
3784
3784
  te(
3785
3785
  () => () => {
3786
- d(Mn()), d(kn.clearSelectedTemplate());
3786
+ c(Jn()), c(Yn.clearSelectedConnector());
3787
3787
  },
3788
- [d]
3788
+ [c]
3789
3789
  ), te(() => {
3790
- d(l ? Jn(s) : Yn(s));
3791
- }, [l, d, s]), te(() => {
3792
- let h, f;
3793
- const g = (p) => {
3794
- h && p.origin === window.location.origin && (p.data === zn || p.data === gt) && (clearTimeout(f), h.close(), d(dt(p.data === gt ? se.SUCCESS : se.FAILED)));
3790
+ c(l ? jn(s) : zn(s));
3791
+ }, [l, c, s]), te(() => {
3792
+ let p, h;
3793
+ const f = (g) => {
3794
+ p && g.origin === window.location.origin && (g.data === Qn || g.data === gt) && (clearTimeout(h), p.close(), c(dt(g.data === gt ? se.SUCCESS : se.FAILED)));
3795
3795
  };
3796
- return t && (h = window.open(t, "_blank"), f = setTimeout(() => {
3797
- h == null || h.close(), d(dt(se.FAILED));
3798
- }, 1e4), window.addEventListener("message", g)), () => {
3799
- window.removeEventListener("message", g), clearTimeout(f);
3796
+ return t && (p = window.open(t, "_blank"), h = setTimeout(() => {
3797
+ p == null || p.close(), c(dt(se.FAILED));
3798
+ }, 1e4), window.addEventListener("message", f)), () => {
3799
+ window.removeEventListener("message", f), clearTimeout(h);
3800
3800
  };
3801
- }, [t, d]), te(() => {
3802
- (r === se.SUCCESS || r === se.FAILED) && o(jn.BASEPATH), r === se.SUCCESS && pt({ message: Un, type: si }), r === se.FAILED && pt({ message: Qn, type: ci });
3801
+ }, [t, c]), te(() => {
3802
+ (r === se.SUCCESS || r === se.FAILED) && o(Un.BASEPATH), r === se.SUCCESS && pt({ message: _n, type: si }), r === se.FAILED && pt({ message: Kn, type: ci });
3803
3803
  }, [r, o]);
3804
- const b = l ? c : e, I = i === Ye.LOADING || u === Ye.LOADING;
3804
+ const d = l ? n : e, b = i === Ye.LOADING || u === Ye.LOADING;
3805
3805
  return /* @__PURE__ */ C.jsxs(zr, { direction: "row", children: [
3806
3806
  /* @__PURE__ */ C.jsxs("div", { children: [
3807
3807
  /* @__PURE__ */ C.jsx(fi, {}),
@@ -3810,13 +3810,13 @@ const Tr = N(de)`
3810
3810
  {
3811
3811
  connectorId: s,
3812
3812
  isEdit: l,
3813
- connectorData: b,
3813
+ connectorData: d,
3814
3814
  authStatus: r,
3815
- isLoading: I
3815
+ isLoading: b
3816
3816
  }
3817
3817
  )
3818
3818
  ] }),
3819
- /* @__PURE__ */ C.jsx(jr, { connectorId: s, disabled: I || !(b != null && b.isAuthenticated) })
3819
+ /* @__PURE__ */ C.jsx(jr, { connectorId: s, disabled: b || !(d != null && d.isAuthenticated) })
3820
3820
  ] });
3821
3821
  };
3822
3822
  export {