@livechat/design-system-react-components 1.33.7 → 1.33.8-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -590,7 +590,7 @@ const Lc = {
|
|
|
590
590
|
_ && Pr[`${Ar}--${o ? "disabled--" : ""}${_}`]
|
|
591
591
|
);
|
|
592
592
|
return /* @__PURE__ */ e.createElement("span", T(k({}, c), { className: i }), d);
|
|
593
|
-
},
|
|
593
|
+
}, Ue = {
|
|
594
594
|
"heading-xl": "lc-Typography-module__heading-xl___nhr-6",
|
|
595
595
|
"heading-lg": "lc-Typography-module__heading-lg___XYF7l",
|
|
596
596
|
"heading-md": "lc-Typography-module__heading-md___wHOIs",
|
|
@@ -645,9 +645,9 @@ const Lc = {
|
|
|
645
645
|
k({
|
|
646
646
|
className: u(
|
|
647
647
|
{
|
|
648
|
-
[
|
|
649
|
-
[
|
|
650
|
-
[
|
|
648
|
+
[Ue[`heading-${a}`]]: !0,
|
|
649
|
+
[Ue["heading-uppercase"]]: o,
|
|
650
|
+
[Ue["heading-bold"]]: l
|
|
651
651
|
},
|
|
652
652
|
_
|
|
653
653
|
),
|
|
@@ -683,18 +683,18 @@ const Lc = {
|
|
|
683
683
|
"textAlign",
|
|
684
684
|
"noMargin"
|
|
685
685
|
]);
|
|
686
|
-
const
|
|
686
|
+
const h = "paragraph";
|
|
687
687
|
return e.createElement(
|
|
688
688
|
t,
|
|
689
689
|
k({
|
|
690
690
|
className: u(
|
|
691
691
|
{
|
|
692
|
-
[
|
|
693
|
-
[
|
|
694
|
-
[
|
|
695
|
-
[
|
|
696
|
-
[
|
|
697
|
-
[
|
|
692
|
+
[Ue[`${h}-${a}`]]: !0,
|
|
693
|
+
[Ue[`${h}--bold`]]: o,
|
|
694
|
+
[Ue[`${h}--strike`]]: n,
|
|
695
|
+
[Ue[`${h}--underline`]]: l,
|
|
696
|
+
[Ue[`${h}--uppercase`]]: _ || r,
|
|
697
|
+
[Ue[`${h}--no-margin`]]: p
|
|
698
698
|
},
|
|
699
699
|
d
|
|
700
700
|
),
|
|
@@ -724,9 +724,9 @@ const Lc = {
|
|
|
724
724
|
t,
|
|
725
725
|
k({
|
|
726
726
|
className: u(
|
|
727
|
-
|
|
727
|
+
Ue[`display-${a}`],
|
|
728
728
|
{
|
|
729
|
-
[
|
|
729
|
+
[Ue["display--bold"]]: n
|
|
730
730
|
},
|
|
731
731
|
_
|
|
732
732
|
),
|
|
@@ -734,7 +734,7 @@ const Lc = {
|
|
|
734
734
|
}, c),
|
|
735
735
|
r
|
|
736
736
|
);
|
|
737
|
-
},
|
|
737
|
+
}, ze = {
|
|
738
738
|
"action-menu": "lc-ActionMenu-module__action-menu___K2UwW",
|
|
739
739
|
"action-menu__trigger-button": "lc-ActionMenu-module__action-menu__trigger-button___tBrz5",
|
|
740
740
|
"action-menu__list": "lc-ActionMenu-module__action-menu__list___9pNUX",
|
|
@@ -746,8 +746,8 @@ const Lc = {
|
|
|
746
746
|
"action-menu__list__item__icon": "lc-ActionMenu-module__action-menu__list__item__icon___o3ePo",
|
|
747
747
|
"action-menu__list--with-footer": "lc-ActionMenu-module__action-menu__list--with-footer___ghTxL",
|
|
748
748
|
"action-menu__footer": "lc-ActionMenu-module__action-menu__footer___HxoOe"
|
|
749
|
-
},
|
|
750
|
-
var
|
|
749
|
+
}, We = "action-menu", mo = (h) => {
|
|
750
|
+
var v = h, {
|
|
751
751
|
className: t,
|
|
752
752
|
triggerClassName: a,
|
|
753
753
|
options: r,
|
|
@@ -762,7 +762,7 @@ const Lc = {
|
|
|
762
762
|
floatingStrategy: p,
|
|
763
763
|
selectedOptions: m,
|
|
764
764
|
footer: f
|
|
765
|
-
} =
|
|
765
|
+
} = v, b = D(v, [
|
|
766
766
|
"className",
|
|
767
767
|
"triggerClassName",
|
|
768
768
|
"options",
|
|
@@ -796,12 +796,12 @@ const Lc = {
|
|
|
796
796
|
strategy: p,
|
|
797
797
|
onOpenChange: I,
|
|
798
798
|
whileElementsMounted: ma
|
|
799
|
-
}), ue = pa(U),
|
|
799
|
+
}), ue = pa(U), Te = ga(U, {
|
|
800
800
|
enabled: G
|
|
801
|
-
}),
|
|
801
|
+
}), He = fa(U), { getReferenceProps: Ne, getFloatingProps: $t } = ba([
|
|
802
802
|
ue,
|
|
803
|
-
|
|
804
|
-
|
|
803
|
+
Te,
|
|
804
|
+
He
|
|
805
805
|
]), { styles: ft } = kr(U, {
|
|
806
806
|
initial: ({ side: P }) => k({
|
|
807
807
|
opacity: 0
|
|
@@ -844,7 +844,7 @@ const Lc = {
|
|
|
844
844
|
{
|
|
845
845
|
key: P.key,
|
|
846
846
|
role: "none",
|
|
847
|
-
className:
|
|
847
|
+
className: ze[`${We}__list__group-header`]
|
|
848
848
|
},
|
|
849
849
|
P.element
|
|
850
850
|
) : /* @__PURE__ */ e.createElement("li", { key: P.key, role: "none" }, /* @__PURE__ */ e.createElement(
|
|
@@ -856,10 +856,10 @@ const Lc = {
|
|
|
856
856
|
disabled: P.disabled,
|
|
857
857
|
onClick: () => ht(V, P.onClick),
|
|
858
858
|
role: "menuitem",
|
|
859
|
-
className: u(
|
|
860
|
-
[
|
|
861
|
-
[
|
|
862
|
-
[
|
|
859
|
+
className: u(ze[`${We}__list__item`], {
|
|
860
|
+
[ze[`${We}__list__item--disabled`]]: P.disabled,
|
|
861
|
+
[ze[`${We}__list__item--with-divider`]]: P.withDivider,
|
|
862
|
+
[ze[`${We}__list__item--selected`]]: m == null ? void 0 : m.includes(P.key)
|
|
863
863
|
})
|
|
864
864
|
},
|
|
865
865
|
P.element,
|
|
@@ -867,7 +867,7 @@ const Lc = {
|
|
|
867
867
|
"div",
|
|
868
868
|
{
|
|
869
869
|
"data-testid": `${P.key}-selected-icon`,
|
|
870
|
-
className:
|
|
870
|
+
className: ze[`${We}__list__item__icon`]
|
|
871
871
|
},
|
|
872
872
|
/* @__PURE__ */ e.createElement(x, { source: ia, kind: "action-primary" })
|
|
873
873
|
)
|
|
@@ -885,7 +885,7 @@ const Lc = {
|
|
|
885
885
|
"div",
|
|
886
886
|
k({
|
|
887
887
|
ref: L.setFloating,
|
|
888
|
-
className:
|
|
888
|
+
className: ze[We],
|
|
889
889
|
style: k(k({
|
|
890
890
|
position: j,
|
|
891
891
|
top: Y != null ? Y : "",
|
|
@@ -896,9 +896,9 @@ const Lc = {
|
|
|
896
896
|
"ul",
|
|
897
897
|
T(k({}, b), {
|
|
898
898
|
className: u(
|
|
899
|
-
|
|
899
|
+
ze[`${We}__list`],
|
|
900
900
|
{
|
|
901
|
-
[
|
|
901
|
+
[ze[`${We}__list--with-footer`]]: f
|
|
902
902
|
},
|
|
903
903
|
t
|
|
904
904
|
),
|
|
@@ -912,7 +912,7 @@ const Lc = {
|
|
|
912
912
|
{
|
|
913
913
|
size: "sm",
|
|
914
914
|
as: "div",
|
|
915
|
-
className:
|
|
915
|
+
className: ze[`${We}__footer`]
|
|
916
916
|
},
|
|
917
917
|
f
|
|
918
918
|
)
|
|
@@ -1020,8 +1020,8 @@ const Lc = {
|
|
|
1020
1020
|
"btn--plain-lock-black": "lc-Button-module__btn--plain-lock-black___aL-wC",
|
|
1021
1021
|
"btn--text-lock-black": "lc-Button-module__btn--text-lock-black___fy3zb"
|
|
1022
1022
|
}, fe = "btn", W = e.forwardRef(
|
|
1023
|
-
(
|
|
1024
|
-
var
|
|
1023
|
+
(h, b) => {
|
|
1024
|
+
var v = h, {
|
|
1025
1025
|
loading: t = !1,
|
|
1026
1026
|
disabled: a = !1,
|
|
1027
1027
|
type: r = "button",
|
|
@@ -1035,7 +1035,7 @@ const Lc = {
|
|
|
1035
1035
|
children: s,
|
|
1036
1036
|
href: p,
|
|
1037
1037
|
onClick: m
|
|
1038
|
-
} =
|
|
1038
|
+
} = v, f = D(v, [
|
|
1039
1039
|
"loading",
|
|
1040
1040
|
"disabled",
|
|
1041
1041
|
"type",
|
|
@@ -1182,8 +1182,8 @@ const Co = (t) => {
|
|
|
1182
1182
|
transitionDuration: m = 200,
|
|
1183
1183
|
hoverOnDuration: f,
|
|
1184
1184
|
hoverOffDuration: b,
|
|
1185
|
-
transitionDelay:
|
|
1186
|
-
hoverOnDelay:
|
|
1185
|
+
transitionDelay: h = 0,
|
|
1186
|
+
hoverOnDelay: v,
|
|
1187
1187
|
hoverOffDelay: y,
|
|
1188
1188
|
triggerOnClick: E = !1,
|
|
1189
1189
|
triggerOnHover: $ = !0,
|
|
@@ -1199,14 +1199,14 @@ const Co = (t) => {
|
|
|
1199
1199
|
closeOnTriggerBlur: Y = !1,
|
|
1200
1200
|
floatingStrategy: j
|
|
1201
1201
|
}) => {
|
|
1202
|
-
const L = c !== void 0, [U, ue] = e.useState(!1),
|
|
1202
|
+
const L = c !== void 0, [U, ue] = e.useState(!1), Te = e.useRef(null), He = L ? c : U, Ne = l || o, $t = Ga(), ft = sa(), Nt = u(
|
|
1203
1203
|
A[ya],
|
|
1204
1204
|
a,
|
|
1205
1205
|
Ne && A[`${ya}--${Ne}`],
|
|
1206
1206
|
d && A[`${ya}--full-space`]
|
|
1207
1207
|
), bt = typeof _ == "function", lt = (pe) => {
|
|
1208
|
-
pe !==
|
|
1209
|
-
}, ht = (pe) => p ? pe != null ? pe : m : 0, St = (pe) => pe != null ? pe :
|
|
1208
|
+
pe !== He && (pe ? s == null || s() : i == null || i(), !L && ue(pe));
|
|
1209
|
+
}, ht = (pe) => p ? pe != null ? pe : m : 0, St = (pe) => pe != null ? pe : h, {
|
|
1210
1210
|
floatingStyles: xt,
|
|
1211
1211
|
refs: P,
|
|
1212
1212
|
context: V,
|
|
@@ -1217,10 +1217,10 @@ const Co = (t) => {
|
|
|
1217
1217
|
ua({ mainAxis: w, crossAxis: C }),
|
|
1218
1218
|
Er(),
|
|
1219
1219
|
Ua(),
|
|
1220
|
-
Z_({ element:
|
|
1220
|
+
Z_({ element: Te })
|
|
1221
1221
|
],
|
|
1222
1222
|
placement: n,
|
|
1223
|
-
open:
|
|
1223
|
+
open: He,
|
|
1224
1224
|
strategy: j,
|
|
1225
1225
|
onOpenChange: lt,
|
|
1226
1226
|
whileElementsMounted: ma
|
|
@@ -1228,7 +1228,7 @@ const Co = (t) => {
|
|
|
1228
1228
|
move: !1,
|
|
1229
1229
|
restMs: N,
|
|
1230
1230
|
delay: {
|
|
1231
|
-
open: St(
|
|
1231
|
+
open: St(v),
|
|
1232
1232
|
close: St(y || G)
|
|
1233
1233
|
},
|
|
1234
1234
|
enabled: $,
|
|
@@ -1272,7 +1272,7 @@ const Co = (t) => {
|
|
|
1272
1272
|
/* @__PURE__ */ e.createElement(
|
|
1273
1273
|
eo,
|
|
1274
1274
|
k({
|
|
1275
|
-
ref:
|
|
1275
|
+
ref: Te,
|
|
1276
1276
|
context: V,
|
|
1277
1277
|
strokeWidth: 1,
|
|
1278
1278
|
width: 10,
|
|
@@ -1652,7 +1652,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1652
1652
|
q[wa],
|
|
1653
1653
|
t,
|
|
1654
1654
|
l && q[`${wa}--vertical`]
|
|
1655
|
-
),
|
|
1655
|
+
), h = !f && i.length !== 0;
|
|
1656
1656
|
e.useEffect(() => {
|
|
1657
1657
|
f || (_.length > c ? s(_.slice(c, _.length)) : s([]));
|
|
1658
1658
|
}, [_, c]), e.useEffect(() => {
|
|
@@ -1667,7 +1667,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1667
1667
|
return $.observe(document.querySelector(`#${a}`)), () => $.disconnect();
|
|
1668
1668
|
}
|
|
1669
1669
|
}, [i, f, c]);
|
|
1670
|
-
const
|
|
1670
|
+
const v = e.useCallback(() => i.reduce(
|
|
1671
1671
|
(E, $) => {
|
|
1672
1672
|
if (!$.hideInMenu) {
|
|
1673
1673
|
const w = {
|
|
@@ -1697,7 +1697,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1697
1697
|
vertical: l
|
|
1698
1698
|
}
|
|
1699
1699
|
))
|
|
1700
|
-
),
|
|
1700
|
+
), h && /* @__PURE__ */ e.createElement(
|
|
1701
1701
|
"div",
|
|
1702
1702
|
{
|
|
1703
1703
|
className: u(
|
|
@@ -1714,7 +1714,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1714
1714
|
onClose: () => m(!1),
|
|
1715
1715
|
floatingStrategy: "fixed",
|
|
1716
1716
|
placement: l ? "left-start" : "bottom-end",
|
|
1717
|
-
options:
|
|
1717
|
+
options: v(),
|
|
1718
1718
|
triggerClassName: u(
|
|
1719
1719
|
l && q[`${Xe}__trigger-vertical`]
|
|
1720
1720
|
),
|
|
@@ -2040,7 +2040,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
2040
2040
|
};
|
|
2041
2041
|
function Fa() {
|
|
2042
2042
|
}
|
|
2043
|
-
const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-test-id", Wo = "side-navigation-parent-icon",
|
|
2043
|
+
const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-test-id", Wo = "side-navigation-parent-icon", De = {
|
|
2044
2044
|
"side-navigation-item": "lc-SideNavigationItem-module__side-navigation-item___MsJTw",
|
|
2045
2045
|
"side-navigation-item__anchor": "lc-SideNavigationItem-module__side-navigation-item__anchor___zeXS-",
|
|
2046
2046
|
"side-navigation-item__custom-label": "lc-SideNavigationItem-module__side-navigation-item__custom-label___vOtD-",
|
|
@@ -2052,7 +2052,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2052
2052
|
"side-navigation-item__label": "lc-SideNavigationItem-module__side-navigation-item__label___8xcMR",
|
|
2053
2053
|
"side-navigation-item__label--active": "lc-SideNavigationItem-module__side-navigation-item__label--active___lHzUo",
|
|
2054
2054
|
"side-navigation-item__custom-label--active": "lc-SideNavigationItem-module__side-navigation-item__custom-label--active___js4w6"
|
|
2055
|
-
},
|
|
2055
|
+
}, Pe = "side-navigation-item", Vo = (m) => {
|
|
2056
2056
|
var f = m, {
|
|
2057
2057
|
leftNode: t,
|
|
2058
2058
|
shouldKeepIconSpace: a = !0,
|
|
@@ -2078,15 +2078,15 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2078
2078
|
"onItemHover",
|
|
2079
2079
|
"isIconHidden"
|
|
2080
2080
|
]);
|
|
2081
|
-
const b = typeof _ == "string",
|
|
2081
|
+
const b = typeof _ == "string", h = (y) => {
|
|
2082
2082
|
y.preventDefault(), n == null || n();
|
|
2083
|
-
},
|
|
2083
|
+
}, v = (y) => {
|
|
2084
2084
|
y.key === "Enter" && (y.preventDefault(), n == null || n());
|
|
2085
2085
|
};
|
|
2086
2086
|
return /* @__PURE__ */ e.createElement(
|
|
2087
2087
|
"li",
|
|
2088
2088
|
k({
|
|
2089
|
-
className: u([
|
|
2089
|
+
className: u([De[Pe], o]),
|
|
2090
2090
|
"data-testid": c ? zo : Ho,
|
|
2091
2091
|
"data-active": c
|
|
2092
2092
|
}, p),
|
|
@@ -2094,22 +2094,22 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2094
2094
|
"a",
|
|
2095
2095
|
{
|
|
2096
2096
|
tabIndex: 0,
|
|
2097
|
-
className: u(
|
|
2098
|
-
[
|
|
2099
|
-
[
|
|
2100
|
-
[
|
|
2097
|
+
className: u(De[`${Pe}__anchor`], {
|
|
2098
|
+
[De[`${Pe}__anchor--active`]]: c,
|
|
2099
|
+
[De[`${Pe}__anchor--main-entry`]]: d,
|
|
2100
|
+
[De[`${Pe}__anchor--icon-hidden`]]: s
|
|
2101
2101
|
}),
|
|
2102
2102
|
href: r,
|
|
2103
|
-
onClick:
|
|
2104
|
-
onKeyDown:
|
|
2103
|
+
onClick: h,
|
|
2104
|
+
onKeyDown: v,
|
|
2105
2105
|
onMouseEnter: i || Fa,
|
|
2106
2106
|
onFocus: i || Fa
|
|
2107
2107
|
},
|
|
2108
2108
|
a && /* @__PURE__ */ e.createElement(
|
|
2109
2109
|
"span",
|
|
2110
2110
|
{
|
|
2111
|
-
className: u(
|
|
2112
|
-
[
|
|
2111
|
+
className: u(De[`${Pe}__left-node`], {
|
|
2112
|
+
[De[`${Pe}__left-node--active`]]: c || d
|
|
2113
2113
|
}),
|
|
2114
2114
|
"data-testid": Wo
|
|
2115
2115
|
},
|
|
@@ -2119,16 +2119,16 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2119
2119
|
B,
|
|
2120
2120
|
{
|
|
2121
2121
|
bold: c || d,
|
|
2122
|
-
className: u(
|
|
2123
|
-
[
|
|
2122
|
+
className: u(De[`${Pe}__label`], {
|
|
2123
|
+
[De[`${Pe}__label--active`]]: c || d
|
|
2124
2124
|
})
|
|
2125
2125
|
},
|
|
2126
2126
|
_
|
|
2127
2127
|
) : /* @__PURE__ */ e.createElement(
|
|
2128
2128
|
"span",
|
|
2129
2129
|
{
|
|
2130
|
-
className: u(
|
|
2131
|
-
[
|
|
2130
|
+
className: u(De[`${Pe}__custom-label`], {
|
|
2131
|
+
[De[`${Pe}__custom-label--active`]]: c || d
|
|
2132
2132
|
})
|
|
2133
2133
|
},
|
|
2134
2134
|
_
|
|
@@ -2155,11 +2155,11 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2155
2155
|
shouldOpenOnInit: n = !1,
|
|
2156
2156
|
shouldOpenOnActive: c = !1
|
|
2157
2157
|
}) => {
|
|
2158
|
-
const [d, i] = e.useState(!1), [s, p] = e.useState(0), m = e.useRef(!1), f = e.useRef(null), { isOpen: b, isMounted:
|
|
2158
|
+
const [d, i] = e.useState(!1), [s, p] = e.useState(0), m = e.useRef(!1), f = e.useRef(null), { isOpen: b, isMounted: h, setIsOpen: v } = $r({
|
|
2159
2159
|
isVisible: !o || n,
|
|
2160
2160
|
elementRef: f
|
|
2161
|
-
}), y = typeof a == "function" ? a(b) : a, E = typeof t == "function" ? t(b) : t, $ = () =>
|
|
2162
|
-
o &&
|
|
2161
|
+
}), y = typeof a == "function" ? a(b) : a, E = typeof t == "function" ? t(b) : t, $ = () => v(!0), w = () => {
|
|
2162
|
+
o && v((g) => !g);
|
|
2163
2163
|
}, C = (g) => {
|
|
2164
2164
|
const N = g == null ? void 0 : g.getElementsByTagName("li"), S = N != null && N.length ? [...N].some(
|
|
2165
2165
|
(G) => G.getAttribute("data-active") === "true"
|
|
@@ -2208,7 +2208,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2208
2208
|
]),
|
|
2209
2209
|
style: { maxHeight: b ? s : 0 }
|
|
2210
2210
|
},
|
|
2211
|
-
|
|
2211
|
+
h && /* @__PURE__ */ e.createElement(
|
|
2212
2212
|
"ul",
|
|
2213
2213
|
{
|
|
2214
2214
|
className: u(ct[`${it}__list`], r),
|
|
@@ -2391,7 +2391,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2391
2391
|
"className"
|
|
2392
2392
|
]);
|
|
2393
2393
|
return /* @__PURE__ */ e.createElement("nav", k({ className: u(jo[Qo], a) }, r), t);
|
|
2394
|
-
},
|
|
2394
|
+
}, Ke = {
|
|
2395
2395
|
"navigation-top-bar": "lc-NavigationTopBar-module__navigation-top-bar___y5sPE",
|
|
2396
2396
|
"navigation-top-bar__title": "lc-NavigationTopBar-module__navigation-top-bar__title___GQaye",
|
|
2397
2397
|
"navigation-top-bar__alert": "lc-NavigationTopBar-module__navigation-top-bar__alert___m45Ys",
|
|
@@ -2409,14 +2409,14 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2409
2409
|
children: t,
|
|
2410
2410
|
className: a,
|
|
2411
2411
|
additionalNodes: r
|
|
2412
|
-
}) => /* @__PURE__ */ e.createElement("div", { className: u(
|
|
2412
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: u(Ke[Nr], a) }, t, r), el = ({
|
|
2413
2413
|
children: t,
|
|
2414
2414
|
className: a,
|
|
2415
2415
|
"data-testid": r
|
|
2416
2416
|
}) => /* @__PURE__ */ e.createElement(
|
|
2417
2417
|
"div",
|
|
2418
2418
|
{
|
|
2419
|
-
className: u(
|
|
2419
|
+
className: u(Ke[`${Nr}__title`], a),
|
|
2420
2420
|
"data-testid": r
|
|
2421
2421
|
},
|
|
2422
2422
|
t
|
|
@@ -2432,17 +2432,17 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2432
2432
|
const c = e.useRef(null), { isMounted: d, isOpen: i } = $r({
|
|
2433
2433
|
isVisible: n,
|
|
2434
2434
|
elementRef: c
|
|
2435
|
-
}), s = window.matchMedia("(max-width: 768px)").matches, p = a === "warning" ? "link-inverted" : "text", m = a === "warning" ? "secondary" : "high-contrast", f = o || l ? /* @__PURE__ */ e.createElement("div", { className:
|
|
2435
|
+
}), s = window.matchMedia("(max-width: 768px)").matches, p = a === "warning" ? "link-inverted" : "text", m = a === "warning" ? "secondary" : "high-contrast", f = o || l ? /* @__PURE__ */ e.createElement("div", { className: Ke[`${st}__cta-wrapper`] }, o && /* @__PURE__ */ e.createElement(
|
|
2436
2436
|
W,
|
|
2437
2437
|
k({
|
|
2438
2438
|
size: "compact",
|
|
2439
2439
|
kind: s ? p : m
|
|
2440
2440
|
}, o),
|
|
2441
2441
|
o.label
|
|
2442
|
-
), l && /* @__PURE__ */ e.createElement(W, k({ size: "compact", kind: p }, l), l.label)) : null, b = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className:
|
|
2442
|
+
), l && /* @__PURE__ */ e.createElement(W, k({ size: "compact", kind: p }, l), l.label)) : null, b = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: Ke[`${st}__children-wrapper`] }, _, f), r && /* @__PURE__ */ e.createElement(
|
|
2443
2443
|
"button",
|
|
2444
2444
|
k({
|
|
2445
|
-
className:
|
|
2445
|
+
className: Ke[`${st}__close-button`]
|
|
2446
2446
|
}, r),
|
|
2447
2447
|
/* @__PURE__ */ e.createElement(x, { source: Ie })
|
|
2448
2448
|
));
|
|
@@ -2450,9 +2450,9 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2450
2450
|
"div",
|
|
2451
2451
|
{
|
|
2452
2452
|
className: u(
|
|
2453
|
-
|
|
2453
|
+
Ke[`${st}__wrapper`],
|
|
2454
2454
|
{
|
|
2455
|
-
[
|
|
2455
|
+
[Ke[`${st}__wrapper--open`]]: i
|
|
2456
2456
|
},
|
|
2457
2457
|
"lc-dark-theme"
|
|
2458
2458
|
// Alerts are forced into dark mode to maintain consistency of the colors
|
|
@@ -2465,10 +2465,10 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2465
2465
|
{
|
|
2466
2466
|
"data-testid": "navigation-top-bar-alert",
|
|
2467
2467
|
className: u(
|
|
2468
|
-
|
|
2469
|
-
|
|
2468
|
+
Ke[st],
|
|
2469
|
+
Ke[`${st}--${a}`],
|
|
2470
2470
|
{
|
|
2471
|
-
[
|
|
2471
|
+
[Ke[`${st}--open`]]: i
|
|
2472
2472
|
},
|
|
2473
2473
|
t
|
|
2474
2474
|
)
|
|
@@ -2580,7 +2580,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2580
2580
|
"type",
|
|
2581
2581
|
"withRim"
|
|
2582
2582
|
]);
|
|
2583
|
-
const f = d === "image" && !l, [b,
|
|
2583
|
+
const f = d === "image" && !l, [b, h] = e.useState(f), v = d === "image" && !!l && !b, y = d === "text", E = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, $ = rl(c, E), w = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(o), C = r || al(c), g = C ? _l(C) : void 0, N = y ? { backgroundColor: C } : {}, S = u(k({
|
|
2584
2584
|
[ye[_e]]: !0,
|
|
2585
2585
|
[ye[`${_e}--${_}`]]: !0,
|
|
2586
2586
|
[ye[`${_e}--${o}`]]: !0,
|
|
@@ -2596,9 +2596,9 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2596
2596
|
), I = u(
|
|
2597
2597
|
ye[`${_e}__rim`],
|
|
2598
2598
|
ye[`${_e}__rim--${o}`]
|
|
2599
|
-
), O = (j) => w ? "2xs" : ["medium"].includes(j) ? "xs" : ["large", "xlarge"].includes(j) ? "sm" : ["xxlarge"].includes(j) ? "lg" : "xl", Y = e.useCallback(() =>
|
|
2599
|
+
), O = (j) => w ? "2xs" : ["medium"].includes(j) ? "xs" : ["large", "xlarge"].includes(j) ? "sm" : ["xxlarge"].includes(j) ? "lg" : "xl", Y = e.useCallback(() => h(!0), []);
|
|
2600
2600
|
return e.useEffect(() => {
|
|
2601
|
-
|
|
2601
|
+
h(f);
|
|
2602
2602
|
}, [f]), /* @__PURE__ */ e.createElement("div", k({ className: S, style: N }, s), i && /* @__PURE__ */ e.createElement(
|
|
2603
2603
|
"div",
|
|
2604
2604
|
{
|
|
@@ -2611,7 +2611,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2611
2611
|
"data-testid": `${_e}__status`,
|
|
2612
2612
|
className: M
|
|
2613
2613
|
}
|
|
2614
|
-
),
|
|
2614
|
+
), v && /* @__PURE__ */ e.createElement(
|
|
2615
2615
|
"img",
|
|
2616
2616
|
{
|
|
2617
2617
|
className: ye[`${_e}__image`],
|
|
@@ -2659,15 +2659,15 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2659
2659
|
}, [o]);
|
|
2660
2660
|
const p = (f, b) => {
|
|
2661
2661
|
s || i(f), n(f, b);
|
|
2662
|
-
}, m = a.map(({ id: f, label: b, loading:
|
|
2663
|
-
const E = f === d, $ = E ? Na["btn--active"] : "", w = E ? !1 :
|
|
2662
|
+
}, m = a.map(({ id: f, label: b, loading: h, disabled: v, icon: y }) => {
|
|
2663
|
+
const E = f === d, $ = E ? Na["btn--active"] : "", w = E ? !1 : h;
|
|
2664
2664
|
return /* @__PURE__ */ e.createElement(
|
|
2665
2665
|
W,
|
|
2666
2666
|
{
|
|
2667
2667
|
key: f,
|
|
2668
2668
|
fullWidth: l,
|
|
2669
2669
|
loading: w,
|
|
2670
|
-
disabled:
|
|
2670
|
+
disabled: v,
|
|
2671
2671
|
"aria-pressed": E,
|
|
2672
2672
|
kind: "secondary",
|
|
2673
2673
|
icon: y,
|
|
@@ -2714,7 +2714,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2714
2714
|
"src",
|
|
2715
2715
|
"title"
|
|
2716
2716
|
]);
|
|
2717
|
-
const [p, m] = e.useState(!1), f = p ? Oa : Ot, b = p ? "Hide" : "Show more",
|
|
2717
|
+
const [p, m] = e.useState(!1), f = p ? Oa : Ot, b = p ? "Hide" : "Show more", h = (a == null ? void 0 : a.length) > 0, v = !!l, y = h || v, E = c, $ = n, w = $ ? "" : we[yl];
|
|
2718
2718
|
return /* @__PURE__ */ e.createElement("div", k({ className: u(we[na], _) }, d), E && /* @__PURE__ */ e.createElement("div", { className: u(we[Ma], w) }, $ && /* @__PURE__ */ e.createElement(
|
|
2719
2719
|
"img",
|
|
2720
2720
|
{
|
|
@@ -2737,7 +2737,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2737
2737
|
className: we[`${na}__expanded-content`]
|
|
2738
2738
|
},
|
|
2739
2739
|
l
|
|
2740
|
-
), y && /* @__PURE__ */ e.createElement("div", { className: we[Sa] }, /* @__PURE__ */ e.createElement("div", { className: we[`${Sa}__line`] }), /* @__PURE__ */ e.createElement("div", { className: we[`${Sa}__buttons`] },
|
|
2740
|
+
), y && /* @__PURE__ */ e.createElement("div", { className: we[Sa] }, /* @__PURE__ */ e.createElement("div", { className: we[`${Sa}__line`] }), /* @__PURE__ */ e.createElement("div", { className: we[`${Sa}__buttons`] }, h && a.map(
|
|
2741
2741
|
({ kind: C, onClick: g, children: N }, S) => /* @__PURE__ */ e.createElement(
|
|
2742
2742
|
W,
|
|
2743
2743
|
{
|
|
@@ -2748,7 +2748,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2748
2748
|
},
|
|
2749
2749
|
N
|
|
2750
2750
|
)
|
|
2751
|
-
),
|
|
2751
|
+
), v && /* @__PURE__ */ e.createElement(
|
|
2752
2752
|
W,
|
|
2753
2753
|
{
|
|
2754
2754
|
className: we[`${Sa}__buttons-expander`],
|
|
@@ -2862,19 +2862,19 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2862
2862
|
const E = Rt(i, 12);
|
|
2863
2863
|
return r(E);
|
|
2864
2864
|
}
|
|
2865
|
-
const
|
|
2865
|
+
const v = Math.abs(Ir(i, s)), y = Rt(
|
|
2866
2866
|
i,
|
|
2867
|
-
!Number.isNaN(
|
|
2867
|
+
!Number.isNaN(v) && v > 12 ? 12 : v
|
|
2868
2868
|
);
|
|
2869
2869
|
return r(y);
|
|
2870
|
-
},
|
|
2870
|
+
}, h = () => {
|
|
2871
2871
|
if (!p) {
|
|
2872
2872
|
const E = Tr(i, 12);
|
|
2873
2873
|
return r(E);
|
|
2874
2874
|
}
|
|
2875
|
-
const
|
|
2875
|
+
const v = Math.abs(Ir(p, i)), y = Tr(
|
|
2876
2876
|
i,
|
|
2877
|
-
!Number.isNaN(
|
|
2877
|
+
!Number.isNaN(v) && v > 12 ? 12 : v
|
|
2878
2878
|
);
|
|
2879
2879
|
return d === 2 && pr(y, p) ? r(Rt(y, 1)) : r(y);
|
|
2880
2880
|
};
|
|
@@ -2919,7 +2919,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2919
2919
|
[c.navButtonNext]: !0,
|
|
2920
2920
|
[c.navButtonInteractionDisabled]: !o
|
|
2921
2921
|
}),
|
|
2922
|
-
onClick:
|
|
2922
|
+
onClick: h
|
|
2923
2923
|
},
|
|
2924
2924
|
/* @__PURE__ */ e.createElement(x, { source: A_, kind: "subtle" })
|
|
2925
2925
|
)));
|
|
@@ -3030,9 +3030,9 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3030
3030
|
},
|
|
3031
3031
|
[o, t.onMonthChange]
|
|
3032
3032
|
);
|
|
3033
|
-
let
|
|
3034
|
-
(n === 0 || n && n < 7) && (
|
|
3035
|
-
const
|
|
3033
|
+
let h = 1;
|
|
3034
|
+
(n === 0 || n && n < 7) && (h = n);
|
|
3035
|
+
const v = e.useMemo(
|
|
3036
3036
|
() => Rl(r, a),
|
|
3037
3037
|
[r, a]
|
|
3038
3038
|
);
|
|
@@ -3043,7 +3043,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3043
3043
|
Pl,
|
|
3044
3044
|
{
|
|
3045
3045
|
month: m,
|
|
3046
|
-
classNames:
|
|
3046
|
+
classNames: v,
|
|
3047
3047
|
numberOfMonths: c,
|
|
3048
3048
|
onMonthChange: b,
|
|
3049
3049
|
toMonth: _,
|
|
@@ -3051,11 +3051,11 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3051
3051
|
}
|
|
3052
3052
|
),
|
|
3053
3053
|
ref: s,
|
|
3054
|
-
classNames:
|
|
3054
|
+
classNames: v,
|
|
3055
3055
|
numberOfMonths: c,
|
|
3056
3056
|
toMonth: _,
|
|
3057
3057
|
fromMonth: l,
|
|
3058
|
-
firstDayOfWeek:
|
|
3058
|
+
firstDayOfWeek: h,
|
|
3059
3059
|
month: m,
|
|
3060
3060
|
renderDay: i || Ml
|
|
3061
3061
|
}, p)
|
|
@@ -3156,104 +3156,104 @@ const Gl = (t) => {
|
|
|
3156
3156
|
payload: { date: _ }
|
|
3157
3157
|
});
|
|
3158
3158
|
}, [_]), Ft(() => {
|
|
3159
|
-
const
|
|
3159
|
+
const h = b_(
|
|
3160
3160
|
r,
|
|
3161
3161
|
_,
|
|
3162
3162
|
o
|
|
3163
3163
|
);
|
|
3164
3164
|
i({
|
|
3165
3165
|
type: J.CURRENT_MONTH_CHANGE,
|
|
3166
|
-
payload: { date:
|
|
3166
|
+
payload: { date: h }
|
|
3167
3167
|
});
|
|
3168
3168
|
}, [o, r, _]), Ft(() => {
|
|
3169
|
-
const { from:
|
|
3170
|
-
if (!(
|
|
3169
|
+
const { from: h, selectedItem: v, to: y } = d;
|
|
3170
|
+
if (!(h && y))
|
|
3171
3171
|
return;
|
|
3172
|
-
const E = oa(
|
|
3172
|
+
const E = oa(v, t);
|
|
3173
3173
|
E && (l == null || l(T(k({}, E), {
|
|
3174
3174
|
value: {
|
|
3175
|
-
from:
|
|
3175
|
+
from: h,
|
|
3176
3176
|
to: y
|
|
3177
3177
|
}
|
|
3178
3178
|
})));
|
|
3179
3179
|
}, [d.from, d.to, d.selectedItem, t, l]), Ft(() => {
|
|
3180
|
-
const { selectedItem:
|
|
3181
|
-
if (
|
|
3180
|
+
const { selectedItem: h } = d;
|
|
3181
|
+
if (h === c.current)
|
|
3182
3182
|
return;
|
|
3183
|
-
if (!
|
|
3183
|
+
if (!h) {
|
|
3184
3184
|
l(null);
|
|
3185
3185
|
return;
|
|
3186
3186
|
}
|
|
3187
|
-
if (!oa(
|
|
3187
|
+
if (!oa(h, t))
|
|
3188
3188
|
return;
|
|
3189
3189
|
const y = t.reduce(
|
|
3190
3190
|
(E, $) => T(k({}, E), { [$.id]: $ }),
|
|
3191
3191
|
{}
|
|
3192
3192
|
);
|
|
3193
|
-
l(y[
|
|
3193
|
+
l(y[h]);
|
|
3194
3194
|
}, [l, d.selectedItem, t]);
|
|
3195
3195
|
const s = ka(
|
|
3196
|
-
(
|
|
3197
|
-
const
|
|
3198
|
-
!zr(d.from, d.to) &&
|
|
3196
|
+
(h) => {
|
|
3197
|
+
const v = o ? wr(o, h) >= 0 : !0;
|
|
3198
|
+
!zr(d.from, d.to) && v && i({
|
|
3199
3199
|
type: J.NEW_TEMPORARY_TO_VALUE,
|
|
3200
|
-
payload: { date:
|
|
3200
|
+
payload: { date: h }
|
|
3201
3201
|
});
|
|
3202
3202
|
},
|
|
3203
3203
|
[o, d.from, d.to]
|
|
3204
3204
|
), p = ka(
|
|
3205
|
-
(
|
|
3206
|
-
const { from:
|
|
3207
|
-
f_(
|
|
3205
|
+
(h) => {
|
|
3206
|
+
const { from: v, to: y } = d;
|
|
3207
|
+
f_(h, { to: o }) && (zr(v, y) ? i({
|
|
3208
3208
|
type: J.SELECT_FIRST_DAY,
|
|
3209
|
-
payload: { date:
|
|
3210
|
-
}) :
|
|
3209
|
+
payload: { date: h }
|
|
3210
|
+
}) : v && gr(h, v) || v && fr(h, v) ? i({
|
|
3211
3211
|
type: J.SELECT_SECOND_DAY_AS_TO,
|
|
3212
|
-
payload: { date:
|
|
3212
|
+
payload: { date: h }
|
|
3213
3213
|
}) : i({
|
|
3214
3214
|
type: J.SELECT_SECOND_DAY_AS_FROM,
|
|
3215
|
-
payload: { date:
|
|
3215
|
+
payload: { date: h }
|
|
3216
3216
|
}));
|
|
3217
3217
|
},
|
|
3218
3218
|
[o, d.from, d.to]
|
|
3219
3219
|
), m = ka(
|
|
3220
|
-
(
|
|
3221
|
-
if (
|
|
3220
|
+
(h) => {
|
|
3221
|
+
if (h === null) {
|
|
3222
3222
|
i({
|
|
3223
3223
|
type: J.NEW_SELECTED_ITEM,
|
|
3224
3224
|
payload: { selectedItem: null }
|
|
3225
3225
|
});
|
|
3226
3226
|
return;
|
|
3227
3227
|
}
|
|
3228
|
-
oa(
|
|
3228
|
+
oa(h, t) && i({
|
|
3229
3229
|
type: J.NEW_SELECTED_ITEM,
|
|
3230
|
-
payload: { selectedItem:
|
|
3230
|
+
payload: { selectedItem: h }
|
|
3231
3231
|
});
|
|
3232
3232
|
},
|
|
3233
3233
|
[t]
|
|
3234
|
-
), f = ka((
|
|
3234
|
+
), f = ka((h) => {
|
|
3235
3235
|
i({
|
|
3236
3236
|
type: J.CURRENT_MONTH_CHANGE,
|
|
3237
|
-
payload: { date:
|
|
3237
|
+
payload: { date: h }
|
|
3238
3238
|
});
|
|
3239
3239
|
}, []);
|
|
3240
3240
|
return n((() => {
|
|
3241
|
-
const { currentMonth:
|
|
3242
|
-
() => Al(
|
|
3243
|
-
[
|
|
3244
|
-
), C = Ea(() => oa(y, t), [t, y]), g = Ea(() => [
|
|
3241
|
+
const { currentMonth: h, from: v, selectedItem: y, temporaryTo: E, to: $ } = d, w = Ea(
|
|
3242
|
+
() => Al(v, E),
|
|
3243
|
+
[v, E]
|
|
3244
|
+
), C = Ea(() => oa(y, t), [t, y]), g = Ea(() => [v, { from: v, to: E }], [v, E]), N = Ea(() => o ? { after: o } : void 0, [o]);
|
|
3245
3245
|
return {
|
|
3246
3246
|
select: {
|
|
3247
3247
|
onItemSelect: m,
|
|
3248
3248
|
selected: y || ""
|
|
3249
3249
|
},
|
|
3250
3250
|
inputs: {
|
|
3251
|
-
fromDate:
|
|
3251
|
+
fromDate: v,
|
|
3252
3252
|
toDate: $
|
|
3253
3253
|
},
|
|
3254
3254
|
datepicker: {
|
|
3255
3255
|
range: !0,
|
|
3256
|
-
month:
|
|
3256
|
+
month: h,
|
|
3257
3257
|
numberOfMonths: 2,
|
|
3258
3258
|
onDayClick: p,
|
|
3259
3259
|
selectedDays: g,
|
|
@@ -3320,11 +3320,11 @@ const ii = (t) => {
|
|
|
3320
3320
|
hideLabelOnOpen: d,
|
|
3321
3321
|
onClick: i
|
|
3322
3322
|
}) => {
|
|
3323
|
-
const [s, p] = e.useState(c), [m, f] = e.useState(0), b = e.useRef(null),
|
|
3323
|
+
const [s, p] = e.useState(c), [m, f] = e.useState(0), b = e.useRef(null), h = u(
|
|
3324
3324
|
H[z],
|
|
3325
3325
|
l && H[`${z}--with-divider`],
|
|
3326
3326
|
a
|
|
3327
|
-
),
|
|
3327
|
+
), v = d && s, y = typeof o == "string", E = (w) => {
|
|
3328
3328
|
p((C) => !C), w.currentTarget.blur(), i == null || i(w);
|
|
3329
3329
|
}, $ = (w) => {
|
|
3330
3330
|
const g = w.target.tagName.toLowerCase();
|
|
@@ -3338,17 +3338,17 @@ const ii = (t) => {
|
|
|
3338
3338
|
});
|
|
3339
3339
|
return C.observe(b.current), () => C.disconnect();
|
|
3340
3340
|
}
|
|
3341
|
-
}, [b]), /* @__PURE__ */ e.createElement("div", { className:
|
|
3341
|
+
}, [b]), /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement(
|
|
3342
3342
|
"div",
|
|
3343
3343
|
{
|
|
3344
3344
|
className: u(
|
|
3345
3345
|
H[`${z}__label-wrapper`],
|
|
3346
3346
|
d && H[`${z}__label-wrapper--fading`],
|
|
3347
|
-
|
|
3347
|
+
v && H[`${z}__label-wrapper--hide`],
|
|
3348
3348
|
s && H[`${z}__label-wrapper--open`]
|
|
3349
3349
|
),
|
|
3350
3350
|
"aria-expanded": s,
|
|
3351
|
-
"aria-hidden":
|
|
3351
|
+
"aria-hidden": v,
|
|
3352
3352
|
"data-testid": "details-card-label",
|
|
3353
3353
|
onClick: $
|
|
3354
3354
|
},
|
|
@@ -3643,7 +3643,7 @@ const ii = (t) => {
|
|
|
3643
3643
|
), _ && /* @__PURE__ */ e.createElement(B, { as: "div", size: "sm", className: xa[`${Ba}__helper`] }, _)),
|
|
3644
3644
|
a
|
|
3645
3645
|
);
|
|
3646
|
-
}, ql = "lc-Input-module__input___qeMAQ",
|
|
3646
|
+
}, ql = "lc-Input-module__input___qeMAQ", Oe = {
|
|
3647
3647
|
input: ql,
|
|
3648
3648
|
"input--focused": "lc-Input-module__input--focused___wQH5-",
|
|
3649
3649
|
"input--disabled": "lc-Input-module__input--disabled___HidXX",
|
|
@@ -3658,13 +3658,13 @@ const ii = (t) => {
|
|
|
3658
3658
|
"input__icon--left": "lc-Input-module__input__icon--left___BcySs",
|
|
3659
3659
|
"input__icon--right": "lc-Input-module__input__icon--right___VefSK",
|
|
3660
3660
|
"input__visibility-button": "lc-Input-module__input__visibility-button___eWrVe"
|
|
3661
|
-
},
|
|
3661
|
+
}, Ge = "input", Yr = (t, a) => e.cloneElement(t.source, {
|
|
3662
3662
|
"data-testid": `input-icon-${t.place}`,
|
|
3663
3663
|
className: u(
|
|
3664
|
-
|
|
3665
|
-
|
|
3664
|
+
Oe[`${Ge}__icon`],
|
|
3665
|
+
Oe[`${Ge}__icon--${t.place}`],
|
|
3666
3666
|
{
|
|
3667
|
-
[
|
|
3667
|
+
[Oe[`${Ge}__icon--disabled`]]: a
|
|
3668
3668
|
}
|
|
3669
3669
|
)
|
|
3670
3670
|
}), fi = e.forwardRef(
|
|
@@ -3686,18 +3686,18 @@ const ii = (t) => {
|
|
|
3686
3686
|
]);
|
|
3687
3687
|
const s = e.useRef(null);
|
|
3688
3688
|
e.useImperativeHandle(c, () => s.current, []);
|
|
3689
|
-
const [p, m] = e.useState(!1), [f, b] = e.useState(!1), { type:
|
|
3689
|
+
const [p, m] = e.useState(!1), [f, b] = e.useState(!1), { type: h, onFocus: v, onBlur: y } = n, E = u(
|
|
3690
3690
|
o,
|
|
3691
|
-
|
|
3692
|
-
|
|
3691
|
+
Oe[Ge],
|
|
3692
|
+
Oe[`${Ge}--${t}`],
|
|
3693
3693
|
{
|
|
3694
|
-
[
|
|
3695
|
-
[
|
|
3696
|
-
[
|
|
3697
|
-
[
|
|
3698
|
-
[
|
|
3694
|
+
[Oe[`${Ge}--disabled`]]: r,
|
|
3695
|
+
[Oe[`${Ge}--focused`]]: p,
|
|
3696
|
+
[Oe[`${Ge}--error`]]: a,
|
|
3697
|
+
[Oe[`${Ge}--crop`]]: l,
|
|
3698
|
+
[Oe[`${Ge}--read-only`]]: n.readOnly
|
|
3699
3699
|
}
|
|
3700
|
-
), $ = r ? "var(--content-disabled)" : "var(--content-default)", w = f ? F_ : R_, C = _ && _.place === "left", g = _ &&
|
|
3700
|
+
), $ = r ? "var(--content-disabled)" : "var(--content-default)", w = f ? F_ : R_, C = _ && _.place === "left", g = _ && h !== "password" && _.place === "right", N = () => {
|
|
3701
3701
|
var S;
|
|
3702
3702
|
(S = s.current) == null || S.focus();
|
|
3703
3703
|
};
|
|
@@ -3716,17 +3716,17 @@ const ii = (t) => {
|
|
|
3716
3716
|
T(k({}, n), {
|
|
3717
3717
|
ref: s,
|
|
3718
3718
|
onFocus: (S) => {
|
|
3719
|
-
m(!0),
|
|
3719
|
+
m(!0), v == null || v(S);
|
|
3720
3720
|
},
|
|
3721
3721
|
onBlur: (S) => {
|
|
3722
3722
|
m(!1), y == null || y(S);
|
|
3723
3723
|
},
|
|
3724
3724
|
disabled: r,
|
|
3725
|
-
type:
|
|
3725
|
+
type: h && !f ? h : "text"
|
|
3726
3726
|
})
|
|
3727
3727
|
),
|
|
3728
3728
|
g && Yr(_, r),
|
|
3729
|
-
|
|
3729
|
+
h === "password" && /* @__PURE__ */ e.createElement(
|
|
3730
3730
|
W,
|
|
3731
3731
|
{
|
|
3732
3732
|
disabled: r,
|
|
@@ -3734,7 +3734,7 @@ const ii = (t) => {
|
|
|
3734
3734
|
size: "compact",
|
|
3735
3735
|
icon: /* @__PURE__ */ e.createElement(x, { customColor: $, source: w }),
|
|
3736
3736
|
onClick: () => b((S) => !S),
|
|
3737
|
-
className:
|
|
3737
|
+
className: Oe[`${Ge}__visibility-button`]
|
|
3738
3738
|
}
|
|
3739
3739
|
)
|
|
3740
3740
|
);
|
|
@@ -4036,11 +4036,11 @@ const ii = (t) => {
|
|
|
4036
4036
|
[Pt[`${At}--disabled`]]: l
|
|
4037
4037
|
},
|
|
4038
4038
|
t
|
|
4039
|
-
), b = (g) => d(String(g)),
|
|
4039
|
+
), b = (g) => d(String(g)), h = (g) => _ !== void 0 && g > _ ? _ : o !== void 0 && g < o ? o : g, v = (g) => {
|
|
4040
4040
|
const N = parseInt(r, 10) + g;
|
|
4041
|
-
return b(
|
|
4041
|
+
return b(h(N));
|
|
4042
4042
|
}, y = (g) => {
|
|
4043
|
-
g.key === de.arrowDown && (g.preventDefault(),
|
|
4043
|
+
g.key === de.arrowDown && (g.preventDefault(), v(-1)), g.key === de.arrowUp && (g.preventDefault(), v(1));
|
|
4044
4044
|
}, E = (g, N) => N !== void 0 && parseInt(g, 10) === N, $ = (g) => {
|
|
4045
4045
|
g.preventDefault(), g.stopPropagation();
|
|
4046
4046
|
const N = g.currentTarget.value.replace(
|
|
@@ -4050,13 +4050,13 @@ const ii = (t) => {
|
|
|
4050
4050
|
if (N === "" || N === "-")
|
|
4051
4051
|
return b(N);
|
|
4052
4052
|
const S = parseInt(N, 10);
|
|
4053
|
-
return b(
|
|
4053
|
+
return b(h(S));
|
|
4054
4054
|
}, w = () => {
|
|
4055
4055
|
var g;
|
|
4056
|
-
return (g = m.current) == null || g.focus(),
|
|
4056
|
+
return (g = m.current) == null || g.focus(), v(1);
|
|
4057
4057
|
}, C = () => {
|
|
4058
4058
|
var g;
|
|
4059
|
-
return (g = m.current) == null || g.focus(),
|
|
4059
|
+
return (g = m.current) == null || g.focus(), v(-1);
|
|
4060
4060
|
};
|
|
4061
4061
|
return /* @__PURE__ */ e.createElement("div", { className: f, style: c }, /* @__PURE__ */ e.createElement(
|
|
4062
4062
|
"input",
|
|
@@ -4142,14 +4142,14 @@ const ii = (t) => {
|
|
|
4142
4142
|
}, [a]), e.useEffect(() => {
|
|
4143
4143
|
const b = !!window.ResizeObserver;
|
|
4144
4144
|
if (s.current && b) {
|
|
4145
|
-
const
|
|
4146
|
-
const y =
|
|
4145
|
+
const h = new ResizeObserver((v) => {
|
|
4146
|
+
const y = v[0];
|
|
4147
4147
|
if (!y)
|
|
4148
4148
|
return;
|
|
4149
4149
|
const E = y.contentRect.height + tn;
|
|
4150
4150
|
f.current !== E && (m(E), f.current = E);
|
|
4151
4151
|
});
|
|
4152
|
-
return
|
|
4152
|
+
return h.observe(s.current), () => h.disconnect();
|
|
4153
4153
|
}
|
|
4154
4154
|
}, [s]), /* @__PURE__ */ e.createElement(
|
|
4155
4155
|
"div",
|
|
@@ -4253,14 +4253,14 @@ const ii = (t) => {
|
|
|
4253
4253
|
className: i
|
|
4254
4254
|
}) => {
|
|
4255
4255
|
var $;
|
|
4256
|
-
const [s, p] = e.useState(c), [m, f] = e.useState(!c), [b,
|
|
4256
|
+
const [s, p] = e.useState(c), [m, f] = e.useState(!c), [b, h] = e.useState(void 0), v = e.useRef(null), y = d.height || 96, E = () => {
|
|
4257
4257
|
f((w) => !w);
|
|
4258
4258
|
};
|
|
4259
4259
|
return e.useEffect(() => {
|
|
4260
|
-
const w = d.delay || 1500, C =
|
|
4260
|
+
const w = d.delay || 1500, C = v.current;
|
|
4261
4261
|
if (c && C) {
|
|
4262
4262
|
const g = C.offsetHeight;
|
|
4263
|
-
|
|
4263
|
+
h(g);
|
|
4264
4264
|
const N = setTimeout(() => {
|
|
4265
4265
|
p(!0), f(!1);
|
|
4266
4266
|
}, w);
|
|
@@ -4271,7 +4271,7 @@ const ii = (t) => {
|
|
|
4271
4271
|
}, [c]), /* @__PURE__ */ e.createElement(
|
|
4272
4272
|
"div",
|
|
4273
4273
|
{
|
|
4274
|
-
ref:
|
|
4274
|
+
ref: v,
|
|
4275
4275
|
className: u(
|
|
4276
4276
|
Z[X],
|
|
4277
4277
|
{
|
|
@@ -4398,7 +4398,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4398
4398
|
"picker-list__item__label": "lc-PickerListItem-module__picker-list__item__label___e0uwB",
|
|
4399
4399
|
"picker-list__item__main-label": "lc-PickerListItem-module__picker-list__item__main-label___YfUhr",
|
|
4400
4400
|
"picker-list__item__secondary-label": "lc-PickerListItem-module__picker-list__item__secondary-label___6xcMD"
|
|
4401
|
-
},
|
|
4401
|
+
}, Ae = "picker-list__item", nn = ({
|
|
4402
4402
|
index: t,
|
|
4403
4403
|
isActive: a,
|
|
4404
4404
|
isSelected: r,
|
|
@@ -4408,37 +4408,37 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4408
4408
|
item: n,
|
|
4409
4409
|
numberOfItems: c
|
|
4410
4410
|
}) => {
|
|
4411
|
-
const d = (s) => s != null && s.customElement ? /* @__PURE__ */ e.createElement("div", { className: be[`${
|
|
4411
|
+
const d = (s) => s != null && s.customElement ? /* @__PURE__ */ e.createElement("div", { className: be[`${Ae}__custom`] }, s.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, s.showCheckbox && /* @__PURE__ */ e.createElement(
|
|
4412
4412
|
Dl,
|
|
4413
4413
|
{
|
|
4414
|
-
className: be[`${
|
|
4414
|
+
className: be[`${Ae}__checkbox`],
|
|
4415
4415
|
checked: r
|
|
4416
4416
|
}
|
|
4417
4417
|
), s.icon && /* @__PURE__ */ e.createElement(
|
|
4418
4418
|
x,
|
|
4419
4419
|
{
|
|
4420
|
-
className: be[`${
|
|
4420
|
+
className: be[`${Ae}__icon`],
|
|
4421
4421
|
kind: "link",
|
|
4422
4422
|
source: s.icon
|
|
4423
4423
|
}
|
|
4424
4424
|
), s.avatarSrc && /* @__PURE__ */ e.createElement(
|
|
4425
4425
|
"img",
|
|
4426
4426
|
{
|
|
4427
|
-
className: u(be[`${
|
|
4427
|
+
className: u(be[`${Ae}__avatar`]),
|
|
4428
4428
|
src: s.avatarSrc,
|
|
4429
4429
|
alt: s.name
|
|
4430
4430
|
}
|
|
4431
|
-
), /* @__PURE__ */ e.createElement("div", { className: be[`${
|
|
4431
|
+
), /* @__PURE__ */ e.createElement("div", { className: be[`${Ae}__label-container`] }, /* @__PURE__ */ e.createElement(
|
|
4432
4432
|
B,
|
|
4433
4433
|
{
|
|
4434
4434
|
as: "span",
|
|
4435
|
-
className: u([be[`${
|
|
4436
|
-
[be[`${
|
|
4435
|
+
className: u([be[`${Ae}__label`]], {
|
|
4436
|
+
[be[`${Ae}__main-label`]]: s.secondaryText
|
|
4437
4437
|
}),
|
|
4438
4438
|
"aria-disabled": s.disabled
|
|
4439
4439
|
},
|
|
4440
4440
|
s.name
|
|
4441
|
-
), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className: be[`${
|
|
4441
|
+
), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className: be[`${Ae}__secondary-label`] }, s.secondaryText)));
|
|
4442
4442
|
if (n.groupHeader)
|
|
4443
4443
|
return /* @__PURE__ */ e.createElement(
|
|
4444
4444
|
"div",
|
|
@@ -4446,7 +4446,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4446
4446
|
id: `item-${t}`,
|
|
4447
4447
|
key: n.key,
|
|
4448
4448
|
role: "group",
|
|
4449
|
-
className: be[`${
|
|
4449
|
+
className: be[`${Ae}__header`]
|
|
4450
4450
|
}, l()),
|
|
4451
4451
|
/* @__PURE__ */ e.createElement(ne, { size: "2xs", uppercase: !0, bold: !0, as: "div" }, n.name)
|
|
4452
4452
|
);
|
|
@@ -4479,8 +4479,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4479
4479
|
"aria-selected": r,
|
|
4480
4480
|
"aria-disabled": n.disabled,
|
|
4481
4481
|
"aria-current": a && !n.disabled,
|
|
4482
|
-
className: u(be[
|
|
4483
|
-
[be[`${
|
|
4482
|
+
className: u(be[Ae], {
|
|
4483
|
+
[be[`${Ae}--select-all`]]: n.key === Mt
|
|
4484
4484
|
})
|
|
4485
4485
|
},
|
|
4486
4486
|
d(n),
|
|
@@ -4515,11 +4515,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4515
4515
|
emptyStateText: m = "No results found",
|
|
4516
4516
|
pickerType: f = "single",
|
|
4517
4517
|
listClassName: b,
|
|
4518
|
-
virtuosoProps:
|
|
4518
|
+
virtuosoProps: h
|
|
4519
4519
|
}) => {
|
|
4520
|
-
const [
|
|
4520
|
+
const [v, y] = e.useState(0), E = o.length, $ = e.useCallback(
|
|
4521
4521
|
(C) => {
|
|
4522
|
-
C !==
|
|
4522
|
+
C !== v && (C < _ ? y(C + (E - 1) * rn) : y(_));
|
|
4523
4523
|
},
|
|
4524
4524
|
[E]
|
|
4525
4525
|
);
|
|
@@ -4569,11 +4569,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4569
4569
|
lo,
|
|
4570
4570
|
T(k({
|
|
4571
4571
|
totalListHeightChanged: $,
|
|
4572
|
-
style: { height: `${
|
|
4572
|
+
style: { height: `${v}px`, maxHeight: _ },
|
|
4573
4573
|
totalCount: o.length,
|
|
4574
4574
|
data: o,
|
|
4575
4575
|
increaseViewportBy: 200
|
|
4576
|
-
},
|
|
4576
|
+
}, h), {
|
|
4577
4577
|
itemContent: (C, g) => /* @__PURE__ */ e.createElement(
|
|
4578
4578
|
nn,
|
|
4579
4579
|
{
|
|
@@ -4633,7 +4633,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4633
4633
|
c && he[`${ie}--disabled`],
|
|
4634
4634
|
i && he[`${ie}--focused`],
|
|
4635
4635
|
s && he[`${ie}--error`]
|
|
4636
|
-
),
|
|
4636
|
+
), h = !n && l && !c && !d, v = (y) => {
|
|
4637
4637
|
y.stopPropagation(), p();
|
|
4638
4638
|
};
|
|
4639
4639
|
return e.useEffect(() => {
|
|
@@ -4672,12 +4672,12 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4672
4672
|
he[`${ie}__controls--${_}`]
|
|
4673
4673
|
)
|
|
4674
4674
|
},
|
|
4675
|
-
|
|
4675
|
+
h && /* @__PURE__ */ e.createElement(
|
|
4676
4676
|
"div",
|
|
4677
4677
|
{
|
|
4678
4678
|
"data-testid": `${ie}__clear-icon`,
|
|
4679
4679
|
className: he[`${ie}__clear-icon`],
|
|
4680
|
-
onClick:
|
|
4680
|
+
onClick: v
|
|
4681
4681
|
},
|
|
4682
4682
|
/* @__PURE__ */ e.createElement(x, { kind: "primary", size: "small", source: Ie })
|
|
4683
4683
|
),
|
|
@@ -4726,8 +4726,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4726
4726
|
"tag__remove--hover": "lc-Tag-module__tag__remove--hover___2ROEU",
|
|
4727
4727
|
tag__node: pn,
|
|
4728
4728
|
tag__content: gn
|
|
4729
|
-
}, $e = "tag", fn = (t) => t ? yr(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", h_ = (
|
|
4730
|
-
var
|
|
4729
|
+
}, $e = "tag", fn = (t) => t ? yr(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", h_ = (h) => {
|
|
4730
|
+
var v = h, {
|
|
4731
4731
|
className: t = "",
|
|
4732
4732
|
children: a,
|
|
4733
4733
|
dismissible: r = !1,
|
|
@@ -4742,7 +4742,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4742
4742
|
customColor: p,
|
|
4743
4743
|
iconOnly: m = !1,
|
|
4744
4744
|
value: f
|
|
4745
|
-
} =
|
|
4745
|
+
} = v, b = D(v, [
|
|
4746
4746
|
"className",
|
|
4747
4747
|
"children",
|
|
4748
4748
|
"dismissible",
|
|
@@ -4861,11 +4861,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4861
4861
|
searchPhrase: m,
|
|
4862
4862
|
virtualItemRef: f,
|
|
4863
4863
|
isTriggerFocused: b,
|
|
4864
|
-
inputRef:
|
|
4864
|
+
inputRef: h
|
|
4865
4865
|
}) => {
|
|
4866
|
-
const
|
|
4866
|
+
const v = t && !a;
|
|
4867
4867
|
e.useEffect(() => {
|
|
4868
|
-
n &&
|
|
4868
|
+
n && h != null && h.current && h.current.focus();
|
|
4869
4869
|
}, [o, n]);
|
|
4870
4870
|
const y = (g) => {
|
|
4871
4871
|
g.key === "Backspace" && o && o.length > 0 && (g.preventDefault(), l === "multi" ? d(o[o.length - 1].key) : p()), g.key === "Delete" && (g.preventDefault(), p());
|
|
@@ -4890,7 +4890,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4890
4890
|
}, C = () => /* @__PURE__ */ e.createElement(
|
|
4891
4891
|
"input",
|
|
4892
4892
|
{
|
|
4893
|
-
ref:
|
|
4893
|
+
ref: h,
|
|
4894
4894
|
className: u(
|
|
4895
4895
|
ve[`${ke}__input`],
|
|
4896
4896
|
ve[`${ke}__input--${c}`]
|
|
@@ -4902,7 +4902,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4902
4902
|
value: m
|
|
4903
4903
|
}
|
|
4904
4904
|
);
|
|
4905
|
-
return !o || o.length === 0 ?
|
|
4905
|
+
return !o || o.length === 0 ? v ? C() : /* @__PURE__ */ e.createElement(
|
|
4906
4906
|
"div",
|
|
4907
4907
|
{
|
|
4908
4908
|
className: u({
|
|
@@ -4933,7 +4933,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4933
4933
|
},
|
|
4934
4934
|
E(g)
|
|
4935
4935
|
))),
|
|
4936
|
-
|
|
4936
|
+
v && C()
|
|
4937
4937
|
);
|
|
4938
4938
|
}, hn = 10, vn = ({
|
|
4939
4939
|
disabled: t,
|
|
@@ -4948,9 +4948,9 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4948
4948
|
onVisibilityChange: i,
|
|
4949
4949
|
searchPhrase: s
|
|
4950
4950
|
}) => {
|
|
4951
|
-
const p = sa(), [m, f] = e.useState(!1), [b,
|
|
4951
|
+
const p = sa(), [m, f] = e.useState(!1), [b, h] = e.useState(null), [v, y] = e.useState(o), E = e.useRef([]), $ = e.useRef(null);
|
|
4952
4952
|
e.useEffect(() => {
|
|
4953
|
-
$.current = null,
|
|
4953
|
+
$.current = null, h(null);
|
|
4954
4954
|
}, [s]);
|
|
4955
4955
|
const { refs: w, floatingStyles: C, context: g, isPositioned: N } = da({
|
|
4956
4956
|
nodeId: p,
|
|
@@ -4987,7 +4987,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4987
4987
|
enabled: a.length > 0 && !t,
|
|
4988
4988
|
listRef: E,
|
|
4989
4989
|
activeIndex: b,
|
|
4990
|
-
onNavigate:
|
|
4990
|
+
onNavigate: h,
|
|
4991
4991
|
virtual: !0,
|
|
4992
4992
|
virtualItemRef: $,
|
|
4993
4993
|
disabledIndices: ln(
|
|
@@ -5010,7 +5010,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5010
5010
|
activeIndex: b,
|
|
5011
5011
|
listElementsRef: E,
|
|
5012
5012
|
virtualItemRef: $,
|
|
5013
|
-
maxHeight:
|
|
5013
|
+
maxHeight: v,
|
|
5014
5014
|
pointer: m,
|
|
5015
5015
|
setPointer: f
|
|
5016
5016
|
};
|
|
@@ -5026,7 +5026,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5026
5026
|
}) => {
|
|
5027
5027
|
const [d, i] = e.useState(
|
|
5028
5028
|
() => (t == null ? void 0 : t.map(lr)) || []
|
|
5029
|
-
), s = t !== void 0, p = s ? (t == null ? void 0 : t.map(lr)) || [] : d, [m, f] = e.useState(""), b = (w) => f(w),
|
|
5029
|
+
), s = t !== void 0, p = s ? (t == null ? void 0 : t.map(lr)) || [] : d, [m, f] = e.useState(""), b = (w) => f(w), h = (w) => $(w), v = () => {
|
|
5030
5030
|
!s && i([]), o(null), f(""), l(!1);
|
|
5031
5031
|
}, y = () => {
|
|
5032
5032
|
b(""), c.current && (c.current.value = "");
|
|
@@ -5074,8 +5074,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5074
5074
|
searchPhrase: m,
|
|
5075
5075
|
handleSelect: $,
|
|
5076
5076
|
handleOnFilter: b,
|
|
5077
|
-
handleItemRemove:
|
|
5078
|
-
handleClear:
|
|
5077
|
+
handleItemRemove: h,
|
|
5078
|
+
handleClear: v
|
|
5079
5079
|
};
|
|
5080
5080
|
}, En = {
|
|
5081
5081
|
"picker-wrapper": "lc-Picker-module__picker-wrapper___2EDne"
|
|
@@ -5096,8 +5096,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5096
5096
|
noSearchResultText: m = "No results found",
|
|
5097
5097
|
selectAllOptionText: f,
|
|
5098
5098
|
type: b = "single",
|
|
5099
|
-
searchDisabled:
|
|
5100
|
-
hideClearButton:
|
|
5099
|
+
searchDisabled: h = !1,
|
|
5100
|
+
hideClearButton: v,
|
|
5101
5101
|
isVisible: y,
|
|
5102
5102
|
onOpen: E,
|
|
5103
5103
|
onClose: $,
|
|
@@ -5139,8 +5139,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5139
5139
|
"useClickHookProps",
|
|
5140
5140
|
"virtuosoProps"
|
|
5141
5141
|
]);
|
|
5142
|
-
const [L, U] = e.useState(w), [ue,
|
|
5143
|
-
Gt ? !Ne && (E == null || E(pe)) : Ne && ($ == null || $(pe)), !
|
|
5142
|
+
const [L, U] = e.useState(w), [ue, Te] = e.useState(!1), He = y !== void 0, Ne = He ? y : L, $t = e.useRef(null), ft = (Gt, pe) => {
|
|
5143
|
+
Gt ? !Ne && (E == null || E(pe)) : Ne && ($ == null || $(pe)), !He && U(Gt);
|
|
5144
5144
|
}, {
|
|
5145
5145
|
selectedKeys: Nt,
|
|
5146
5146
|
items: bt,
|
|
@@ -5195,19 +5195,19 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5195
5195
|
isItemSelected: Nt.length > 0,
|
|
5196
5196
|
isOpen: Ne,
|
|
5197
5197
|
onClear: P,
|
|
5198
|
-
hideClearButton:
|
|
5198
|
+
hideClearButton: v,
|
|
5199
5199
|
isDisabled: l,
|
|
5200
5200
|
isError: n,
|
|
5201
5201
|
isRequired: p,
|
|
5202
5202
|
isMultiSelect: b === "multi",
|
|
5203
5203
|
size: i,
|
|
5204
|
-
setTriggerFocus:
|
|
5204
|
+
setTriggerFocus: Te
|
|
5205
5205
|
},
|
|
5206
5206
|
/* @__PURE__ */ e.createElement(
|
|
5207
5207
|
bn,
|
|
5208
5208
|
{
|
|
5209
5209
|
isOpen: Ne,
|
|
5210
|
-
isSearchDisabled:
|
|
5210
|
+
isSearchDisabled: h,
|
|
5211
5211
|
isDisabled: l,
|
|
5212
5212
|
placeholder: s,
|
|
5213
5213
|
selectedItems: d,
|
|
@@ -5264,8 +5264,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5264
5264
|
useClickHookProps: f,
|
|
5265
5265
|
floatingStrategy: b
|
|
5266
5266
|
}) => {
|
|
5267
|
-
const [
|
|
5268
|
-
|
|
5267
|
+
const [h, v] = e.useState(s), y = Ga(), E = sa(), $ = i !== void 0, w = $ ? i : h, C = typeof _ == "string", g = typeof t == "function", N = (Te, He) => {
|
|
5268
|
+
Te ? r == null || r(He) : a == null || a(He), !$ && v(Te);
|
|
5269
5269
|
}, { refs: S, context: M, floatingStyles: G } = da({
|
|
5270
5270
|
nodeId: E,
|
|
5271
5271
|
open: w,
|
|
@@ -5394,23 +5394,24 @@ const Be = {
|
|
|
5394
5394
|
notificationCount: o,
|
|
5395
5395
|
name: l,
|
|
5396
5396
|
url: n,
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5397
|
+
redirectUri: c,
|
|
5398
|
+
withDivider: d,
|
|
5399
|
+
shortcutKey: i,
|
|
5400
|
+
expired: s,
|
|
5401
|
+
trialDaysLeft: p,
|
|
5402
|
+
nameAdornment: m
|
|
5402
5403
|
},
|
|
5403
|
-
onClick:
|
|
5404
|
-
isActive:
|
|
5405
|
-
}) => /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
5404
|
+
onClick: f,
|
|
5405
|
+
isActive: b = !1
|
|
5406
|
+
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, d && /* @__PURE__ */ e.createElement("div", { className: Qe[`${et}__divider`] }), /* @__PURE__ */ e.createElement(
|
|
5406
5407
|
"a",
|
|
5407
5408
|
{
|
|
5408
5409
|
href: n,
|
|
5409
5410
|
target: "_blank",
|
|
5410
5411
|
"aria-label": `Go to ${l} product`,
|
|
5411
|
-
onClick: (
|
|
5412
|
+
onClick: (h) => f(h, t, n, c),
|
|
5412
5413
|
className: u(Qe[et], {
|
|
5413
|
-
[Qe[`${et}--expired`]]:
|
|
5414
|
+
[Qe[`${et}--expired`]]: s
|
|
5414
5415
|
})
|
|
5415
5416
|
},
|
|
5416
5417
|
/* @__PURE__ */ e.createElement("div", { className: Qe[`${et}__heading`] }, /* @__PURE__ */ e.createElement(
|
|
@@ -5418,12 +5419,12 @@ const Be = {
|
|
|
5418
5419
|
{
|
|
5419
5420
|
icon: a,
|
|
5420
5421
|
iconColor: r,
|
|
5421
|
-
expired:
|
|
5422
|
+
expired: s,
|
|
5422
5423
|
backgroundColors: _,
|
|
5423
5424
|
notificationCount: o,
|
|
5424
|
-
withBorder:
|
|
5425
|
+
withBorder: b
|
|
5425
5426
|
}
|
|
5426
|
-
), /* @__PURE__ */ e.createElement(B, { as: "div", bold: !0, className: Qe[`${et}__name`] }, l,
|
|
5427
|
+
), /* @__PURE__ */ e.createElement(B, { as: "div", bold: !0, className: Qe[`${et}__name`] }, l, s && /* @__PURE__ */ e.createElement(
|
|
5427
5428
|
Lt,
|
|
5428
5429
|
{
|
|
5429
5430
|
triggerRenderer: /* @__PURE__ */ e.createElement(
|
|
@@ -5436,7 +5437,7 @@ const Be = {
|
|
|
5436
5437
|
placement: "right"
|
|
5437
5438
|
},
|
|
5438
5439
|
"Your licence is expired"
|
|
5439
|
-
), typeof
|
|
5440
|
+
), typeof p != "undefined" && /* @__PURE__ */ e.createElement(
|
|
5440
5441
|
Lt,
|
|
5441
5442
|
{
|
|
5442
5443
|
className: Qe[`${et}__trial-tooltip`],
|
|
@@ -5449,13 +5450,13 @@ const Be = {
|
|
|
5449
5450
|
),
|
|
5450
5451
|
placement: "right"
|
|
5451
5452
|
},
|
|
5452
|
-
|
|
5453
|
+
p,
|
|
5453
5454
|
" trial ",
|
|
5454
|
-
Cn(
|
|
5455
|
+
Cn(p, "day", "days"),
|
|
5455
5456
|
" ",
|
|
5456
5457
|
"left in your trial. Time to upgrade"
|
|
5457
|
-
),
|
|
5458
|
-
|
|
5458
|
+
), m)),
|
|
5459
|
+
i && /* @__PURE__ */ e.createElement(B, { size: "sm", className: Qe[`${et}__shortcut`] }, "⌘", i)
|
|
5459
5460
|
)), Nn = 'data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cg clip-path="url(%23clip0_24854_8994)"%3E%3Crect width="40" height="40" fill="%230066FF"/%3E%3Cg filter="url(%23filter0_f_24854_8994)"%3E%3Cpath d="M32.6382 31.0816C41.9891 31.0816 49.5694 23.5012 49.5694 14.1504C49.5694 4.79953 41.9891 -2.78082 32.6382 -2.78082C23.2874 -2.78082 15.707 4.79953 15.707 14.1504C15.707 23.5012 23.2874 31.0816 32.6382 31.0816Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter1_f_24854_8994)"%3E%3Cpath d="M10.417 50.1292C19.7679 50.1292 27.3482 42.5488 27.3482 33.198C27.3482 23.8471 19.7679 16.2668 10.417 16.2668C1.0662 16.2668 -6.51416 23.8471 -6.51416 33.198C-6.51416 42.5488 1.0662 50.1292 10.417 50.1292Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter2_f_24854_8994)"%3E%3Cpath d="M9.35788 16.2667C15.2022 16.2667 19.9399 11.529 19.9399 5.68472C19.9399 -0.159555 15.2022 -4.89728 9.35788 -4.89728C3.5136 -4.89728 -1.22412 -0.159555 -1.22412 5.68472C-1.22412 11.529 3.5136 16.2667 9.35788 16.2667Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter3_f_24854_8994)"%3E%3Cpath d="M7.24274 18.3831C13.6714 18.3831 18.8829 13.1716 18.8829 6.74292C18.8829 0.314217 13.6714 -4.89728 7.24274 -4.89728C0.814034 -4.89728 -4.39746 0.314217 -4.39746 6.74292C-4.39746 13.1716 0.814034 18.3831 7.24274 18.3831Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter4_f_24854_8994)"%3E%3Cpath d="M8.29938 21.5577C14.7281 21.5577 19.9396 16.3462 19.9396 9.91748C19.9396 3.48878 14.7281 -1.72272 8.29938 -1.72272C1.87068 -1.72272 -3.34082 3.48878 -3.34082 9.91748C-3.34082 16.3462 1.87068 21.5577 8.29938 21.5577Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter5_f_24854_8994)"%3E%3Cpath d="M33.6973 45.8964C40.126 45.8964 45.3375 40.6849 45.3375 34.2562C45.3375 27.8275 40.126 22.616 33.6973 22.616C27.2686 22.616 22.0571 27.8275 22.0571 34.2562C22.0571 40.6849 27.2686 45.8964 33.6973 45.8964Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter6_f_24854_8994)"%3E%3Cpath d="M29.4639 48.0128C35.8926 48.0128 41.1041 42.8013 41.1041 36.3726C41.1041 29.9439 35.8926 24.7324 29.4639 24.7324C23.0352 24.7324 17.8237 29.9439 17.8237 36.3726C17.8237 42.8013 23.0352 48.0128 29.4639 48.0128Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter7_f_24854_8994)"%3E%3Cpath d="M29.4639 48.0128C35.8926 48.0128 41.1041 42.8013 41.1041 36.3726C41.1041 29.9439 35.8926 24.7324 29.4639 24.7324C23.0352 24.7324 17.8237 29.9439 17.8237 36.3726C17.8237 42.8013 23.0352 48.0128 29.4639 48.0128Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter8_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter9_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter10_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter11_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter12_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter13_f_24854_8994)"%3E%3Cpath d="M9.35898 38.489C12.8655 38.489 15.7082 35.6463 15.7082 32.1398C15.7082 28.6332 12.8655 25.7906 9.35898 25.7906C5.8524 25.7906 3.00977 28.6332 3.00977 32.1398C3.00977 35.6463 5.8524 38.489 9.35898 38.489Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter14_f_24854_8994)"%3E%3Cpath d="M38.9871 31.0816C46.5846 31.0816 52.7437 24.9225 52.7437 17.325C52.7437 9.7274 46.5846 3.56836 38.9871 3.56836C31.3895 3.56836 25.2305 9.7274 25.2305 17.325C25.2305 24.9225 31.3895 31.0816 38.9871 31.0816Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter15_f_24854_8994)"%3E%3Cpath d="M38.9879 25.7905C45.4166 25.7905 50.6281 20.579 50.6281 14.1503C50.6281 7.72157 45.4166 2.51007 38.9879 2.51007C32.5592 2.51007 27.3477 7.72157 27.3477 14.1503C27.3477 20.579 32.5592 25.7905 38.9879 25.7905Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter16_f_24854_8994)"%3E%3Cpath d="M9.35868 21.5578C14.0341 21.5578 17.8243 17.7676 17.8243 13.0922C17.8243 8.41674 14.0341 4.62656 9.35868 4.62656C4.68325 4.62656 0.893066 8.41674 0.893066 13.0922C0.893066 17.7676 4.68325 21.5578 9.35868 21.5578Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter17_f_24854_8994)"%3E%3Cpath d="M31.5797 18.3831C35.0862 18.3831 37.9289 15.5404 37.9289 12.0339C37.9289 8.5273 35.0862 5.68466 31.5797 5.68466C28.0731 5.68466 25.2305 8.5273 25.2305 12.0339C25.2305 15.5404 28.0731 18.3831 31.5797 18.3831Z" fill="%23FF2E00"/%3E%3C/g%3E%3Cg filter="url(%23filter18_f_24854_8994)"%3E%3Cpath d="M12.5312 14.1503C18.3755 14.1503 23.1132 9.41257 23.1132 3.5683C23.1132 -2.27598 18.3755 -7.0137 12.5312 -7.0137C6.68694 -7.0137 1.94922 -2.27598 1.94922 3.5683C1.94922 9.41257 6.68694 14.1503 12.5312 14.1503Z" fill="%233851FF"/%3E%3C/g%3E%3Cg filter="url(%23filter19_f_24854_8994)"%3E%3Cpath d="M28.4057 13.0921C34.25 13.0921 38.9877 8.35441 38.9877 2.51013C38.9877 -3.33415 34.25 -8.07187 28.4057 -8.07187C22.5615 -8.07187 17.8237 -3.33415 17.8237 2.51013C17.8237 8.35441 22.5615 13.0921 28.4057 13.0921Z" fill="%23F3354D"/%3E%3C/g%3E%3Cg filter="url(%23filter20_f_24854_8994)"%3E%3Cpath d="M33.6958 48.0128C39.54 48.0128 44.2778 43.275 44.2778 37.4308C44.2778 31.5865 39.54 26.8488 33.6958 26.8488C27.8515 26.8488 23.1138 31.5865 23.1138 37.4308C23.1138 43.275 27.8515 48.0128 33.6958 48.0128Z" fill="%23FFD101"/%3E%3C/g%3E%3Cg filter="url(%23filter21_f_24854_8994)"%3E%3Cpath d="M8.30173 43.78C14.146 43.78 18.8837 39.0422 18.8837 33.198C18.8837 27.3537 14.146 22.616 8.30173 22.616C2.45745 22.616 -2.28027 27.3537 -2.28027 33.198C-2.28027 39.0422 2.45745 43.78 8.30173 43.78Z" fill="%237FCF35"/%3E%3C/g%3E%3Cg filter="url(%23filter22_f_24854_8994)"%3E%3Cpath d="M6.18454 34.2562C12.0288 34.2562 16.7665 29.5184 16.7665 23.6742C16.7665 17.8299 12.0288 13.0922 6.18454 13.0922C0.340261 13.0922 -4.39746 17.8299 -4.39746 23.6742C-4.39746 29.5184 0.340261 34.2562 6.18454 34.2562Z" fill="%231D7DD0"/%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3Cfilter id="filter0_f_24854_8994" x="-8.29297" y="-26.7808" width="81.8623" height="81.8624" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter1_f_24854_8994" x="-30.5142" y="-7.73322" width="81.8623" height="81.8624" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter2_f_24854_8994" x="-25.2241" y="-28.8973" width="69.1641" height="69.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter3_f_24854_8994" x="-28.3975" y="-28.8973" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter4_f_24854_8994" x="-27.3408" y="-25.7227" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter5_f_24854_8994" x="-1.94287" y="-1.38403" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter6_f_24854_8994" x="-6.17627" y="0.732361" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter7_f_24854_8994" x="-6.17627" y="0.732361" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter8_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter9_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter10_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter11_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter12_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter13_f_24854_8994" x="-20.9902" y="1.79056" width="60.6982" height="60.6984" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter14_f_24854_8994" x="1.23047" y="-20.4316" width="75.5132" height="75.5132" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter15_f_24854_8994" x="3.34766" y="-21.4899" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter16_f_24854_8994" x="-23.1069" y="-19.3734" width="64.9312" height="64.9312" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter17_f_24854_8994" x="1.23047" y="-18.3153" width="60.6982" height="60.6984" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter18_f_24854_8994" x="-9.05078" y="-18.0137" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter19_f_24854_8994" x="6.82373" y="-19.0719" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter20_f_24854_8994" x="12.1138" y="15.8488" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter21_f_24854_8994" x="-13.2803" y="11.616" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter22_f_24854_8994" x="-15.3975" y="2.09216" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3CclipPath id="clip0_24854_8994"%3E%3Crect width="40" height="40" fill="white"/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A', Sn = [
|
|
5460
5461
|
{
|
|
5461
5462
|
id: "livechat",
|
|
@@ -5466,7 +5467,8 @@ const Be = {
|
|
|
5466
5467
|
second: "var(--products-helpdesk)",
|
|
5467
5468
|
third: "var(--products-chatbot)"
|
|
5468
5469
|
},
|
|
5469
|
-
url: ""
|
|
5470
|
+
url: "",
|
|
5471
|
+
redirectUri: ""
|
|
5470
5472
|
},
|
|
5471
5473
|
{
|
|
5472
5474
|
id: "chatbot",
|
|
@@ -5477,7 +5479,8 @@ const Be = {
|
|
|
5477
5479
|
second: "var(--products-livechat)",
|
|
5478
5480
|
third: "var(--products-helpdesk)"
|
|
5479
5481
|
},
|
|
5480
|
-
url: ""
|
|
5482
|
+
url: "",
|
|
5483
|
+
redirectUri: ""
|
|
5481
5484
|
},
|
|
5482
5485
|
{
|
|
5483
5486
|
id: "helpdesk",
|
|
@@ -5489,6 +5492,7 @@ const Be = {
|
|
|
5489
5492
|
third: "var(--products-chatbot)"
|
|
5490
5493
|
},
|
|
5491
5494
|
url: "",
|
|
5495
|
+
redirectUri: "",
|
|
5492
5496
|
expired: !0
|
|
5493
5497
|
},
|
|
5494
5498
|
{
|
|
@@ -5501,6 +5505,7 @@ const Be = {
|
|
|
5501
5505
|
third: "var(--products-chatbot)"
|
|
5502
5506
|
},
|
|
5503
5507
|
url: "",
|
|
5508
|
+
redirectUri: "",
|
|
5504
5509
|
trialDaysLeft: 2
|
|
5505
5510
|
},
|
|
5506
5511
|
{
|
|
@@ -5512,7 +5517,8 @@ const Be = {
|
|
|
5512
5517
|
second: "var(--products-livechat)",
|
|
5513
5518
|
third: "var(--products-chatbot)"
|
|
5514
5519
|
},
|
|
5515
|
-
url: ""
|
|
5520
|
+
url: "",
|
|
5521
|
+
redirectUri: ""
|
|
5516
5522
|
},
|
|
5517
5523
|
{
|
|
5518
5524
|
id: "hello",
|
|
@@ -5523,7 +5529,8 @@ const Be = {
|
|
|
5523
5529
|
second: "var(--products-livechat)",
|
|
5524
5530
|
third: "var(--products-chatbot)"
|
|
5525
5531
|
},
|
|
5526
|
-
url: ""
|
|
5532
|
+
url: "",
|
|
5533
|
+
redirectUri: ""
|
|
5527
5534
|
},
|
|
5528
5535
|
{
|
|
5529
5536
|
id: "accounts",
|
|
@@ -5536,7 +5543,8 @@ const Be = {
|
|
|
5536
5543
|
},
|
|
5537
5544
|
iconColor: "var(--content-locked-black)",
|
|
5538
5545
|
withDivider: !0,
|
|
5539
|
-
url: ""
|
|
5546
|
+
url: "",
|
|
5547
|
+
redirectUri: ""
|
|
5540
5548
|
}
|
|
5541
5549
|
], xn = [
|
|
5542
5550
|
{
|
|
@@ -5675,7 +5683,8 @@ const Be = {
|
|
|
5675
5683
|
l.redirectUri,
|
|
5676
5684
|
_,
|
|
5677
5685
|
o
|
|
5678
|
-
)
|
|
5686
|
+
),
|
|
5687
|
+
redirectUri: l.redirectUri
|
|
5679
5688
|
});
|
|
5680
5689
|
}, Fn = (t) => {
|
|
5681
5690
|
switch (t) {
|
|
@@ -5688,9 +5697,9 @@ const Be = {
|
|
|
5688
5697
|
default:
|
|
5689
5698
|
return [];
|
|
5690
5699
|
}
|
|
5691
|
-
}, Rn = (t, a) => {
|
|
5692
|
-
const
|
|
5693
|
-
r ?
|
|
5700
|
+
}, Rn = (t, a, r) => {
|
|
5701
|
+
const _ = window.open("", a);
|
|
5702
|
+
_ && !_.closed && _.location.href.includes(r) ? (_.location.href === "about:blank" && (_.location.href = t), _.focus()) : window.open(t, "_blank");
|
|
5694
5703
|
}, ea = {
|
|
5695
5704
|
"product-switcher": "lc-ProductSwitcher-module__product-switcher___mI-WG",
|
|
5696
5705
|
"product-switcher__content": "lc-ProductSwitcher-module__product-switcher__content___6jGuY",
|
|
@@ -5709,15 +5718,15 @@ const Be = {
|
|
|
5709
5718
|
}) => {
|
|
5710
5719
|
const [d, i] = e.useState(r), [s, p] = I_(
|
|
5711
5720
|
!1
|
|
5712
|
-
), m = Ga(), f = sa(), b = _ !== void 0,
|
|
5721
|
+
), m = Ga(), f = sa(), b = _ !== void 0, h = b ? _ : d, v = (L, U) => {
|
|
5713
5722
|
L ? o == null || o(U) : l == null || l(U), !b && i(L);
|
|
5714
5723
|
}, { refs: y, context: E, floatingStyles: $ } = da({
|
|
5715
5724
|
nodeId: f,
|
|
5716
5725
|
strategy: "fixed",
|
|
5717
5726
|
placement: "right-start",
|
|
5718
|
-
open:
|
|
5727
|
+
open: h,
|
|
5719
5728
|
onOpenChange: (L, U) => {
|
|
5720
|
-
p(!1),
|
|
5729
|
+
p(!1), v(L, U);
|
|
5721
5730
|
},
|
|
5722
5731
|
middleware: [ua({ mainAxis: 5 })],
|
|
5723
5732
|
whileElementsMounted: ma
|
|
@@ -5739,8 +5748,8 @@ const Be = {
|
|
|
5739
5748
|
);
|
|
5740
5749
|
if (!I)
|
|
5741
5750
|
return null;
|
|
5742
|
-
const O = (L, U, ue) => {
|
|
5743
|
-
L.preventDefault(), U !== a && Rn(ue, U), i(!1), n == null || n(U);
|
|
5751
|
+
const O = (L, U, ue, Te) => {
|
|
5752
|
+
L.preventDefault(), U !== a && Rn(ue, U, Te), i(!1), n == null || n(U);
|
|
5744
5753
|
}, Y = t.reduce(
|
|
5745
5754
|
(L, U) => L + (U.notificationCount || 0),
|
|
5746
5755
|
0
|
|
@@ -5796,7 +5805,7 @@ const Be = {
|
|
|
5796
5805
|
href: c,
|
|
5797
5806
|
target: "_blank",
|
|
5798
5807
|
className: ea[`${ta}__footer-link`],
|
|
5799
|
-
onClick: () =>
|
|
5808
|
+
onClick: () => v(!1)
|
|
5800
5809
|
},
|
|
5801
5810
|
/* @__PURE__ */ e.createElement(B, { noMargin: !0 }, "powered by"),
|
|
5802
5811
|
/* @__PURE__ */ e.createElement(
|
|
@@ -5960,7 +5969,7 @@ const aa = {
|
|
|
5960
5969
|
)
|
|
5961
5970
|
);
|
|
5962
5971
|
}
|
|
5963
|
-
),
|
|
5972
|
+
), Fe = {
|
|
5964
5973
|
"promo-banner": "lc-PromoBanner-module__promo-banner___-mGpq",
|
|
5965
5974
|
"promo-banner__content": "lc-PromoBanner-module__promo-banner__content___kRWar",
|
|
5966
5975
|
"promo-banner__wrapper": "lc-PromoBanner-module__promo-banner__wrapper___I-8cl",
|
|
@@ -5972,7 +5981,7 @@ const aa = {
|
|
|
5972
5981
|
"promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
|
|
5973
5982
|
"promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
|
|
5974
5983
|
"promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
|
|
5975
|
-
}, Hn = 400, zn = 800, Wn = 500,
|
|
5984
|
+
}, Hn = 400, zn = 800, Wn = 500, Re = "promo-banner", xi = ({
|
|
5976
5985
|
className: t,
|
|
5977
5986
|
buttonText: a,
|
|
5978
5987
|
children: r,
|
|
@@ -5985,38 +5994,38 @@ const aa = {
|
|
|
5985
5994
|
onLinkClick: i
|
|
5986
5995
|
}) => {
|
|
5987
5996
|
const s = e.useRef(null), [p, m] = e.useState("medium"), f = u(
|
|
5988
|
-
|
|
5997
|
+
Fe[Re],
|
|
5989
5998
|
{
|
|
5990
|
-
[
|
|
5991
|
-
[
|
|
5992
|
-
[
|
|
5999
|
+
[Fe[`${Re}--light`]]: l,
|
|
6000
|
+
[Fe[`${Re}--small`]]: p === "small",
|
|
6001
|
+
[Fe[`${Re}--large`]]: p === "large"
|
|
5993
6002
|
},
|
|
5994
6003
|
t
|
|
5995
6004
|
);
|
|
5996
6005
|
e.useEffect(() => {
|
|
5997
|
-
const
|
|
5998
|
-
|
|
6006
|
+
const h = () => s.current && s.current.offsetWidth <= Hn ? m("small") : s.current && s.current.offsetWidth >= zn ? m("large") : m("medium"), v = n_(
|
|
6007
|
+
h,
|
|
5999
6008
|
Wn
|
|
6000
6009
|
);
|
|
6001
|
-
return window.addEventListener("resize",
|
|
6002
|
-
|
|
6010
|
+
return window.addEventListener("resize", v), h(), () => {
|
|
6011
|
+
v.cancel(), window.removeEventListener("resize", v);
|
|
6003
6012
|
};
|
|
6004
6013
|
}, []);
|
|
6005
|
-
const b = /* @__PURE__ */ e.createElement("div", { className:
|
|
6014
|
+
const b = /* @__PURE__ */ e.createElement("div", { className: Fe[`${Re}__footer`] }, a && /* @__PURE__ */ e.createElement(
|
|
6006
6015
|
W,
|
|
6007
6016
|
{
|
|
6008
6017
|
kind: "primary",
|
|
6009
6018
|
size: "compact",
|
|
6010
6019
|
onClick: c,
|
|
6011
|
-
className:
|
|
6020
|
+
className: Fe[`${Re}__button-text`]
|
|
6012
6021
|
},
|
|
6013
6022
|
a
|
|
6014
6023
|
), n && /* @__PURE__ */ e.createElement(W, { size: "compact", kind: "text", onClick: i }, n));
|
|
6015
|
-
return /* @__PURE__ */ e.createElement("div", { ref: s, className: f }, /* @__PURE__ */ e.createElement("div", { className:
|
|
6024
|
+
return /* @__PURE__ */ e.createElement("div", { ref: s, className: f }, /* @__PURE__ */ e.createElement("div", { className: Fe[`${Re}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: Fe[`${Re}__img`] }), /* @__PURE__ */ e.createElement("div", { className: Fe[`${Re}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: Fe[`${Re}__header`] }, _), /* @__PURE__ */ e.createElement(B, { as: "div" }, r), p !== "large" && b), p === "large" && b), d && /* @__PURE__ */ e.createElement(
|
|
6016
6025
|
"button",
|
|
6017
6026
|
{
|
|
6018
6027
|
type: "button",
|
|
6019
|
-
className:
|
|
6028
|
+
className: Fe[`${Re}__close-icon`],
|
|
6020
6029
|
onClick: d
|
|
6021
6030
|
},
|
|
6022
6031
|
/* @__PURE__ */ e.createElement(x, { source: Ie, size: "large", kind: "primary" })
|
|
@@ -6125,7 +6134,7 @@ const aa = {
|
|
|
6125
6134
|
})
|
|
6126
6135
|
)), t && /* @__PURE__ */ e.createElement(B, { as: "div", size: "md", className: at[`${rt}__text`] }, t)), r && /* @__PURE__ */ e.createElement(za, { className: at[`${rt}__helper`] }, r));
|
|
6127
6136
|
}
|
|
6128
|
-
),
|
|
6137
|
+
), Me = {
|
|
6129
6138
|
"search-input": "lc-Search-module__search-input___FsbCk",
|
|
6130
6139
|
"search-input--compact": "lc-Search-module__search-input--compact___498To",
|
|
6131
6140
|
"search-input--medium": "lc-Search-module__search-input--medium___Hwteg",
|
|
@@ -6139,7 +6148,7 @@ const aa = {
|
|
|
6139
6148
|
"search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
|
|
6140
6149
|
"search-input__input-wrapper": "lc-Search-module__search-input__input-wrapper___k8bvn",
|
|
6141
6150
|
"search-input__input-wrapper--crop": "lc-Search-module__search-input__input-wrapper--crop___nBPKY"
|
|
6142
|
-
},
|
|
6151
|
+
}, Ve = "search-input", jr = `${Ve}__input-wrapper`, Ti = ({
|
|
6143
6152
|
isCollapsable: t,
|
|
6144
6153
|
isDisabled: a,
|
|
6145
6154
|
isLoading: r,
|
|
@@ -6150,14 +6159,14 @@ const aa = {
|
|
|
6150
6159
|
cropOnBlur: c = !0,
|
|
6151
6160
|
onChange: d
|
|
6152
6161
|
}) => {
|
|
6153
|
-
const [i, s] = e.useState(!0), [p, m] = e.useState(!1), f = e.useRef(null), b = !!l && !a && !r,
|
|
6162
|
+
const [i, s] = e.useState(!0), [p, m] = e.useState(!1), f = e.useRef(null), b = !!l && !a && !r, h = t && !i && "true", v = u(
|
|
6154
6163
|
n,
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
p &&
|
|
6158
|
-
a &&
|
|
6159
|
-
t &&
|
|
6160
|
-
!i &&
|
|
6164
|
+
Me[Ve],
|
|
6165
|
+
Me[`${Ve}--${o}`],
|
|
6166
|
+
p && Me[`${Ve}--focused`],
|
|
6167
|
+
a && Me[`${Ve}--disabled`],
|
|
6168
|
+
t && Me[`${Ve}--collapsable`],
|
|
6169
|
+
!i && Me[`${Ve}--collapsable--open`]
|
|
6161
6170
|
);
|
|
6162
6171
|
e.useEffect(() => {
|
|
6163
6172
|
t && l && s(!1);
|
|
@@ -6180,15 +6189,15 @@ const aa = {
|
|
|
6180
6189
|
return /* @__PURE__ */ e.createElement(
|
|
6181
6190
|
"div",
|
|
6182
6191
|
{
|
|
6183
|
-
"aria-expanded":
|
|
6192
|
+
"aria-expanded": h,
|
|
6184
6193
|
role: "search",
|
|
6185
|
-
className:
|
|
6194
|
+
className: v,
|
|
6186
6195
|
onClick: $
|
|
6187
6196
|
},
|
|
6188
6197
|
/* @__PURE__ */ e.createElement(
|
|
6189
6198
|
x,
|
|
6190
6199
|
{
|
|
6191
|
-
className:
|
|
6200
|
+
className: Me[`${Ve}__search-icon`],
|
|
6192
6201
|
source: V_,
|
|
6193
6202
|
disabled: a,
|
|
6194
6203
|
kind: "primary"
|
|
@@ -6199,8 +6208,8 @@ const aa = {
|
|
|
6199
6208
|
{
|
|
6200
6209
|
as: "div",
|
|
6201
6210
|
className: u(
|
|
6202
|
-
|
|
6203
|
-
c &&
|
|
6211
|
+
Me[jr],
|
|
6212
|
+
c && Me[`${jr}--crop`]
|
|
6204
6213
|
)
|
|
6205
6214
|
},
|
|
6206
6215
|
/* @__PURE__ */ e.createElement(
|
|
@@ -6224,14 +6233,14 @@ const aa = {
|
|
|
6224
6233
|
{
|
|
6225
6234
|
"aria-label": "Clear search",
|
|
6226
6235
|
title: "Clear search",
|
|
6227
|
-
className:
|
|
6236
|
+
className: Me[`${Ve}__clear-icon`],
|
|
6228
6237
|
onClick: E,
|
|
6229
6238
|
icon: /* @__PURE__ */ e.createElement(x, { source: Ie, kind: "primary" }),
|
|
6230
6239
|
kind: "text",
|
|
6231
6240
|
size: "compact"
|
|
6232
6241
|
}
|
|
6233
6242
|
),
|
|
6234
|
-
r && /* @__PURE__ */ e.createElement("div", { className:
|
|
6243
|
+
r && /* @__PURE__ */ e.createElement("div", { className: Me[`${Ve}__loader`] }, /* @__PURE__ */ e.createElement(Cr, { size: "small" }))
|
|
6235
6244
|
);
|
|
6236
6245
|
}, Vn = "lc-Skeleton-module__loading___MHvGo", Ct = {
|
|
6237
6246
|
"skeleton-wrapper": "lc-Skeleton-module__skeleton-wrapper___MXuR8",
|
|
@@ -6381,17 +6390,17 @@ const aa = {
|
|
|
6381
6390
|
"innerRef",
|
|
6382
6391
|
"ariaLabel"
|
|
6383
6392
|
]);
|
|
6384
|
-
const f = o !== void 0, [b,
|
|
6393
|
+
const f = o !== void 0, [b, h] = e.useState(
|
|
6385
6394
|
() => f ? o : a
|
|
6386
|
-
), [
|
|
6395
|
+
), [v, y] = e.useState(!1), E = f ? o : b, $ = c === "loading", w = c === "locked", C = n === "large" ? "small" : "xsmall", g = E ? "on" : "off", N = r || $ || w, S = N ? "disabled" : "enabled", M = u(
|
|
6387
6396
|
ae[te],
|
|
6388
6397
|
ae[`${te}--${n}`],
|
|
6389
6398
|
{
|
|
6390
|
-
[ae[`${te}--focused`]]:
|
|
6399
|
+
[ae[`${te}--focused`]]: v
|
|
6391
6400
|
},
|
|
6392
6401
|
t
|
|
6393
6402
|
), G = (I) => {
|
|
6394
|
-
l == null || l(I, !E), f || (I.stopPropagation(),
|
|
6403
|
+
l == null || l(I, !E), f || (I.stopPropagation(), h((O) => !O));
|
|
6395
6404
|
};
|
|
6396
6405
|
return /* @__PURE__ */ e.createElement("span", { className: M }, /* @__PURE__ */ e.createElement(
|
|
6397
6406
|
"input",
|
|
@@ -6415,7 +6424,7 @@ const aa = {
|
|
|
6415
6424
|
"span",
|
|
6416
6425
|
{
|
|
6417
6426
|
className: u(ae[`${te}__container`], {
|
|
6418
|
-
[ae[`${te}__container--focused`]]:
|
|
6427
|
+
[ae[`${te}__container--focused`]]: v
|
|
6419
6428
|
})
|
|
6420
6429
|
},
|
|
6421
6430
|
/* @__PURE__ */ e.createElement(
|
|
@@ -6563,8 +6572,8 @@ const aa = {
|
|
|
6563
6572
|
}
|
|
6564
6573
|
}, f = (b) => {
|
|
6565
6574
|
b.preventDefault();
|
|
6566
|
-
const
|
|
6567
|
-
document.execCommand("insertHTML", !1, Dr(
|
|
6575
|
+
const h = b.clipboardData.getData("text/plain");
|
|
6576
|
+
document.execCommand("insertHTML", !1, Dr(h));
|
|
6568
6577
|
};
|
|
6569
6578
|
return /* @__PURE__ */ e.createElement(
|
|
6570
6579
|
"div",
|
|
@@ -6639,27 +6648,27 @@ const aa = {
|
|
|
6639
6648
|
[la[`${Da}--error`]]: o
|
|
6640
6649
|
},
|
|
6641
6650
|
c
|
|
6642
|
-
),
|
|
6651
|
+
), h = u(
|
|
6643
6652
|
d,
|
|
6644
6653
|
la[`${Da}__input`],
|
|
6645
6654
|
la[`${Da}__input--${n}`]
|
|
6646
|
-
), [
|
|
6655
|
+
), [v, y] = e.useState(""), E = e.useRef(null), $ = (I) => {
|
|
6647
6656
|
I.trim() !== "" && (r([...a || [], I]), y(""));
|
|
6648
6657
|
}, w = (I) => {
|
|
6649
6658
|
const O = [...a || []];
|
|
6650
6659
|
O.splice(I, 1), r(O);
|
|
6651
6660
|
}, C = (I) => y(I.target.value), g = (I) => {
|
|
6652
6661
|
if (lc.includes(I.key)) {
|
|
6653
|
-
if (I.preventDefault(),
|
|
6662
|
+
if (I.preventDefault(), v === "")
|
|
6654
6663
|
return;
|
|
6655
|
-
$(
|
|
6664
|
+
$(v);
|
|
6656
6665
|
} else if (nc.includes(I.key)) {
|
|
6657
|
-
if (
|
|
6666
|
+
if (v !== "" || !(a != null && a.length))
|
|
6658
6667
|
return;
|
|
6659
6668
|
w(a.length - 1);
|
|
6660
6669
|
}
|
|
6661
6670
|
}, N = (I) => {
|
|
6662
|
-
s && $(
|
|
6671
|
+
s && $(v), i == null || i(I);
|
|
6663
6672
|
}, S = (I, O) => {
|
|
6664
6673
|
const Y = [...a || []];
|
|
6665
6674
|
Y.reduce(
|
|
@@ -6701,9 +6710,9 @@ const aa = {
|
|
|
6701
6710
|
T(k({}, p), {
|
|
6702
6711
|
id: t,
|
|
6703
6712
|
ref: E,
|
|
6704
|
-
className:
|
|
6713
|
+
className: h,
|
|
6705
6714
|
placeholder: l,
|
|
6706
|
-
value:
|
|
6715
|
+
value: v,
|
|
6707
6716
|
onChange: C,
|
|
6708
6717
|
onKeyDown: g,
|
|
6709
6718
|
onPaste: M,
|
|
@@ -6894,7 +6903,7 @@ const aa = {
|
|
|
6894
6903
|
onClick: a
|
|
6895
6904
|
},
|
|
6896
6905
|
/* @__PURE__ */ e.createElement(x, { size: "small", source: Ie })
|
|
6897
|
-
)),
|
|
6906
|
+
)), Le = {
|
|
6898
6907
|
"file-upload-progress": "lc-FileUploadProgress-module__file-upload-progress___xw8h8",
|
|
6899
6908
|
"file-upload-progress__icon": "lc-FileUploadProgress-module__file-upload-progress__icon___p8Rfz",
|
|
6900
6909
|
"file-upload-progress__icon--success": "lc-FileUploadProgress-module__file-upload-progress__icon--success___X40uH",
|
|
@@ -6916,28 +6925,28 @@ const aa = {
|
|
|
6916
6925
|
status: n = "normal",
|
|
6917
6926
|
onCloseButtonClick: c,
|
|
6918
6927
|
onRetryButtonClick: d
|
|
6919
|
-
}, i) => /* @__PURE__ */ e.createElement("div", { className:
|
|
6928
|
+
}, i) => /* @__PURE__ */ e.createElement("div", { className: Le[_t], ref: i }, r && n !== "success" && /* @__PURE__ */ e.createElement("div", { className: Le[`${_t}__icon`] }, r), n === "success" && /* @__PURE__ */ e.createElement(
|
|
6920
6929
|
"div",
|
|
6921
6930
|
{
|
|
6922
6931
|
className: u(
|
|
6923
|
-
|
|
6924
|
-
|
|
6932
|
+
Le[`${_t}__icon`],
|
|
6933
|
+
Le[`${_t}__icon--success`]
|
|
6925
6934
|
)
|
|
6926
6935
|
},
|
|
6927
6936
|
/* @__PURE__ */ e.createElement(x, { source: ia })
|
|
6928
6937
|
), /* @__PURE__ */ e.createElement(
|
|
6929
6938
|
"div",
|
|
6930
6939
|
{
|
|
6931
|
-
className: u(
|
|
6932
|
-
[
|
|
6940
|
+
className: u(Le[`${_t}__wrapper`], {
|
|
6941
|
+
[Le[`${_t}__wrapper--with-icon`]]: r
|
|
6933
6942
|
})
|
|
6934
6943
|
},
|
|
6935
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
6944
|
+
/* @__PURE__ */ e.createElement("div", { className: Le[`${_t}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
|
|
6936
6945
|
"div",
|
|
6937
6946
|
{
|
|
6938
|
-
className: u(
|
|
6939
|
-
[
|
|
6940
|
-
[
|
|
6947
|
+
className: u(Le[ur], {
|
|
6948
|
+
[Le[`${ur}--success`]]: n === "success",
|
|
6949
|
+
[Le[`${ur}--error`]]: n === "error"
|
|
6941
6950
|
})
|
|
6942
6951
|
},
|
|
6943
6952
|
/* @__PURE__ */ e.createElement(B, { size: "sm", as: "div" }, _)
|
|
@@ -6945,7 +6954,7 @@ const aa = {
|
|
|
6945
6954
|
"div",
|
|
6946
6955
|
{
|
|
6947
6956
|
className: u({
|
|
6948
|
-
[
|
|
6957
|
+
[Le[`${_t}__wrapper__header__actions`]]: t === "hover"
|
|
6949
6958
|
})
|
|
6950
6959
|
},
|
|
6951
6960
|
/* @__PURE__ */ e.createElement(
|
|
@@ -7023,11 +7032,11 @@ const aa = {
|
|
|
7023
7032
|
onCloseButtonClick: s,
|
|
7024
7033
|
onRetryButtonClick: p
|
|
7025
7034
|
}) => {
|
|
7026
|
-
const [m, f] = e.useState(o || !1), b = n === "error",
|
|
7035
|
+
const [m, f] = e.useState(o || !1), b = n === "error", h = n === "success", v = u(K[Ee], a, {
|
|
7027
7036
|
[K[`${Ee}--error`]]: b,
|
|
7028
|
-
[K[`${Ee}--success`]]:
|
|
7037
|
+
[K[`${Ee}--success`]]: h
|
|
7029
7038
|
}), y = !(b && (p || s)), E = () => f(!m);
|
|
7030
|
-
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className:
|
|
7039
|
+
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: v }, /* @__PURE__ */ e.createElement("div", { className: K[`${Ee}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement(
|
|
7031
7040
|
yc,
|
|
7032
7041
|
{
|
|
7033
7042
|
title: b && l || _,
|
|
@@ -7043,7 +7052,7 @@ const aa = {
|
|
|
7043
7052
|
onCloseButtonClick: s,
|
|
7044
7053
|
onRetryButtonClick: p
|
|
7045
7054
|
}
|
|
7046
|
-
))) : /* @__PURE__ */ e.createElement("div", { className:
|
|
7055
|
+
))) : /* @__PURE__ */ e.createElement("div", { className: v }, /* @__PURE__ */ e.createElement(
|
|
7047
7056
|
"div",
|
|
7048
7057
|
{
|
|
7049
7058
|
className: K[`${Ee}__wrapper`],
|