@livechat/design-system-react-components 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +196 -196
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
var c_ = Object.defineProperty, s_ = Object.defineProperties;
|
|
2
2
|
var d_ = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var La = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var Qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var yr = (e, a, r) => a in e ? c_(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, k = (e, a) => {
|
|
6
6
|
for (var r in a || (a = {}))
|
|
7
|
-
|
|
7
|
+
Qr.call(a, r) && yr(e, r, a[r]);
|
|
8
8
|
if (La)
|
|
9
9
|
for (var r of La(a))
|
|
10
|
-
|
|
10
|
+
Jr.call(a, r) && yr(e, r, a[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, E = (e, a) => s_(e, d_(a));
|
|
13
13
|
var F = (e, a) => {
|
|
14
14
|
var r = {};
|
|
15
15
|
for (var o in e)
|
|
16
|
-
|
|
16
|
+
Qr.call(e, o) && a.indexOf(o) < 0 && (r[o] = e[o]);
|
|
17
17
|
if (e != null && La)
|
|
18
18
|
for (var o of La(e))
|
|
19
|
-
a.indexOf(o) < 0 &&
|
|
19
|
+
a.indexOf(o) < 0 && Jr.call(e, o) && (r[o] = e[o]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
22
22
|
var wr = (e, a, r) => yr(e, typeof a != "symbol" ? a + "" : a, r);
|
|
23
|
-
import { jsx as t, jsxs as f, Fragment as
|
|
23
|
+
import { jsx as t, jsxs as f, Fragment as ne } from "react/jsx-runtime";
|
|
24
24
|
import * as p from "react";
|
|
25
25
|
import { createContext as u_, useContext as m_, useState as Jt, useEffect as tt, useMemo as qt, useRef as Ur, useReducer as p_, useCallback as Ga, memo as g_ } from "react";
|
|
26
|
-
import { ChevronDown as Ht, Check as Sa, Close as Me, Info as Na, Warning as
|
|
26
|
+
import { ChevronDown as Ht, Check as Sa, Close as Me, Info as Na, Warning as Ao, CheckCircle as Hr, Block as Do, ChevronRight as ir, VisibilityOn as h_, VisibilityOff as f_, ChevronUp as lr, Person as b_, DoubleArrowLeft as v_, ChevronLeft as k_, DoubleArrowRight as y_, People as w_, Bot as C_, Add as $_, ChatBotColored as N_, PersonAdd as x_, TextLogoFull as S_, LiveChatMono as B_, ChatBotMono as E_, HelpDeskMono as I_, KnowledgeBaseMono as T_, OpenWidgetMono as A_, HelloMono as D_, TextAccounts as P_, Search as F_, LockBlack as R_, Refresh as M_, Error as O_ } from "@livechat/design-system-icons";
|
|
27
27
|
import u from "clsx";
|
|
28
|
-
import { useFloatingParentNodeId as cr, useFloatingNodeId as Ba, useFloating as Ea, offset as Ia, flip as sr, size as
|
|
28
|
+
import { useFloatingParentNodeId as cr, useFloatingNodeId as Ba, useFloating as Ea, offset as Ia, flip as sr, size as Po, autoUpdate as Ta, useClick as Aa, useDismiss as Da, useRole as Pa, useInteractions as Fa, useTransitionStyles as zr, FloatingNode as ta, FloatingTree as dr, shift as Vr, arrow as L_, hide as G_, useHover as U_, safePolygon as H_, useFocus as z_, useTransitionStatus as V_, FloatingArrow as W_, FloatingPortal as ea, FloatingFocusManager as Pr, useListNavigation as K_, FloatingOverlay as Y_ } from "@floating-ui/react";
|
|
29
29
|
import * as X_ from "react-dom";
|
|
30
30
|
import { flushSync as Z_, createPortal as q_ } from "react-dom";
|
|
31
|
-
import
|
|
31
|
+
import Fo from "lodash.debounce";
|
|
32
32
|
import { Virtuoso as j_ } from "react-virtuoso";
|
|
33
33
|
import { getContrast as Wr } from "polished";
|
|
34
34
|
import Q_ from "react-day-picker";
|
|
35
|
-
import { subMonths as jt, differenceInCalendarMonths as
|
|
36
|
-
import
|
|
37
|
-
import { TransitionGroup as
|
|
35
|
+
import { subMonths as jt, differenceInCalendarMonths as eo, addMonths as to, isSameMonth as Fr, isSameDay as Rr, isAfter as Mr, differenceInCalendarDays as Kr, isPast as J_ } from "date-fns";
|
|
36
|
+
import ao from "lodash.escape";
|
|
37
|
+
import { TransitionGroup as Ro, CSSTransition as Mo } from "react-transition-group";
|
|
38
38
|
const Qc = {
|
|
39
39
|
/** @deprecated */
|
|
40
40
|
Background: "--background",
|
|
@@ -480,8 +480,8 @@ const Qc = {
|
|
|
480
480
|
Slow: "--delay-slow"
|
|
481
481
|
};
|
|
482
482
|
var Dt = /* @__PURE__ */ ((e) => (e.Dark = "lc-dark-theme", e.Light = "lc-light-theme", e))(Dt || {});
|
|
483
|
-
const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light,
|
|
484
|
-
const e = m_(
|
|
483
|
+
const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Oo = u_(void 0), ns = () => {
|
|
484
|
+
const e = m_(Oo);
|
|
485
485
|
if (!e)
|
|
486
486
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
487
487
|
return e;
|
|
@@ -507,11 +507,11 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
507
507
|
}),
|
|
508
508
|
[o, _, i]
|
|
509
509
|
);
|
|
510
|
-
return /* @__PURE__ */ t(
|
|
511
|
-
},
|
|
510
|
+
return /* @__PURE__ */ t(Oo.Provider, { value: l, children: e });
|
|
511
|
+
}, Lo = p.createContext(
|
|
512
512
|
void 0
|
|
513
|
-
),
|
|
514
|
-
const e = p.useContext(
|
|
513
|
+
), Yr = () => {
|
|
514
|
+
const e = p.useContext(Lo);
|
|
515
515
|
if (!e)
|
|
516
516
|
throw new Error("useAppFrame must be used within a AppFrameProvider");
|
|
517
517
|
return e;
|
|
@@ -534,7 +534,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
534
534
|
i
|
|
535
535
|
]
|
|
536
536
|
);
|
|
537
|
-
return /* @__PURE__ */ t(
|
|
537
|
+
return /* @__PURE__ */ t(Lo.Provider, { value: l, children: e });
|
|
538
538
|
}, ls = (e, a) => `color-mix(in srgb, var(${e}) ${a}, transparent)`, Gt = ({
|
|
539
539
|
isVisible: e,
|
|
540
540
|
elementRef: a
|
|
@@ -562,7 +562,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
562
562
|
isMounted: r,
|
|
563
563
|
setShouldBeVisible: l
|
|
564
564
|
};
|
|
565
|
-
},
|
|
565
|
+
}, ro = /* @__PURE__ */ (() => {
|
|
566
566
|
let e = null;
|
|
567
567
|
const a = /* @__PURE__ */ new Map();
|
|
568
568
|
return {
|
|
@@ -578,13 +578,13 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
578
578
|
e && _ && (e.unobserve(_), a.delete(_), a.size === 0 && (e.disconnect(), e = null));
|
|
579
579
|
}
|
|
580
580
|
};
|
|
581
|
-
})(),
|
|
582
|
-
window.ResizeObserver && (e !== null ?
|
|
581
|
+
})(), Xr = (e, a) => {
|
|
582
|
+
window.ResizeObserver && (e !== null ? ro.observe(e, (o) => {
|
|
583
583
|
a(o);
|
|
584
|
-
}) :
|
|
584
|
+
}) : ro.unobserve(e));
|
|
585
585
|
}, Go = () => {
|
|
586
586
|
const [e, a] = p.useState(0), r = p.useCallback(
|
|
587
|
-
(o) =>
|
|
587
|
+
(o) => Xr(
|
|
588
588
|
o,
|
|
589
589
|
(_) => a(_.height)
|
|
590
590
|
),
|
|
@@ -598,7 +598,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
598
598
|
mobileBreakpoint: e
|
|
599
599
|
}) => {
|
|
600
600
|
const [a, r] = p.useState(!1), o = p.useCallback(
|
|
601
|
-
(_) =>
|
|
601
|
+
(_) => Xr(
|
|
602
602
|
_,
|
|
603
603
|
(n) => r(n.width <= e)
|
|
604
604
|
),
|
|
@@ -608,7 +608,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
608
608
|
isMobile: a,
|
|
609
609
|
handleResizeRef: o
|
|
610
610
|
};
|
|
611
|
-
}, an = "lc-Icon-module__icon___J5RH5",
|
|
611
|
+
}, an = "lc-Icon-module__icon___J5RH5", oo = {
|
|
612
612
|
icon: an,
|
|
613
613
|
"icon--primary": "lc-Icon-module__icon--primary___lclud",
|
|
614
614
|
"icon--subtle": "lc-Icon-module__icon--subtle___d17Qj",
|
|
@@ -672,7 +672,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
672
672
|
width: 64,
|
|
673
673
|
height: 64
|
|
674
674
|
}
|
|
675
|
-
},
|
|
675
|
+
}, _o = "icon", P = (e) => {
|
|
676
676
|
const s = e, {
|
|
677
677
|
source: a,
|
|
678
678
|
size: r = "medium",
|
|
@@ -689,8 +689,8 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
689
689
|
"customColor"
|
|
690
690
|
]), d = p.createElement(a, k(k({}, rn[r]), i ? { color: i } : {})), c = u(
|
|
691
691
|
n,
|
|
692
|
-
|
|
693
|
-
o &&
|
|
692
|
+
oo[_o],
|
|
693
|
+
o && oo[`${_o}--${_ ? "disabled--" : ""}${o}`]
|
|
694
694
|
);
|
|
695
695
|
return /* @__PURE__ */ t("span", E(k({}, l), { className: c, children: d }));
|
|
696
696
|
}, et = {
|
|
@@ -837,10 +837,10 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
837
837
|
}, l),
|
|
838
838
|
r
|
|
839
839
|
);
|
|
840
|
-
},
|
|
840
|
+
}, no = {
|
|
841
841
|
"accordion-multiline": "lc-AccordionMultilineElement-module__accordion-multiline___oI-PH",
|
|
842
842
|
"accordion-multiline__inner": "lc-AccordionMultilineElement-module__accordion-multiline__inner___bBTnC"
|
|
843
|
-
},
|
|
843
|
+
}, io = "accordion-multiline", _n = ({ children: e, isExpanded: a }) => {
|
|
844
844
|
const r = p.useRef(null), { isOpen: o, isMounted: _ } = Gt({
|
|
845
845
|
isVisible: !a,
|
|
846
846
|
elementRef: r
|
|
@@ -848,10 +848,10 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
848
848
|
return /* @__PURE__ */ t(
|
|
849
849
|
"div",
|
|
850
850
|
{
|
|
851
|
-
className:
|
|
851
|
+
className: no[`${io}`],
|
|
852
852
|
style: { maxHeight: o ? n : 0 },
|
|
853
853
|
ref: r,
|
|
854
|
-
children: /* @__PURE__ */ t("div", { ref: i, children: _ && /* @__PURE__ */ t("div", { className:
|
|
854
|
+
children: /* @__PURE__ */ t("div", { ref: i, children: _ && /* @__PURE__ */ t("div", { className: no[`${io}__inner`], children: e }) })
|
|
855
855
|
}
|
|
856
856
|
);
|
|
857
857
|
}, aa = {
|
|
@@ -1085,7 +1085,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
1085
1085
|
middleware: [
|
|
1086
1086
|
Ia(4),
|
|
1087
1087
|
sr(l),
|
|
1088
|
-
|
|
1088
|
+
Po({
|
|
1089
1089
|
apply({ availableHeight: M }) {
|
|
1090
1090
|
Z_(() => S(M));
|
|
1091
1091
|
}
|
|
@@ -1173,7 +1173,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
1173
1173
|
]
|
|
1174
1174
|
},
|
|
1175
1175
|
M.key
|
|
1176
|
-
) }, M.key), st = /* @__PURE__ */ f(
|
|
1176
|
+
) }, M.key), st = /* @__PURE__ */ f(ne, { children: [
|
|
1177
1177
|
/* @__PURE__ */ t(
|
|
1178
1178
|
"div",
|
|
1179
1179
|
E(k({
|
|
@@ -1253,7 +1253,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
1253
1253
|
"loader__spinner-circle": "lc-Loader-module__loader__spinner-circle___LyuTm",
|
|
1254
1254
|
rotate: fn,
|
|
1255
1255
|
loader__label: bn
|
|
1256
|
-
}, Ho = "loader",
|
|
1256
|
+
}, Ho = "loader", lo = `${Ho}__spinner`, Zr = (i) => {
|
|
1257
1257
|
var l = i, {
|
|
1258
1258
|
primaryColor: e,
|
|
1259
1259
|
secondaryColor: a,
|
|
@@ -1271,7 +1271,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
1271
1271
|
/* @__PURE__ */ t(
|
|
1272
1272
|
"div",
|
|
1273
1273
|
{
|
|
1274
|
-
className: u(na[
|
|
1274
|
+
className: u(na[lo], na[`${lo}--${_}`]),
|
|
1275
1275
|
children: /* @__PURE__ */ t(
|
|
1276
1276
|
"div",
|
|
1277
1277
|
{
|
|
@@ -1299,7 +1299,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
1299
1299
|
primaryColor: "var(--content-invert-primary)",
|
|
1300
1300
|
secondaryColor: "var(--surface-invert-secondary)"
|
|
1301
1301
|
};
|
|
1302
|
-
},
|
|
1302
|
+
}, co = (e, a, r) => {
|
|
1303
1303
|
a(), r == null || r(e);
|
|
1304
1304
|
}, kn = (e, a, r) => {
|
|
1305
1305
|
a(), r == null || r(e);
|
|
@@ -1400,12 +1400,12 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
1400
1400
|
type: r,
|
|
1401
1401
|
disabled: w
|
|
1402
1402
|
}, !w && { href: g, onClick: m }), h), I && {
|
|
1403
|
-
onMouseEnter: (D) =>
|
|
1403
|
+
onMouseEnter: (D) => co(
|
|
1404
1404
|
D,
|
|
1405
1405
|
() => S(!0),
|
|
1406
1406
|
h == null ? void 0 : h.onMouseEnter
|
|
1407
1407
|
),
|
|
1408
|
-
onMouseLeave: (D) =>
|
|
1408
|
+
onMouseLeave: (D) => co(
|
|
1409
1409
|
D,
|
|
1410
1410
|
() => S(!1),
|
|
1411
1411
|
h == null ? void 0 : h.onMouseLeave
|
|
@@ -1422,7 +1422,7 @@ const _s = (e) => e === "dark" ? Dt.Dark : Dt.Light, Mo = u_(void 0), ns = () =>
|
|
|
1422
1422
|
}), {
|
|
1423
1423
|
children: [
|
|
1424
1424
|
e && /* @__PURE__ */ t(
|
|
1425
|
-
|
|
1425
|
+
Zr,
|
|
1426
1426
|
k({
|
|
1427
1427
|
"data-testid": "button-loader",
|
|
1428
1428
|
size: "small",
|
|
@@ -1643,7 +1643,7 @@ const Sn = (e) => {
|
|
|
1643
1643
|
]
|
|
1644
1644
|
})
|
|
1645
1645
|
) }), l_ = () => ct === null ? /* @__PURE__ */ t(dr, { children: V ? /* @__PURE__ */ t(ea, E(k({}, H), { children: Oa })) : Oa }) : V ? /* @__PURE__ */ t(ea, E(k({}, H), { children: Oa })) : Oa;
|
|
1646
|
-
return /* @__PURE__ */ f(
|
|
1646
|
+
return /* @__PURE__ */ f(ne, { children: [
|
|
1647
1647
|
/* @__PURE__ */ t(
|
|
1648
1648
|
"div",
|
|
1649
1649
|
E(k({
|
|
@@ -1794,7 +1794,7 @@ const Sn = (e) => {
|
|
|
1794
1794
|
height: `${e.height}px`,
|
|
1795
1795
|
backgroundColor: "transparent"
|
|
1796
1796
|
};
|
|
1797
|
-
return /* @__PURE__ */ f(
|
|
1797
|
+
return /* @__PURE__ */ f(ne, { children: [
|
|
1798
1798
|
/* @__PURE__ */ t(
|
|
1799
1799
|
"div",
|
|
1800
1800
|
{
|
|
@@ -1881,7 +1881,7 @@ class Pn {
|
|
|
1881
1881
|
return this.getBoundingClientRect().height;
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
|
-
const
|
|
1884
|
+
const so = 8, uo = "guide-tooltip", mo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
1885
1885
|
const {
|
|
1886
1886
|
className: a,
|
|
1887
1887
|
parentElementName: r,
|
|
@@ -1891,9 +1891,9 @@ const co = 8, so = "guide-tooltip", uo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
|
1891
1891
|
null
|
|
1892
1892
|
), [l, d] = p.useState(null), [c, s] = p.useState(_), g = () => {
|
|
1893
1893
|
n && (d(
|
|
1894
|
-
|
|
1894
|
+
mo(
|
|
1895
1895
|
n,
|
|
1896
|
-
|
|
1896
|
+
so
|
|
1897
1897
|
).getBoundingClientRect()
|
|
1898
1898
|
), s(!1));
|
|
1899
1899
|
};
|
|
@@ -1909,9 +1909,9 @@ const co = 8, so = "guide-tooltip", uo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
|
1909
1909
|
}
|
|
1910
1910
|
}, [r]), p.useEffect(() => {
|
|
1911
1911
|
n && d(
|
|
1912
|
-
|
|
1912
|
+
mo(
|
|
1913
1913
|
n,
|
|
1914
|
-
|
|
1914
|
+
so
|
|
1915
1915
|
).getBoundingClientRect()
|
|
1916
1916
|
), s(!0);
|
|
1917
1917
|
}, [n]), n && o && l ? /* @__PURE__ */ f(ea, { children: [
|
|
@@ -1927,14 +1927,14 @@ const co = 8, so = "guide-tooltip", uo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
|
1927
1927
|
/* @__PURE__ */ t(
|
|
1928
1928
|
Ut,
|
|
1929
1929
|
E(k({}, e), {
|
|
1930
|
-
triggerRenderer: /* @__PURE__ */ t(
|
|
1930
|
+
triggerRenderer: /* @__PURE__ */ t(ne, {}),
|
|
1931
1931
|
referenceElement: {
|
|
1932
1932
|
getBoundingClientRect: () => l,
|
|
1933
1933
|
contextElement: n
|
|
1934
1934
|
},
|
|
1935
1935
|
className: u({
|
|
1936
|
-
[O[
|
|
1937
|
-
[O[`${
|
|
1936
|
+
[O[uo]]: !0,
|
|
1937
|
+
[O[`${uo}--slide`]]: c,
|
|
1938
1938
|
className: a
|
|
1939
1939
|
}),
|
|
1940
1940
|
children: e.children
|
|
@@ -2229,7 +2229,7 @@ const co = 8, so = "guide-tooltip", uo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
|
2229
2229
|
kind: "link"
|
|
2230
2230
|
},
|
|
2231
2231
|
warning: {
|
|
2232
|
-
source:
|
|
2232
|
+
source: Ao,
|
|
2233
2233
|
kind: "warning"
|
|
2234
2234
|
},
|
|
2235
2235
|
success: {
|
|
@@ -2237,7 +2237,7 @@ const co = 8, so = "guide-tooltip", uo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
|
2237
2237
|
kind: "success"
|
|
2238
2238
|
},
|
|
2239
2239
|
error: {
|
|
2240
|
-
source:
|
|
2240
|
+
source: Do,
|
|
2241
2241
|
kind: "error"
|
|
2242
2242
|
}
|
|
2243
2243
|
}, Pe = "alert", fs = (l) => {
|
|
@@ -2265,7 +2265,7 @@ const co = 8, so = "guide-tooltip", uo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
|
2265
2265
|
a
|
|
2266
2266
|
);
|
|
2267
2267
|
return p.useEffect(() => {
|
|
2268
|
-
const v = () => c.current && c.current.offsetWidth <= 400 ? g("small") : c.current && c.current.offsetWidth > 400 && c.current.offsetWidth <= 800 ? g("medium") : g("large"), h =
|
|
2268
|
+
const v = () => c.current && c.current.offsetWidth <= 400 ? g("small") : c.current && c.current.offsetWidth > 400 && c.current.offsetWidth <= 800 ? g("medium") : g("large"), h = Fo(() => {
|
|
2269
2269
|
v();
|
|
2270
2270
|
}, 500);
|
|
2271
2271
|
return window.addEventListener("resize", h), v(), () => window.removeEventListener("resize", h);
|
|
@@ -2353,7 +2353,7 @@ const co = 8, so = "guide-tooltip", uo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
|
2353
2353
|
isSideNavigationVisible: g,
|
|
2354
2354
|
setIsMobileViewEnabled: m,
|
|
2355
2355
|
isMobileViewEnabled: v
|
|
2356
|
-
} =
|
|
2356
|
+
} = Yr(), h = p.useRef(null), { isOpen: b, isMounted: y } = Gt({
|
|
2357
2357
|
isVisible: g,
|
|
2358
2358
|
elementRef: h
|
|
2359
2359
|
}), { isMobile: C, handleResizeRef: N } = tn({
|
|
@@ -2378,7 +2378,6 @@ const co = 8, so = "guide-tooltip", uo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
|
2378
2378
|
{
|
|
2379
2379
|
[Fe[`${Ue}__top-bar--visible`]]: i
|
|
2380
2380
|
},
|
|
2381
|
-
"lc-dark-theme",
|
|
2382
2381
|
l
|
|
2383
2382
|
),
|
|
2384
2383
|
children: i
|
|
@@ -2406,6 +2405,13 @@ const co = 8, so = "guide-tooltip", uo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
|
2406
2405
|
children: y && n
|
|
2407
2406
|
}
|
|
2408
2407
|
),
|
|
2408
|
+
v && /* @__PURE__ */ t(
|
|
2409
|
+
"div",
|
|
2410
|
+
{
|
|
2411
|
+
className: Fe[`${Ue}__content-wrapper__mobile-top-bar`],
|
|
2412
|
+
children: i
|
|
2413
|
+
}
|
|
2414
|
+
),
|
|
2409
2415
|
/* @__PURE__ */ t(
|
|
2410
2416
|
"div",
|
|
2411
2417
|
{
|
|
@@ -2419,16 +2425,7 @@ const co = 8, so = "guide-tooltip", uo = (e, a) => new Pn(e, a), ms = (e) => {
|
|
|
2419
2425
|
children: a
|
|
2420
2426
|
}
|
|
2421
2427
|
),
|
|
2422
|
-
v &&
|
|
2423
|
-
/* @__PURE__ */ t(
|
|
2424
|
-
"div",
|
|
2425
|
-
{
|
|
2426
|
-
className: Fe[`${Ue}__content-wrapper__mobile-top-bar`],
|
|
2427
|
-
children: i
|
|
2428
|
-
}
|
|
2429
|
-
),
|
|
2430
|
-
_
|
|
2431
|
-
] })
|
|
2428
|
+
v && _
|
|
2432
2429
|
]
|
|
2433
2430
|
}
|
|
2434
2431
|
)
|
|
@@ -2662,10 +2659,10 @@ const Xn = "side-navigation-item-test-id", Zn = "side-navigation-active-item-tes
|
|
|
2662
2659
|
}
|
|
2663
2660
|
)
|
|
2664
2661
|
] });
|
|
2665
|
-
},
|
|
2662
|
+
}, po = {
|
|
2666
2663
|
"navigation-group": "lc-NavigationGroup-module__navigation-group___61JTX",
|
|
2667
2664
|
"navigation-group--scrollable": "lc-NavigationGroup-module__navigation-group--scrollable___BL8-e"
|
|
2668
|
-
},
|
|
2665
|
+
}, go = "navigation-group", ys = (_) => {
|
|
2669
2666
|
var n = _, {
|
|
2670
2667
|
children: e,
|
|
2671
2668
|
className: a,
|
|
@@ -2679,9 +2676,9 @@ const Xn = "side-navigation-item-test-id", Zn = "side-navigation-active-item-tes
|
|
|
2679
2676
|
"ul",
|
|
2680
2677
|
E(k({
|
|
2681
2678
|
className: u(
|
|
2682
|
-
|
|
2679
|
+
po[go],
|
|
2683
2680
|
{
|
|
2684
|
-
[
|
|
2681
|
+
[po[`${go}--scrollable`]]: r
|
|
2685
2682
|
},
|
|
2686
2683
|
a
|
|
2687
2684
|
)
|
|
@@ -2778,7 +2775,7 @@ const ei = "lc-Badge-module__badge___ZbEBU", ti = "lc-Badge-module__badge__dot__
|
|
|
2778
2775
|
"onClick",
|
|
2779
2776
|
"className"
|
|
2780
2777
|
]);
|
|
2781
|
-
const { isMobileViewEnabled: v } =
|
|
2778
|
+
const { isMobileViewEnabled: v } = Yr();
|
|
2782
2779
|
return /* @__PURE__ */ t(
|
|
2783
2780
|
"li",
|
|
2784
2781
|
{
|
|
@@ -2803,7 +2800,7 @@ const ei = "lc-Badge-module__badge___ZbEBU", ti = "lc-Badge-module__badge__dot__
|
|
|
2803
2800
|
referencePress: !0,
|
|
2804
2801
|
referencePressEvent: "click"
|
|
2805
2802
|
},
|
|
2806
|
-
triggerRenderer: /* @__PURE__ */ f(
|
|
2803
|
+
triggerRenderer: /* @__PURE__ */ f(ne, { children: [
|
|
2807
2804
|
/* @__PURE__ */ f(
|
|
2808
2805
|
"a",
|
|
2809
2806
|
E(k({
|
|
@@ -2866,10 +2863,13 @@ const ei = "lc-Badge-module__badge___ZbEBU", ti = "lc-Badge-module__badge__dot__
|
|
|
2866
2863
|
children: e,
|
|
2867
2864
|
className: a,
|
|
2868
2865
|
additionalNodes: r
|
|
2869
|
-
}) =>
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2866
|
+
}) => {
|
|
2867
|
+
const { isMobileViewEnabled: o } = Yr();
|
|
2868
|
+
return /* @__PURE__ */ f("div", { className: u(je[or], a), children: [
|
|
2869
|
+
/* @__PURE__ */ t("div", { className: je[`${or}__alerts-wrapper`], children: e }),
|
|
2870
|
+
!o && r
|
|
2871
|
+
] });
|
|
2872
|
+
}, ni = ({
|
|
2873
2873
|
children: e,
|
|
2874
2874
|
className: a,
|
|
2875
2875
|
"data-testid": r
|
|
@@ -2893,7 +2893,7 @@ const ei = "lc-Badge-module__badge___ZbEBU", ti = "lc-Badge-module__badge__dot__
|
|
|
2893
2893
|
isVisible: i,
|
|
2894
2894
|
elementRef: c
|
|
2895
2895
|
}), m = p.useCallback(
|
|
2896
|
-
(B) =>
|
|
2896
|
+
(B) => Xr(
|
|
2897
2897
|
B,
|
|
2898
2898
|
($) => d($.width < Kn)
|
|
2899
2899
|
),
|
|
@@ -2917,7 +2917,7 @@ const ei = "lc-Badge-module__badge___ZbEBU", ti = "lc-Badge-module__badge__dot__
|
|
|
2917
2917
|
children: n.label
|
|
2918
2918
|
})
|
|
2919
2919
|
)
|
|
2920
|
-
] }) : null, N = /* @__PURE__ */ f(
|
|
2920
|
+
] }) : null, N = /* @__PURE__ */ f(ne, { children: [
|
|
2921
2921
|
/* @__PURE__ */ f("div", { className: je[`${It}__children-wrapper`], children: [
|
|
2922
2922
|
o,
|
|
2923
2923
|
C
|
|
@@ -2931,7 +2931,7 @@ const ei = "lc-Badge-module__badge___ZbEBU", ti = "lc-Badge-module__badge__dot__
|
|
|
2931
2931
|
})
|
|
2932
2932
|
)
|
|
2933
2933
|
] });
|
|
2934
|
-
return /* @__PURE__ */ t(
|
|
2934
|
+
return /* @__PURE__ */ t(ne, { children: s && /* @__PURE__ */ t("div", { ref: m, children: /* @__PURE__ */ t(
|
|
2935
2935
|
"div",
|
|
2936
2936
|
{
|
|
2937
2937
|
className: u(
|
|
@@ -3026,7 +3026,7 @@ const Wa = {
|
|
|
3026
3026
|
"input__icon--left": "lc-Input-module__input__icon--left___IBzj8",
|
|
3027
3027
|
"input__icon--right": "lc-Input-module__input__icon--right___lw1xQ",
|
|
3028
3028
|
"input__visibility-button": "lc-Input-module__input__visibility-button___lmD5H"
|
|
3029
|
-
}, Je = "input",
|
|
3029
|
+
}, Je = "input", ho = (e, a) => p.cloneElement(e.source, {
|
|
3030
3030
|
"data-testid": `input-icon-${e.place}`,
|
|
3031
3031
|
className: u(
|
|
3032
3032
|
Qe[`${Je}__icon`],
|
|
@@ -3078,7 +3078,7 @@ const Wa = {
|
|
|
3078
3078
|
(I = s.current) == null || I.focus();
|
|
3079
3079
|
},
|
|
3080
3080
|
children: [
|
|
3081
|
-
S &&
|
|
3081
|
+
S && ho(o, r),
|
|
3082
3082
|
/* @__PURE__ */ t(
|
|
3083
3083
|
"input",
|
|
3084
3084
|
E(k({}, i), {
|
|
@@ -3093,7 +3093,7 @@ const Wa = {
|
|
|
3093
3093
|
type: b && !v ? b : "text"
|
|
3094
3094
|
})
|
|
3095
3095
|
),
|
|
3096
|
-
w &&
|
|
3096
|
+
w && ho(o, r),
|
|
3097
3097
|
b === "password" && /* @__PURE__ */ t(
|
|
3098
3098
|
q,
|
|
3099
3099
|
{
|
|
@@ -3124,7 +3124,7 @@ const Qt = "select-all", mi = (e, a) => {
|
|
|
3124
3124
|
}), r;
|
|
3125
3125
|
}, Lr = (e) => e.filter(
|
|
3126
3126
|
({ key: a, disabled: r, groupHeader: o }) => !(a === Qt || r || o)
|
|
3127
|
-
),
|
|
3127
|
+
), fo = ({ key: e }) => e, pi = (e, a) => e.includes(a) ? e.filter((r) => r !== a) : [...e, a], gi = {
|
|
3128
3128
|
"field-description": "lc-FieldDescription-module__field-description___x5rXY"
|
|
3129
3129
|
}, hi = "field-description", ur = (o) => {
|
|
3130
3130
|
var _ = o, { children: e, className: a = "" } = _, r = F(_, ["children", "className"]);
|
|
@@ -3196,7 +3196,7 @@ const Qt = "select-all", mi = (e, a) => {
|
|
|
3196
3196
|
}) => {
|
|
3197
3197
|
const d = (s) => {
|
|
3198
3198
|
var g;
|
|
3199
|
-
return (g = s == null ? void 0 : s.customElement) != null && g.listItemBody ? /* @__PURE__ */ t("div", { className: ye[`${Ve}__custom`], children: s.customElement.listItemBody }) : /* @__PURE__ */ f(
|
|
3199
|
+
return (g = s == null ? void 0 : s.customElement) != null && g.listItemBody ? /* @__PURE__ */ t("div", { className: ye[`${Ve}__custom`], children: s.customElement.listItemBody }) : /* @__PURE__ */ f(ne, { children: [
|
|
3200
3200
|
s.showCheckbox && /* @__PURE__ */ t(
|
|
3201
3201
|
$i,
|
|
3202
3202
|
{
|
|
@@ -3793,7 +3793,7 @@ const Qt = "select-all", mi = (e, a) => {
|
|
|
3793
3793
|
Ia(4),
|
|
3794
3794
|
sr({ padding: 10 }),
|
|
3795
3795
|
Vr(),
|
|
3796
|
-
|
|
3796
|
+
Po({
|
|
3797
3797
|
apply({ availableHeight: V, rects: H, elements: K }) {
|
|
3798
3798
|
X_.flushSync(() => {
|
|
3799
3799
|
C(
|
|
@@ -3855,8 +3855,8 @@ const Qt = "select-all", mi = (e, a) => {
|
|
|
3855
3855
|
inputRef: l
|
|
3856
3856
|
}) => {
|
|
3857
3857
|
const [d, c] = p.useState(
|
|
3858
|
-
() => (e == null ? void 0 : e.map(
|
|
3859
|
-
), s = e !== void 0, g = s ? (e == null ? void 0 : e.map(
|
|
3858
|
+
() => (e == null ? void 0 : e.map(fo)) || []
|
|
3859
|
+
), s = e !== void 0, g = s ? (e == null ? void 0 : e.map(fo)) || [] : d, [m, v] = p.useState(""), h = ($) => v($), b = ($) => {
|
|
3860
3860
|
r === "single" ? B($) : (c(g.filter((S) => S !== $)), _((e == null ? void 0 : e.filter(({ key: S }) => S !== $)) || null));
|
|
3861
3861
|
}, y = () => {
|
|
3862
3862
|
!s && c([]), _(null), v(""), n(!1);
|
|
@@ -4085,7 +4085,7 @@ const Qt = "select-all", mi = (e, a) => {
|
|
|
4085
4085
|
}, a && {
|
|
4086
4086
|
customElement: {
|
|
4087
4087
|
listItemBody: a,
|
|
4088
|
-
selectedItemBody: /* @__PURE__ */ t(
|
|
4088
|
+
selectedItemBody: /* @__PURE__ */ t(ne, {})
|
|
4089
4089
|
}
|
|
4090
4090
|
}), o);
|
|
4091
4091
|
}), Li = (e, a, r, o) => {
|
|
@@ -4218,7 +4218,7 @@ const Qt = "select-all", mi = (e, a) => {
|
|
|
4218
4218
|
) }) })
|
|
4219
4219
|
] }));
|
|
4220
4220
|
}
|
|
4221
|
-
),
|
|
4221
|
+
), bo = Array.from(
|
|
4222
4222
|
{ length: 10 },
|
|
4223
4223
|
(e, a) => `--surface-avatar-${a + 1}`
|
|
4224
4224
|
);
|
|
@@ -4226,7 +4226,7 @@ function Gi(e) {
|
|
|
4226
4226
|
if (!e)
|
|
4227
4227
|
return;
|
|
4228
4228
|
const a = e.split("").reduce((r, o) => r + o.charCodeAt(0), 0);
|
|
4229
|
-
return `var(${
|
|
4229
|
+
return `var(${bo[a % bo.length]})`;
|
|
4230
4230
|
}
|
|
4231
4231
|
function Ui(e = "", a = 2) {
|
|
4232
4232
|
const r = e.trim().split(/\s+/), o = r.map((n) => [...n][0]);
|
|
@@ -4565,7 +4565,7 @@ const zi = "lc-Avatar-module__avatar___5-kP8", Vi = "lc-Avatar-module__avatar__s
|
|
|
4565
4565
|
"date-picker--range__select-input": "lc-DatePicker-module__date-picker--range__select-input___hOC44",
|
|
4566
4566
|
"date-picker--range__calendars-wrapper": "lc-DatePicker-module__date-picker--range__calendars-wrapper___6Nmys",
|
|
4567
4567
|
"date-picker__navbar-buttons-wrapper": "lc-DatePicker-module__date-picker__navbar-buttons-wrapper___zfbQt"
|
|
4568
|
-
},
|
|
4568
|
+
}, vo = "date-picker", nl = (e) => {
|
|
4569
4569
|
const {
|
|
4570
4570
|
onPreviousClick: a,
|
|
4571
4571
|
onMonthChange: r,
|
|
@@ -4587,24 +4587,24 @@ const zi = "lc-Avatar-module__avatar___5-kP8", Vi = "lc-Avatar-module__avatar__s
|
|
|
4587
4587
|
const N = jt(c, 12);
|
|
4588
4588
|
return r(N);
|
|
4589
4589
|
}
|
|
4590
|
-
const y = Math.abs(
|
|
4590
|
+
const y = Math.abs(eo(c, s)), C = jt(
|
|
4591
4591
|
c,
|
|
4592
4592
|
!Number.isNaN(y) && y > 12 ? 12 : y
|
|
4593
4593
|
);
|
|
4594
4594
|
return r(C);
|
|
4595
4595
|
}, b = () => {
|
|
4596
4596
|
if (!g) {
|
|
4597
|
-
const N =
|
|
4597
|
+
const N = to(c, 12);
|
|
4598
4598
|
return r(N);
|
|
4599
4599
|
}
|
|
4600
|
-
const y = Math.abs(
|
|
4600
|
+
const y = Math.abs(eo(g, c)), C = to(
|
|
4601
4601
|
c,
|
|
4602
4602
|
!Number.isNaN(y) && y > 12 ? 12 : y
|
|
4603
4603
|
);
|
|
4604
4604
|
return d === 2 && Fr(C, g) ? r(jt(C, 1)) : r(C);
|
|
4605
4605
|
};
|
|
4606
4606
|
return /* @__PURE__ */ f("div", { className: i, children: [
|
|
4607
|
-
/* @__PURE__ */ f("div", { className: L[`${
|
|
4607
|
+
/* @__PURE__ */ f("div", { className: L[`${vo}__navbar-buttons-wrapper`], children: [
|
|
4608
4608
|
/* @__PURE__ */ t(
|
|
4609
4609
|
"button",
|
|
4610
4610
|
{
|
|
@@ -4630,7 +4630,7 @@ const zi = "lc-Avatar-module__avatar___5-kP8", Vi = "lc-Avatar-module__avatar__s
|
|
|
4630
4630
|
}
|
|
4631
4631
|
)
|
|
4632
4632
|
] }),
|
|
4633
|
-
/* @__PURE__ */ f("div", { className: L[`${
|
|
4633
|
+
/* @__PURE__ */ f("div", { className: L[`${vo}__navbar-buttons-wrapper`], children: [
|
|
4634
4634
|
/* @__PURE__ */ t(
|
|
4635
4635
|
"button",
|
|
4636
4636
|
{
|
|
@@ -4677,7 +4677,7 @@ const zi = "lc-Avatar-module__avatar___5-kP8", Vi = "lc-Avatar-module__avatar__s
|
|
|
4677
4677
|
}, wa = (e, a) => {
|
|
4678
4678
|
const r = a.find((o) => o.id === e);
|
|
4679
4679
|
return r || void 0;
|
|
4680
|
-
},
|
|
4680
|
+
}, ko = (e, a) => !!(!e || e && a), ll = (e) => {
|
|
4681
4681
|
const a = {};
|
|
4682
4682
|
if (!e.initialSelectedItemKey)
|
|
4683
4683
|
return a;
|
|
@@ -4721,9 +4721,9 @@ const zi = "lc-Avatar-module__avatar___5-kP8", Vi = "lc-Avatar-module__avatar__s
|
|
|
4721
4721
|
outside: L[`${U}__day--outside`],
|
|
4722
4722
|
start: L[`${U}__day--start`],
|
|
4723
4723
|
end: L[`${U}__day--end`]
|
|
4724
|
-
}, a),
|
|
4724
|
+
}, a), yo = "date-picker", sl = (e) => {
|
|
4725
4725
|
const a = e.getDate();
|
|
4726
|
-
return /* @__PURE__ */ t("div", { className: L[`${
|
|
4726
|
+
return /* @__PURE__ */ t("div", { className: L[`${yo}__day-wrapper`], children: /* @__PURE__ */ t("div", { className: L[`${yo}__day-content`], children: a }) });
|
|
4727
4727
|
}, dl = (e) => {
|
|
4728
4728
|
const C = e, {
|
|
4729
4729
|
classNames: a,
|
|
@@ -4928,7 +4928,7 @@ const ml = (e) => {
|
|
|
4928
4928
|
const s = Ga(
|
|
4929
4929
|
(b) => {
|
|
4930
4930
|
const y = _ ? Kr(_, b) >= 0 : !0;
|
|
4931
|
-
!
|
|
4931
|
+
!ko(d.from, d.to) && y && c({
|
|
4932
4932
|
type: ae.NEW_TEMPORARY_TO_VALUE,
|
|
4933
4933
|
payload: { date: b }
|
|
4934
4934
|
});
|
|
@@ -4937,7 +4937,7 @@ const ml = (e) => {
|
|
|
4937
4937
|
), g = Ga(
|
|
4938
4938
|
(b) => {
|
|
4939
4939
|
const { from: y, to: C } = d;
|
|
4940
|
-
e_(b, { to: _ }) && (
|
|
4940
|
+
e_(b, { to: _ }) && (ko(y, C) ? c({
|
|
4941
4941
|
type: ae.SELECT_FIRST_DAY,
|
|
4942
4942
|
payload: { date: b }
|
|
4943
4943
|
}) : y && Rr(b, y) || y && Mr(b, y) ? c({
|
|
@@ -5164,10 +5164,10 @@ const Is = (e) => {
|
|
|
5164
5164
|
}, Nr = "details-card-info", As = ({ children: e, label: a }) => /* @__PURE__ */ f("div", { className: $r[Nr], children: [
|
|
5165
5165
|
/* @__PURE__ */ t("div", { className: $r[`${Nr}__label`], children: a }),
|
|
5166
5166
|
/* @__PURE__ */ t("div", { className: $r[`${Nr}__content`], children: e })
|
|
5167
|
-
] }),
|
|
5167
|
+
] }), wo = {
|
|
5168
5168
|
"field-error": "lc-FieldError-module__field-error___-rtI3",
|
|
5169
5169
|
"field-error__icon": "lc-FieldError-module__field-error__icon___4KpOc"
|
|
5170
|
-
},
|
|
5170
|
+
}, Co = "field-error", qr = (o) => {
|
|
5171
5171
|
var _ = o, {
|
|
5172
5172
|
children: e,
|
|
5173
5173
|
className: a = ""
|
|
@@ -5175,13 +5175,13 @@ const Is = (e) => {
|
|
|
5175
5175
|
"children",
|
|
5176
5176
|
"className"
|
|
5177
5177
|
]);
|
|
5178
|
-
const n = u(
|
|
5178
|
+
const n = u(wo[Co], a);
|
|
5179
5179
|
return /* @__PURE__ */ f(A, E(k({ as: "span", size: "sm" }, r), { className: n, children: [
|
|
5180
5180
|
/* @__PURE__ */ t(
|
|
5181
5181
|
P,
|
|
5182
5182
|
{
|
|
5183
5183
|
source: Na,
|
|
5184
|
-
className:
|
|
5184
|
+
className: wo[`${Co}__icon`],
|
|
5185
5185
|
size: "small"
|
|
5186
5186
|
}
|
|
5187
5187
|
),
|
|
@@ -5213,7 +5213,7 @@ const Is = (e) => {
|
|
|
5213
5213
|
});
|
|
5214
5214
|
return /* @__PURE__ */ f("div", E(k({}, i), { className: c, children: [
|
|
5215
5215
|
a,
|
|
5216
|
-
o && /* @__PURE__ */ t(
|
|
5216
|
+
o && /* @__PURE__ */ t(qr, { children: o }),
|
|
5217
5217
|
r && /* @__PURE__ */ t(ur, { children: r })
|
|
5218
5218
|
] }));
|
|
5219
5219
|
}, hl = "lc-Form-module__form___ddwfw", fl = "lc-Form-module__form__header___mr4AX", bl = "lc-Form-module__form__footer___NJUBH", vl = "lc-Form-module__form__label___2hAXA", kl = "lc-Form-module__form__helper___r1lJG", sa = {
|
|
@@ -5244,7 +5244,7 @@ const Is = (e) => {
|
|
|
5244
5244
|
a,
|
|
5245
5245
|
_ && /* @__PURE__ */ t("div", { className: sa[`${da}__footer`], children: _ })
|
|
5246
5246
|
] }));
|
|
5247
|
-
},
|
|
5247
|
+
}, re = {
|
|
5248
5248
|
"form-field": "lc-FormField-module__form-field___kx7Vx",
|
|
5249
5249
|
"form-field--inline": "lc-FormField-module__form-field--inline___1xuhX",
|
|
5250
5250
|
"form-field__wrapper--inline": "lc-FormField-module__form-field__wrapper--inline___MPvG-",
|
|
@@ -5261,7 +5261,7 @@ const Is = (e) => {
|
|
|
5261
5261
|
"form-field__row-break": "lc-FormField-module__form-field__row-break___ibOb7",
|
|
5262
5262
|
"form-field__content": "lc-FormField-module__form-field__content___7Cnwe",
|
|
5263
5263
|
"form-field__content__description": "lc-FormField-module__form-field__content__description___qdMlU"
|
|
5264
|
-
},
|
|
5264
|
+
}, oe = "form-field", Fs = ({
|
|
5265
5265
|
inline: e,
|
|
5266
5266
|
error: a,
|
|
5267
5267
|
description: r,
|
|
@@ -5273,9 +5273,9 @@ const Is = (e) => {
|
|
|
5273
5273
|
labelRightNode: d
|
|
5274
5274
|
}) => {
|
|
5275
5275
|
const c = p.useRef(null), [s, g] = p.useState("auto"), m = u(
|
|
5276
|
-
oe
|
|
5276
|
+
re[oe],
|
|
5277
5277
|
{
|
|
5278
|
-
[
|
|
5278
|
+
[re[`${oe}--inline`]]: e
|
|
5279
5279
|
},
|
|
5280
5280
|
n
|
|
5281
5281
|
);
|
|
@@ -5290,37 +5290,37 @@ const Is = (e) => {
|
|
|
5290
5290
|
as: "div",
|
|
5291
5291
|
size: "sm",
|
|
5292
5292
|
className: u(
|
|
5293
|
-
|
|
5294
|
-
|
|
5293
|
+
re[`${oe}__label-right-node`],
|
|
5294
|
+
re[`${oe}__label-right-node--inline`]
|
|
5295
5295
|
),
|
|
5296
5296
|
children: d
|
|
5297
5297
|
}
|
|
5298
5298
|
),
|
|
5299
|
-
/* @__PURE__ */ t("div", { className:
|
|
5299
|
+
/* @__PURE__ */ t("div", { className: re[`${oe}__row-break`] })
|
|
5300
5300
|
] }),
|
|
5301
5301
|
/* @__PURE__ */ f(
|
|
5302
5302
|
"div",
|
|
5303
5303
|
{
|
|
5304
5304
|
className: u(
|
|
5305
|
-
|
|
5306
|
-
e &&
|
|
5305
|
+
re[`${oe}__wrapper`],
|
|
5306
|
+
e && re[`${oe}__wrapper--inline`]
|
|
5307
5307
|
),
|
|
5308
5308
|
children: [
|
|
5309
5309
|
(o || d) && /* @__PURE__ */ f(
|
|
5310
5310
|
"div",
|
|
5311
5311
|
{
|
|
5312
5312
|
className: u(
|
|
5313
|
-
|
|
5314
|
-
e &&
|
|
5315
|
-
!o &&
|
|
5313
|
+
re[`${oe}__label`],
|
|
5314
|
+
e && re[`${oe}__label--inline`],
|
|
5315
|
+
!o && re[`${oe}__label--no-text`]
|
|
5316
5316
|
),
|
|
5317
5317
|
children: [
|
|
5318
5318
|
o && /* @__PURE__ */ f(
|
|
5319
5319
|
"div",
|
|
5320
5320
|
{
|
|
5321
5321
|
className: u(
|
|
5322
|
-
|
|
5323
|
-
e &&
|
|
5322
|
+
re[`${oe}__label-wrapper`],
|
|
5323
|
+
e && re[`${oe}__label-wrapper--inline`]
|
|
5324
5324
|
),
|
|
5325
5325
|
style: {
|
|
5326
5326
|
height: s
|
|
@@ -5329,7 +5329,7 @@ const Is = (e) => {
|
|
|
5329
5329
|
/* @__PURE__ */ t(
|
|
5330
5330
|
"label",
|
|
5331
5331
|
{
|
|
5332
|
-
className:
|
|
5332
|
+
className: re[`${oe}__label-left-node`],
|
|
5333
5333
|
htmlFor: i,
|
|
5334
5334
|
children: /* @__PURE__ */ t(A, { as: "span", size: "sm", children: o })
|
|
5335
5335
|
}
|
|
@@ -5340,8 +5340,8 @@ const Is = (e) => {
|
|
|
5340
5340
|
as: "div",
|
|
5341
5341
|
size: "sm",
|
|
5342
5342
|
className: u(
|
|
5343
|
-
|
|
5344
|
-
e &&
|
|
5343
|
+
re[`${oe}__label-adornment`],
|
|
5344
|
+
e && re[`${oe}__label-adornment--inline`]
|
|
5345
5345
|
),
|
|
5346
5346
|
children: _
|
|
5347
5347
|
}
|
|
@@ -5354,20 +5354,20 @@ const Is = (e) => {
|
|
|
5354
5354
|
{
|
|
5355
5355
|
as: "div",
|
|
5356
5356
|
size: "sm",
|
|
5357
|
-
className: u(
|
|
5357
|
+
className: u(re[`${oe}__label-right-node`]),
|
|
5358
5358
|
children: d
|
|
5359
5359
|
}
|
|
5360
5360
|
)
|
|
5361
5361
|
]
|
|
5362
5362
|
}
|
|
5363
5363
|
),
|
|
5364
|
-
/* @__PURE__ */ f("div", { className: u(
|
|
5364
|
+
/* @__PURE__ */ f("div", { className: u(re[`${oe}__content`]), children: [
|
|
5365
5365
|
/* @__PURE__ */ t("div", { ref: c, children: l }),
|
|
5366
|
-
a && /* @__PURE__ */ t(
|
|
5366
|
+
a && /* @__PURE__ */ t(qr, { children: a }),
|
|
5367
5367
|
!a && r && /* @__PURE__ */ t(
|
|
5368
5368
|
ur,
|
|
5369
5369
|
{
|
|
5370
|
-
className: u(
|
|
5370
|
+
className: u(re[`${oe}__content__description`]),
|
|
5371
5371
|
children: r
|
|
5372
5372
|
}
|
|
5373
5373
|
)
|
|
@@ -5454,11 +5454,11 @@ const Is = (e) => {
|
|
|
5454
5454
|
]
|
|
5455
5455
|
}
|
|
5456
5456
|
);
|
|
5457
|
-
},
|
|
5457
|
+
}, $o = {
|
|
5458
5458
|
available: 1,
|
|
5459
5459
|
unavailable: 2,
|
|
5460
5460
|
unknown: 3
|
|
5461
|
-
}, Nl = (e) => [...e].sort((a, r) =>
|
|
5461
|
+
}, Nl = (e) => [...e].sort((a, r) => $o[a.status] - $o[r.status]), Te = {
|
|
5462
5462
|
"invite-agents": "lc-InviteAgents-module__invite-agents___XHov-",
|
|
5463
5463
|
"invite-agents--empty": "lc-InviteAgents-module__invite-agents--empty___-uyZv",
|
|
5464
5464
|
"invite-agents--only-unavailable": "lc-InviteAgents-module__invite-agents--only-unavailable___rwGmo",
|
|
@@ -5669,10 +5669,10 @@ const Is = (e) => {
|
|
|
5669
5669
|
]
|
|
5670
5670
|
})
|
|
5671
5671
|
);
|
|
5672
|
-
}, Ms = g_(Sl), Bl = "lc-Link-module__link___35Vo1",
|
|
5672
|
+
}, Ms = g_(Sl), Bl = "lc-Link-module__link___35Vo1", No = {
|
|
5673
5673
|
link: Bl,
|
|
5674
5674
|
"link--bold": "lc-Link-module__link--bold___9Uq3Z"
|
|
5675
|
-
},
|
|
5675
|
+
}, xo = "link", Os = (o) => {
|
|
5676
5676
|
var _ = o, {
|
|
5677
5677
|
bold: e = !1,
|
|
5678
5678
|
className: a = ""
|
|
@@ -5684,8 +5684,8 @@ const Is = (e) => {
|
|
|
5684
5684
|
"a",
|
|
5685
5685
|
k({
|
|
5686
5686
|
className: u(
|
|
5687
|
-
|
|
5688
|
-
e &&
|
|
5687
|
+
No[xo],
|
|
5688
|
+
e && No[`${xo}--bold`],
|
|
5689
5689
|
a
|
|
5690
5690
|
)
|
|
5691
5691
|
}, r)
|
|
@@ -5760,7 +5760,7 @@ const Is = (e) => {
|
|
|
5760
5760
|
)
|
|
5761
5761
|
}
|
|
5762
5762
|
);
|
|
5763
|
-
},
|
|
5763
|
+
}, So = ({
|
|
5764
5764
|
labelType: e,
|
|
5765
5765
|
customColor: a,
|
|
5766
5766
|
onClick: r
|
|
@@ -5821,7 +5821,7 @@ const Is = (e) => {
|
|
|
5821
5821
|
}
|
|
5822
5822
|
),
|
|
5823
5823
|
/* @__PURE__ */ t(
|
|
5824
|
-
|
|
5824
|
+
So,
|
|
5825
5825
|
{
|
|
5826
5826
|
labelType: !!o,
|
|
5827
5827
|
customColor: "var(--color-white)",
|
|
@@ -5845,7 +5845,7 @@ const Is = (e) => {
|
|
|
5845
5845
|
children: r
|
|
5846
5846
|
}
|
|
5847
5847
|
),
|
|
5848
|
-
/* @__PURE__ */ t(
|
|
5848
|
+
/* @__PURE__ */ t(So, { onClick: v })
|
|
5849
5849
|
]
|
|
5850
5850
|
}
|
|
5851
5851
|
),
|
|
@@ -5876,7 +5876,7 @@ const Is = (e) => {
|
|
|
5876
5876
|
}, [r]), tt(() => {
|
|
5877
5877
|
const n = _.current;
|
|
5878
5878
|
a && (n.className = a), o && (n.style.zIndex = `${o}`);
|
|
5879
|
-
}, [a, o]), q_(/* @__PURE__ */ t(
|
|
5879
|
+
}, [a, o]), q_(/* @__PURE__ */ t(ne, { children: e }), _.current);
|
|
5880
5880
|
}, ma = {
|
|
5881
5881
|
"modal-header": "lc-ModalHeader-module__modal-header___YwkiN",
|
|
5882
5882
|
"modal-header__heading-left-node": "lc-ModalHeader-module__modal-header__heading-left-node___SZBRX",
|
|
@@ -6018,7 +6018,7 @@ const Is = (e) => {
|
|
|
6018
6018
|
max: o
|
|
6019
6019
|
})
|
|
6020
6020
|
),
|
|
6021
|
-
!i && /* @__PURE__ */ f(
|
|
6021
|
+
!i && /* @__PURE__ */ f(ne, { children: [
|
|
6022
6022
|
/* @__PURE__ */ t(
|
|
6023
6023
|
"button",
|
|
6024
6024
|
{
|
|
@@ -6249,7 +6249,7 @@ const Is = (e) => {
|
|
|
6249
6249
|
height: !s || m ? h : C
|
|
6250
6250
|
},
|
|
6251
6251
|
children: [
|
|
6252
|
-
m && /* @__PURE__ */ f(
|
|
6252
|
+
m && /* @__PURE__ */ f(ne, { children: [
|
|
6253
6253
|
/* @__PURE__ */ f("div", { className: ee[`${te}__column`], children: [
|
|
6254
6254
|
/* @__PURE__ */ f("div", { className: ee[`${te}__header`], children: [
|
|
6255
6255
|
o && /* @__PURE__ */ t(
|
|
@@ -6303,7 +6303,7 @@ const Is = (e) => {
|
|
|
6303
6303
|
}
|
|
6304
6304
|
)
|
|
6305
6305
|
] }),
|
|
6306
|
-
!m && /* @__PURE__ */ t(
|
|
6306
|
+
!m && /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ f("div", { className: ee[`${te}__complete`], children: [
|
|
6307
6307
|
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
6308
6308
|
P,
|
|
6309
6309
|
{
|
|
@@ -6388,7 +6388,7 @@ const Is = (e) => {
|
|
|
6388
6388
|
T,
|
|
6389
6389
|
D,
|
|
6390
6390
|
z
|
|
6391
|
-
]), H = u(Ml.popover, _), K = /* @__PURE__ */ f(
|
|
6391
|
+
]), H = u(Ml.popover, _), K = /* @__PURE__ */ f(ne, { children: [
|
|
6392
6392
|
/* @__PURE__ */ t(
|
|
6393
6393
|
"div",
|
|
6394
6394
|
E(k({
|
|
@@ -6441,7 +6441,7 @@ const Is = (e) => {
|
|
|
6441
6441
|
[Re["product-tile-wrapper__animated"]]: l
|
|
6442
6442
|
}),
|
|
6443
6443
|
children: [
|
|
6444
|
-
l && /* @__PURE__ */ f(
|
|
6444
|
+
l && /* @__PURE__ */ f(ne, { children: [
|
|
6445
6445
|
/* @__PURE__ */ t(
|
|
6446
6446
|
"div",
|
|
6447
6447
|
{
|
|
@@ -6523,7 +6523,7 @@ const Is = (e) => {
|
|
|
6523
6523
|
onClick: v,
|
|
6524
6524
|
isActive: h = !1,
|
|
6525
6525
|
isDarkMode: b
|
|
6526
|
-
}) => /* @__PURE__ */ f(
|
|
6526
|
+
}) => /* @__PURE__ */ f(ne, { children: [
|
|
6527
6527
|
d && /* @__PURE__ */ t("div", { className: We[`${Ke}__divider`] }),
|
|
6528
6528
|
/* @__PURE__ */ f(
|
|
6529
6529
|
"a",
|
|
@@ -6654,7 +6654,7 @@ const Is = (e) => {
|
|
|
6654
6654
|
}, ie = e.reduce(
|
|
6655
6655
|
(H, K) => H + (K.notificationCount || 0),
|
|
6656
6656
|
0
|
|
6657
|
-
), V = /* @__PURE__ */ f(
|
|
6657
|
+
), V = /* @__PURE__ */ f(ne, { children: [
|
|
6658
6658
|
/* @__PURE__ */ t("div", E(k({ ref: N.setReference }, G()), { children: /* @__PURE__ */ t(
|
|
6659
6659
|
Ut,
|
|
6660
6660
|
{
|
|
@@ -6931,7 +6931,7 @@ const Is = (e) => {
|
|
|
6931
6931
|
"chatbot",
|
|
6932
6932
|
"helpdesk",
|
|
6933
6933
|
"accounts"
|
|
6934
|
-
],
|
|
6934
|
+
], jr = {
|
|
6935
6935
|
livechat: "LiveChat",
|
|
6936
6936
|
helpdesk: "HelpDesk",
|
|
6937
6937
|
accounts: "Accounts",
|
|
@@ -6950,11 +6950,11 @@ const Is = (e) => {
|
|
|
6950
6950
|
const a = new Date(e), r = /* @__PURE__ */ new Date();
|
|
6951
6951
|
return J_(a) ? 0 : Kr(a, r);
|
|
6952
6952
|
}, Kl = (e, a) => zl.includes(e) || a.some(
|
|
6953
|
-
(r) => r.product ===
|
|
6953
|
+
(r) => r.product === jr[e]
|
|
6954
6954
|
), Yl = (e, a, r, o, _, n) => {
|
|
6955
6955
|
var l, d, c, s, g;
|
|
6956
6956
|
const i = a.find(
|
|
6957
|
-
(m) => m.product ===
|
|
6957
|
+
(m) => m.product === jr[e.id]
|
|
6958
6958
|
);
|
|
6959
6959
|
if (!i)
|
|
6960
6960
|
throw new Error(`Product data for ${e.id} not found`);
|
|
@@ -6982,7 +6982,7 @@ const Is = (e) => {
|
|
|
6982
6982
|
}
|
|
6983
6983
|
}, Xl = (e, a) => {
|
|
6984
6984
|
const o = o_(e).find(
|
|
6985
|
-
(_) => _.product ===
|
|
6985
|
+
(_) => _.product === jr[a]
|
|
6986
6986
|
);
|
|
6987
6987
|
return o == null ? void 0 : o.redirectUri.replace("https://", "");
|
|
6988
6988
|
}, Ys = ({
|
|
@@ -7174,7 +7174,7 @@ const va = {
|
|
|
7174
7174
|
e
|
|
7175
7175
|
);
|
|
7176
7176
|
p.useEffect(() => {
|
|
7177
|
-
const b = () => s.current && s.current.offsetWidth <= ec ? m("small") : s.current && s.current.offsetWidth >= tc ? m("large") : m("medium"), y =
|
|
7177
|
+
const b = () => s.current && s.current.offsetWidth <= ec ? m("small") : s.current && s.current.offsetWidth >= tc ? m("large") : m("medium"), y = Fo(
|
|
7178
7178
|
b,
|
|
7179
7179
|
ac
|
|
7180
7180
|
);
|
|
@@ -7359,7 +7359,7 @@ const va = {
|
|
|
7359
7359
|
"search-input__loader": "lc-SearchInput-module__search-input__loader___9veIC",
|
|
7360
7360
|
"search-input__input-wrapper": "lc-SearchInput-module__search-input__input-wrapper___9NT39",
|
|
7361
7361
|
"search-input__input-wrapper--crop": "lc-SearchInput-module__search-input__input-wrapper--crop___JA7J1"
|
|
7362
|
-
}, it = "search-input",
|
|
7362
|
+
}, it = "search-input", Bo = `${it}__input-wrapper`, rc = p.forwardRef(
|
|
7363
7363
|
(g, s) => {
|
|
7364
7364
|
var m = g, {
|
|
7365
7365
|
isCollapsable: e,
|
|
@@ -7432,8 +7432,8 @@ const va = {
|
|
|
7432
7432
|
{
|
|
7433
7433
|
as: "div",
|
|
7434
7434
|
className: u(
|
|
7435
|
-
Ze[
|
|
7436
|
-
l && Ze[`${
|
|
7435
|
+
Ze[Bo],
|
|
7436
|
+
l && Ze[`${Bo}--crop`]
|
|
7437
7437
|
),
|
|
7438
7438
|
children: /* @__PURE__ */ t(
|
|
7439
7439
|
"input",
|
|
@@ -7464,7 +7464,7 @@ const va = {
|
|
|
7464
7464
|
size: "compact"
|
|
7465
7465
|
}
|
|
7466
7466
|
),
|
|
7467
|
-
r && /* @__PURE__ */ t("div", { className: Ze[`${it}__loader`], children: /* @__PURE__ */ t(
|
|
7467
|
+
r && /* @__PURE__ */ t("div", { className: Ze[`${it}__loader`], children: /* @__PURE__ */ t(Zr, { size: "small" }) })
|
|
7468
7468
|
]
|
|
7469
7469
|
}
|
|
7470
7470
|
);
|
|
@@ -7480,7 +7480,7 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7480
7480
|
loading: oc,
|
|
7481
7481
|
"skeleton-text": "lc-Skeleton-module__skeleton-text___WnwUw",
|
|
7482
7482
|
"skeleton-text--animated": "lc-Skeleton-module__skeleton-text--animated___Bnr3Z"
|
|
7483
|
-
},
|
|
7483
|
+
}, Eo = "skeleton-wrapper", js = (_) => {
|
|
7484
7484
|
var n = _, { children: e, vertical: a, animated: r } = n, o = F(n, ["children", "vertical", "animated"]);
|
|
7485
7485
|
const i = p.Children.map(e, (l) => p.isValidElement(l) ? p.cloneElement(l, {
|
|
7486
7486
|
animated: r
|
|
@@ -7488,8 +7488,8 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7488
7488
|
return /* @__PURE__ */ t(
|
|
7489
7489
|
"div",
|
|
7490
7490
|
E(k({
|
|
7491
|
-
className: u(Lt[`${
|
|
7492
|
-
[Lt[`${
|
|
7491
|
+
className: u(Lt[`${Eo}`], {
|
|
7492
|
+
[Lt[`${Eo}--vertical`]]: a
|
|
7493
7493
|
})
|
|
7494
7494
|
}, o), {
|
|
7495
7495
|
children: i
|
|
@@ -7511,15 +7511,15 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7511
7511
|
height: a
|
|
7512
7512
|
}
|
|
7513
7513
|
}
|
|
7514
|
-
),
|
|
7514
|
+
), Io = "skeleton-text", Js = ({
|
|
7515
7515
|
height: e = 13,
|
|
7516
7516
|
width: a,
|
|
7517
7517
|
animated: r
|
|
7518
7518
|
}) => /* @__PURE__ */ t(
|
|
7519
7519
|
"div",
|
|
7520
7520
|
{
|
|
7521
|
-
className: u(Lt[`${
|
|
7522
|
-
[Lt[`${
|
|
7521
|
+
className: u(Lt[`${Io}`], {
|
|
7522
|
+
[Lt[`${Io}--animated`]]: r
|
|
7523
7523
|
}),
|
|
7524
7524
|
style: {
|
|
7525
7525
|
height: e,
|
|
@@ -7588,12 +7588,12 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7588
7588
|
"switch__loader--medium": "lc-Switch-module__switch__loader--medium___XpfaO",
|
|
7589
7589
|
"switch__loader--large": "lc-Switch-module__switch__loader--large___NDgeg",
|
|
7590
7590
|
switch__icon: sc
|
|
7591
|
-
},
|
|
7591
|
+
}, _e = "switch", td = (g) => {
|
|
7592
7592
|
var m = g, {
|
|
7593
7593
|
className: e = "",
|
|
7594
7594
|
defaultOn: a = !1,
|
|
7595
7595
|
disabled: r = !1,
|
|
7596
|
-
name: o =
|
|
7596
|
+
name: o = _e,
|
|
7597
7597
|
on: _,
|
|
7598
7598
|
onChange: n,
|
|
7599
7599
|
size: i = "large",
|
|
@@ -7615,10 +7615,10 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7615
7615
|
const v = _ !== void 0, [h, b] = p.useState(
|
|
7616
7616
|
() => v ? _ : a
|
|
7617
7617
|
), [y, C] = p.useState(!1), N = v ? _ : h, B = l === "loading", $ = l === "locked", S = i === "large" ? "small" : "xsmall", w = N ? "on" : "off", x = r || B || $, I = x ? "disabled" : "enabled", R = u(
|
|
7618
|
-
le[
|
|
7619
|
-
le[`${
|
|
7618
|
+
le[_e],
|
|
7619
|
+
le[`${_e}--${i}`],
|
|
7620
7620
|
{
|
|
7621
|
-
[le[`${
|
|
7621
|
+
[le[`${_e}--focused`]]: y
|
|
7622
7622
|
},
|
|
7623
7623
|
e
|
|
7624
7624
|
), G = (T) => {
|
|
@@ -7630,8 +7630,8 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7630
7630
|
E(k({
|
|
7631
7631
|
type: "checkbox",
|
|
7632
7632
|
className: u(
|
|
7633
|
-
le[`${
|
|
7634
|
-
le[`${
|
|
7633
|
+
le[`${_e}__input`],
|
|
7634
|
+
le[`${_e}__input--${I}`]
|
|
7635
7635
|
),
|
|
7636
7636
|
onChange: G,
|
|
7637
7637
|
checked: N,
|
|
@@ -7647,17 +7647,17 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7647
7647
|
/* @__PURE__ */ f(
|
|
7648
7648
|
"span",
|
|
7649
7649
|
{
|
|
7650
|
-
className: u(le[`${
|
|
7651
|
-
[le[`${
|
|
7650
|
+
className: u(le[`${_e}__container`], {
|
|
7651
|
+
[le[`${_e}__container--focused`]]: y
|
|
7652
7652
|
}),
|
|
7653
7653
|
children: [
|
|
7654
7654
|
/* @__PURE__ */ t(
|
|
7655
7655
|
"span",
|
|
7656
7656
|
{
|
|
7657
7657
|
className: u(
|
|
7658
|
-
le[`${
|
|
7659
|
-
le[`${
|
|
7660
|
-
le[`${
|
|
7658
|
+
le[`${_e}__track`],
|
|
7659
|
+
le[`${_e}__track--${w}`],
|
|
7660
|
+
le[`${_e}__track--${I}`]
|
|
7661
7661
|
)
|
|
7662
7662
|
}
|
|
7663
7663
|
),
|
|
@@ -7665,26 +7665,26 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7665
7665
|
"span",
|
|
7666
7666
|
{
|
|
7667
7667
|
className: u(
|
|
7668
|
-
le[`${
|
|
7669
|
-
le[`${
|
|
7670
|
-
le[`${
|
|
7671
|
-
le[`${
|
|
7668
|
+
le[`${_e}__slider`],
|
|
7669
|
+
le[`${_e}__slider--${I}`],
|
|
7670
|
+
le[`${_e}__slider--${i}`],
|
|
7671
|
+
le[`${_e}__slider--${i}--${w}`]
|
|
7672
7672
|
),
|
|
7673
7673
|
children: [
|
|
7674
7674
|
B && /* @__PURE__ */ t(
|
|
7675
|
-
|
|
7675
|
+
Zr,
|
|
7676
7676
|
{
|
|
7677
7677
|
"data-testid": "switch-loader",
|
|
7678
7678
|
className: u(
|
|
7679
|
-
le[`${
|
|
7680
|
-
le[`${
|
|
7679
|
+
le[`${_e}__loader`],
|
|
7680
|
+
le[`${_e}__loader--${i}`]
|
|
7681
7681
|
)
|
|
7682
7682
|
}
|
|
7683
7683
|
),
|
|
7684
7684
|
$ && /* @__PURE__ */ t(
|
|
7685
7685
|
P,
|
|
7686
7686
|
{
|
|
7687
|
-
className: le[`${
|
|
7687
|
+
className: le[`${_e}__icon`],
|
|
7688
7688
|
"data-testid": "lock-icon",
|
|
7689
7689
|
size: S,
|
|
7690
7690
|
source: R_,
|
|
@@ -7794,7 +7794,7 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7794
7794
|
onPaste: (h) => {
|
|
7795
7795
|
h.preventDefault();
|
|
7796
7796
|
const b = h.clipboardData.getData("text/plain");
|
|
7797
|
-
document.execCommand("insertHTML", !1,
|
|
7797
|
+
document.execCommand("insertHTML", !1, ao(b));
|
|
7798
7798
|
},
|
|
7799
7799
|
onBlur: () => {
|
|
7800
7800
|
const h = d();
|
|
@@ -7813,10 +7813,10 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7813
7813
|
}
|
|
7814
7814
|
h.key === ke.backspace && c() === "" && (l(!0), _(), s());
|
|
7815
7815
|
},
|
|
7816
|
-
dangerouslySetInnerHTML: { __html:
|
|
7816
|
+
dangerouslySetInnerHTML: { __html: ao(n) }
|
|
7817
7817
|
}
|
|
7818
7818
|
);
|
|
7819
|
-
}, bc = "tag-input__tag",
|
|
7819
|
+
}, bc = "tag-input__tag", To = ({
|
|
7820
7820
|
children: e,
|
|
7821
7821
|
index: a,
|
|
7822
7822
|
remove: r,
|
|
@@ -7909,7 +7909,7 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7909
7909
|
const z = T.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
|
|
7910
7910
|
r([...a || [], ...z]);
|
|
7911
7911
|
}, G = (T, D) => typeof T == "string" ? /* @__PURE__ */ t(
|
|
7912
|
-
|
|
7912
|
+
To,
|
|
7913
7913
|
{
|
|
7914
7914
|
index: D,
|
|
7915
7915
|
update: I,
|
|
@@ -7921,7 +7921,7 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7921
7921
|
},
|
|
7922
7922
|
`${D}${T}`
|
|
7923
7923
|
) : /* @__PURE__ */ t(
|
|
7924
|
-
|
|
7924
|
+
To,
|
|
7925
7925
|
{
|
|
7926
7926
|
index: D,
|
|
7927
7927
|
update: I,
|
|
@@ -7934,7 +7934,7 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7934
7934
|
},
|
|
7935
7935
|
`${D}${T.children}`
|
|
7936
7936
|
);
|
|
7937
|
-
return /* @__PURE__ */ f(
|
|
7937
|
+
return /* @__PURE__ */ f(ne, { children: [
|
|
7938
7938
|
/* @__PURE__ */ f(A, { as: "div", className: h, children: [
|
|
7939
7939
|
a == null ? void 0 : a.map(G),
|
|
7940
7940
|
/* @__PURE__ */ t(
|
|
@@ -7952,7 +7952,7 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7952
7952
|
})
|
|
7953
7953
|
)
|
|
7954
7954
|
] }),
|
|
7955
|
-
_ && /* @__PURE__ */ t(
|
|
7955
|
+
_ && /* @__PURE__ */ t(qr, { children: _ })
|
|
7956
7956
|
] });
|
|
7957
7957
|
}, wc = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i, Cc = "name@company.com", $c = (e) => wc.test(e), _d = (r) => {
|
|
7958
7958
|
var o = r, {
|
|
@@ -7996,10 +7996,10 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
7996
7996
|
source: Hr
|
|
7997
7997
|
},
|
|
7998
7998
|
warning: {
|
|
7999
|
-
source:
|
|
7999
|
+
source: Ao
|
|
8000
8000
|
},
|
|
8001
8001
|
error: {
|
|
8002
|
-
source:
|
|
8002
|
+
source: Do
|
|
8003
8003
|
},
|
|
8004
8004
|
info: {
|
|
8005
8005
|
source: Na
|
|
@@ -8072,8 +8072,8 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
8072
8072
|
},
|
|
8073
8073
|
e
|
|
8074
8074
|
);
|
|
8075
|
-
return /* @__PURE__ */ t("div", { className: l, children: /* @__PURE__ */ t(
|
|
8076
|
-
|
|
8075
|
+
return /* @__PURE__ */ t("div", { className: l, children: /* @__PURE__ */ t(Ro, { component: null, children: a.map(({ id: d, kind: c, content: s, removable: g, action: m, onClose: v }) => /* @__PURE__ */ t(
|
|
8076
|
+
Mo,
|
|
8077
8077
|
{
|
|
8078
8078
|
classNames: {
|
|
8079
8079
|
enter: ce[`toast-appear--${_}`],
|
|
@@ -8339,8 +8339,8 @@ const oc = "lc-Skeleton-module__loading___fc1WK", Lt = {
|
|
|
8339
8339
|
] })
|
|
8340
8340
|
}
|
|
8341
8341
|
),
|
|
8342
|
-
/* @__PURE__ */ t(
|
|
8343
|
-
|
|
8342
|
+
/* @__PURE__ */ t(Ro, { component: null, children: m && /* @__PURE__ */ t(
|
|
8343
|
+
Mo,
|
|
8344
8344
|
{
|
|
8345
8345
|
timeout: Rc,
|
|
8346
8346
|
classNames: {
|
|
@@ -8386,7 +8386,7 @@ export {
|
|
|
8386
8386
|
_d as EmailTagInput,
|
|
8387
8387
|
$s as ExpirationCounter,
|
|
8388
8388
|
ur as FieldDescription,
|
|
8389
|
-
|
|
8389
|
+
qr as FieldError,
|
|
8390
8390
|
Ds as FieldGroup,
|
|
8391
8391
|
Fc as FileUploadProgress,
|
|
8392
8392
|
Gr as FileUploadProgressActions,
|
|
@@ -8401,11 +8401,11 @@ export {
|
|
|
8401
8401
|
An as Interactive,
|
|
8402
8402
|
Ms as InviteAgents,
|
|
8403
8403
|
Os as Link,
|
|
8404
|
-
|
|
8404
|
+
Zr as Loader,
|
|
8405
8405
|
Ns as MobileNavigation,
|
|
8406
8406
|
Ls as Modal,
|
|
8407
8407
|
Dl as ModalBase,
|
|
8408
|
-
|
|
8408
|
+
So as ModalCloseButton,
|
|
8409
8409
|
Us as ModalHeader,
|
|
8410
8410
|
Gs as ModalPortal,
|
|
8411
8411
|
Cs as Navigation,
|
|
@@ -8466,7 +8466,7 @@ export {
|
|
|
8466
8466
|
Gi as generateAvatarColor,
|
|
8467
8467
|
ls as getDesignTokenWithOpacity,
|
|
8468
8468
|
_s as getThemeClassName,
|
|
8469
|
-
|
|
8469
|
+
Yr as useAppFrame,
|
|
8470
8470
|
Ys as useProductSwitcher,
|
|
8471
8471
|
ns as useTheme
|
|
8472
8472
|
};
|