@reportportal/ui-kit 0.0.1-alpha.16 → 0.0.1-alpha.18

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.
@@ -18,6 +18,7 @@ interface DropdownProps {
18
18
  onFocus?: () => void;
19
19
  onBlur?: () => void;
20
20
  renderOption?: RenderDropdownOption;
21
+ isListWidthLimited?: boolean;
21
22
  }
22
23
  export declare const Dropdown: FC<DropdownProps>;
23
24
  export {};
@@ -12,3 +12,4 @@ export { default as ArrowUpIcon } from './svg/arrowUp.svg';
12
12
  export { default as MeatballMenuIcon } from './svg/meatballMenu.svg';
13
13
  export { default as CalendarArrowIcon } from './svg/calendarArrow.svg';
14
14
  export { default as CalendarIcon } from './svg/calendar.svg';
15
+ export { default as SearchIcon } from './svg/search.svg';
@@ -3,7 +3,8 @@ import { Placement } from '@floating-ui/react-dom';
3
3
  interface TooltipProps {
4
4
  content: ReactNode;
5
5
  children: ReactNode;
6
- className?: string;
6
+ wrapperClassName?: string;
7
+ contentClassName?: string;
7
8
  dynamicWidth?: boolean;
8
9
  width?: number;
9
10
  placement?: Placement;
@@ -0,0 +1,215 @@
1
+ import { jsx as d, jsxs as L } from "react/jsx-runtime";
2
+ import * as R from "react";
3
+ import { forwardRef as B, useState as Y, useRef as ee } from "react";
4
+ import { c as A } from "./bind-06a7ff84.js";
5
+ import { useFloating as te, offset as ne, flip as oe } from "@floating-ui/react-dom";
6
+ import { useSelect as N } from "downshift";
7
+ import { Scrollbars as se } from "rc-scrollbars";
8
+ import { u as ae } from "./useOnClickOutside-c332f7d3.js";
9
+ import { K as h } from "./keyCodes-f63c0e11.js";
10
+ import { B as de } from "./baseIconButton-7bc53dec.js";
11
+ const le = (t) => /* @__PURE__ */ R.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ R.createElement("path", { d: "M14.2174 5.82426C14.3736 5.66805 14.3736 5.41479 14.2174 5.25858L14.0759 5.11716C13.9197 4.96095 13.6665 4.96095 13.5103 5.11716L8.16726 10.4602L2.82426 5.11716C2.66805 4.96095 2.41479 4.96095 2.25858 5.11716L2.11716 5.25858C1.96095 5.41479 1.96095 5.66805 2.11716 5.82426L7.89176 11.5989C8.04797 11.7551 8.30124 11.7551 8.45745 11.5989L8.88171 11.1746L8.87436 11.1673L14.2174 5.82426Z", fill: "#A2AAB5" })), re = "_disabled_f4c9h_11", ie = "_hidden_f4c9h_15", ce = "_selected_f4c9h_21", _e = "_hover_f4c9h_24", he = {
12
+ "dropdown-option": "_dropdown-option_f4c9h_1",
13
+ disabled: re,
14
+ hidden: ie,
15
+ selected: ce,
16
+ hover: _e,
17
+ "single-option": "_single-option_f4c9h_37",
18
+ "sub-option": "_sub-option_f4c9h_45"
19
+ }, P = A.bind(he), fe = B(
20
+ (t, n) => {
21
+ const {
22
+ option: { value: a, disabled: f, hidden: w, label: l, title: o, groupRef: O },
23
+ selected: E,
24
+ onChange: g,
25
+ render: p,
26
+ highlightHovered: b,
27
+ onMouseEnter: m
28
+ } = t, D = () => {
29
+ g && g(a);
30
+ };
31
+ return /* @__PURE__ */ d(
32
+ "div",
33
+ {
34
+ className: P("dropdown-option", {
35
+ selected: E,
36
+ disabled: f,
37
+ hidden: w,
38
+ hover: b
39
+ }),
40
+ title: o,
41
+ onClick: D,
42
+ ref: n,
43
+ onMouseEnter: m,
44
+ children: /* @__PURE__ */ d("div", { className: P("single-option", { "sub-option": !!O }), children: p ? p(t) : l })
45
+ }
46
+ );
47
+ }
48
+ ), pe = [
49
+ h.ENTER_KEY_CODE,
50
+ h.SPACE_KEY_CODE,
51
+ h.ARROW_DOWN_KEY_CODE
52
+ ], ge = [h.ESCAPE_KEY_CODE, h.TAB_KEY_CODE];
53
+ var _ = /* @__PURE__ */ ((t) => (t.ON_KEY_DOWN = "onKeyDown", t.ON_CLICK = "onClick", t))(_ || {});
54
+ const me = (t, n) => t.map(({ value: a }) => a).indexOf(n), ue = (t, n) => (t % n + n) % n, K = (t, n = 0, a = 1) => {
55
+ if (!t[n].disabled)
56
+ return n;
57
+ const f = t.length;
58
+ return K(
59
+ t,
60
+ ue(n + a, f),
61
+ a
62
+ );
63
+ }, ve = (t, n) => K(t, n), Ce = (t, n) => K(t, n, -1), we = "_container_vh03o_1", Oe = "_icon_vh03o_7", Ee = "_arrow_vh03o_13", be = "_dropdown_vh03o_19", De = "_disabled_vh03o_36", Ne = "_value_vh03o_43", Ke = "_error_vh03o_46", ye = "_touched_vh03o_46", xe = "_opened_vh03o_50", Ie = "_placeholder_vh03o_72", ke = "_ghost_vh03o_118", Se = {
64
+ container: we,
65
+ icon: Oe,
66
+ arrow: Ee,
67
+ dropdown: be,
68
+ "transparent-background": "_transparent-background_vh03o_33",
69
+ disabled: De,
70
+ value: Ne,
71
+ error: Ke,
72
+ touched: ye,
73
+ opened: xe,
74
+ placeholder: Ie,
75
+ "mobile-disabled": "_mobile-disabled_vh03o_87",
76
+ "select-list": "_select-list_vh03o_92",
77
+ "limited-width": "_limited-width_vh03o_109",
78
+ "options-container": "_options-container_vh03o_113",
79
+ ghost: ke
80
+ }, i = A.bind(Se), je = ({
81
+ value: t = "",
82
+ options: n = [],
83
+ disabled: a = !1,
84
+ error: f,
85
+ onChange: w,
86
+ onFocus: l,
87
+ onBlur: o,
88
+ mobileDisabled: O,
89
+ title: E,
90
+ touched: g = !1,
91
+ icon: p,
92
+ variant: b,
93
+ placeholder: m = "",
94
+ renderOption: D,
95
+ transparentBackground: T = !1,
96
+ className: W,
97
+ toggleButtonClassName: H,
98
+ isListWidthLimited: M = !1
99
+ }) => {
100
+ const [r, c] = Y(!1), y = ee(null), [$, u] = Y(null), { refs: x, floatingStyles: j } = te({
101
+ middleware: [
102
+ ne(5),
103
+ oe({
104
+ fallbackPlacements: ["bottom", "top"]
105
+ })
106
+ ]
107
+ });
108
+ ae(y, () => {
109
+ r && (c(!1), o == null || o());
110
+ });
111
+ const I = (e) => {
112
+ e.disabled || (w(e.value), c((s) => !s));
113
+ }, V = () => n.find(({ value: e }) => e === t), k = me(n, t), {
114
+ getToggleButtonProps: U,
115
+ getMenuProps: Z,
116
+ getItemProps: q,
117
+ setHighlightedIndex: v,
118
+ highlightedIndex: S,
119
+ selectedItem: C
120
+ } = N({
121
+ items: n,
122
+ itemToString: (e) => (e != null && e.label ? String(e.label) : m) || "",
123
+ selectedItem: V(),
124
+ isOpen: r,
125
+ circularNavigation: !0,
126
+ defaultHighlightedIndex: k,
127
+ onHighlightedIndexChange: (e) => {
128
+ switch (e.type) {
129
+ case N.stateChangeTypes.MenuKeyDownArrowUp:
130
+ return u(_.ON_KEY_DOWN), v(Ce(n, e.highlightedIndex)), e;
131
+ case N.stateChangeTypes.MenuKeyDownArrowDown:
132
+ return u(_.ON_KEY_DOWN), v(ve(n, e.highlightedIndex)), e;
133
+ default:
134
+ return e;
135
+ }
136
+ }
137
+ }), z = () => {
138
+ a || (c((e) => !e), r ? o == null || o() : l == null || l(), u(_.ON_CLICK));
139
+ }, G = () => {
140
+ if (!t && t !== !1 && t !== 0)
141
+ return m;
142
+ let e = t;
143
+ return n.forEach((s) => {
144
+ s.value === t && (e = s.label);
145
+ }), e;
146
+ }, J = (e) => {
147
+ const { keyCode: s } = e;
148
+ pe.includes(s) && !r && (e.preventDefault(), v(k), c(!0), l == null || l(), u(_.ON_KEY_DOWN));
149
+ }, Q = (e) => {
150
+ const { keyCode: s } = e;
151
+ if (s === h.ENTER_KEY_CODE) {
152
+ const F = n[S];
153
+ I(F), c(!1), o == null || o();
154
+ return;
155
+ }
156
+ ge.includes(s) && (e.stopPropagation(), c(!1), o == null || o());
157
+ }, X = () => /* @__PURE__ */ d("div", { className: i("options-container"), children: n.map((e, s) => /* @__PURE__ */ d(
158
+ fe,
159
+ {
160
+ ...q({
161
+ item: e,
162
+ index: s
163
+ }),
164
+ selected: e.value === ((C == null ? void 0 : C.value) ?? C),
165
+ option: { title: e.label, ...e },
166
+ highlightHovered: S === s && $ !== _.ON_CLICK,
167
+ render: D,
168
+ onChange: e.disabled ? null : () => I(e),
169
+ onMouseEnter: () => v(s)
170
+ },
171
+ e.value
172
+ )) });
173
+ return /* @__PURE__ */ L("div", { ref: y, className: i("container", W), title: E, children: [
174
+ /* @__PURE__ */ L(
175
+ "button",
176
+ {
177
+ disabled: a,
178
+ ...U({
179
+ className: i("dropdown", b, H, {
180
+ "transparent-background": T,
181
+ opened: r,
182
+ disabled: a,
183
+ error: f,
184
+ touched: g,
185
+ "mobile-disabled": O
186
+ }),
187
+ onClick: z,
188
+ onKeyDown: J,
189
+ ref: x.setReference
190
+ }),
191
+ children: [
192
+ p && /* @__PURE__ */ d("span", { className: i("icon"), children: p }),
193
+ /* @__PURE__ */ d("span", { className: i("value", { placeholder: !t }), children: G() }),
194
+ /* @__PURE__ */ d(de, { className: i("arrow"), tabIndex: -1, children: /* @__PURE__ */ d(le, {}) })
195
+ ]
196
+ }
197
+ ),
198
+ r && /* @__PURE__ */ d(
199
+ "div",
200
+ {
201
+ style: j,
202
+ className: i("select-list", { opened: r, "limited-width": M }),
203
+ ...Z({
204
+ onKeyDown: Q,
205
+ ref: x.setFloating
206
+ }),
207
+ children: /* @__PURE__ */ d(se, { autoHeight: !0, autoHeightMax: 216, hideTracksWhenNotNeeded: !0, children: X() })
208
+ }
209
+ )
210
+ ] });
211
+ };
212
+ export {
213
+ je as D,
214
+ le as S
215
+ };
package/dist/dropdown.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as r } from "./dropdown-bbfa828e.js";
1
+ import { D as r } from "./dropdown-50124296.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "./bind-06a7ff84.js";
@@ -0,0 +1,102 @@
1
+ import { jsx as t, jsxs as a, Fragment as f } from "react/jsx-runtime";
2
+ import * as o from "react";
3
+ import { forwardRef as R } from "react";
4
+ import { c as j } from "./bind-06a7ff84.js";
5
+ import "./baseIconButton-7bc53dec.js";
6
+ const y = (n) => /* @__PURE__ */ o.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ o.createElement("rect", { width: 16.2089, height: 16.1568, rx: 8.07842, fill: "#A2AAB5" }), /* @__PURE__ */ o.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.14768 5.14645C4.95077 5.34171 4.95077 5.65829 5.14768 5.85355L7.49578 8.18198L5.35655 10.3033C5.15963 10.4986 5.15963 10.8151 5.35655 11.0104C5.55346 11.2057 5.87271 11.2057 6.06962 11.0104L8.20886 8.88909L10.1392 10.8033C10.3361 10.9986 10.6554 10.9986 10.8523 10.8033C11.0492 10.608 11.0492 10.2915 10.8523 10.0962L8.92193 8.18198L11.0612 6.06065C11.2581 5.86539 11.2581 5.54881 11.0612 5.35355C10.8643 5.15828 10.545 5.15828 10.3481 5.35355L8.20886 7.47487L5.86076 5.14645C5.66385 4.95118 5.34459 4.95118 5.14768 5.14645Z", fill: "white" })), B = "_label_4wu1a_18", S = "_asterisk_4wu1a_27", M = "_disabled_4wu1a_33", Z = "_field_4wu1a_38", z = "_error_4wu1a_53", D = "_touched_4wu1a_53", G = "_placeholder_4wu1a_64", H = "_input_4wu1a_71", J = "_icon_4wu1a_1", K = "_text_4wu1a_163", O = {
7
+ "icon-container": "_icon-container_4wu1a_1",
8
+ "icon-container-end": "_icon-container-end_4wu1a_1",
9
+ "icon-container-start": "_icon-container-start_4wu1a_1",
10
+ label: B,
11
+ asterisk: S,
12
+ disabled: M,
13
+ field: Z,
14
+ error: z,
15
+ touched: D,
16
+ placeholder: G,
17
+ "default-width": "_default-width_4wu1a_67",
18
+ "input-container": "_input-container_4wu1a_71",
19
+ input: H,
20
+ icon: J,
21
+ "clear-icon": "_clear-icon_4wu1a_117",
22
+ "additional-content": "_additional-content_4wu1a_156",
23
+ text: K,
24
+ "error-text": "_error-text_4wu1a_171",
25
+ "help-text": "_help-text_4wu1a_175"
26
+ }, e = j.bind(O), V = R(
27
+ ({
28
+ value: n = "",
29
+ className: x,
30
+ error: s,
31
+ placeholder: r,
32
+ disabled: c = !1,
33
+ onChange: N,
34
+ touched: _ = !1,
35
+ title: C,
36
+ label: i,
37
+ helpText: l,
38
+ defaultWidth: g = !0,
39
+ startIcon: d,
40
+ endIcon: h,
41
+ clearable: L = !1,
42
+ onClear: p,
43
+ isRequired: u = !1,
44
+ hasDoubleMessage: k = !1,
45
+ type: v = "text",
46
+ displayError: E = !0,
47
+ ...b
48
+ }, A) => {
49
+ const F = () => {
50
+ p && p(n);
51
+ }, m = E && s && _, w = /* @__PURE__ */ t("span", { className: e("text", "help-text"), children: l });
52
+ return /* @__PURE__ */ a(f, { children: [
53
+ i && /* @__PURE__ */ a("span", { className: e("label", { disabled: c }), children: [
54
+ i,
55
+ u && /* @__PURE__ */ t("span", { className: e("asterisk"), children: "*" })
56
+ ] }),
57
+ /* @__PURE__ */ a(
58
+ "div",
59
+ {
60
+ className: e("field", x, {
61
+ error: s,
62
+ touched: _,
63
+ disabled: c,
64
+ "default-width": g
65
+ }),
66
+ title: C,
67
+ children: [
68
+ d && /* @__PURE__ */ t("span", { className: e("icon-container-start"), children: /* @__PURE__ */ t("span", { className: e("icon"), children: d }) }),
69
+ /* @__PURE__ */ a("span", { className: e("input-container"), children: [
70
+ /* @__PURE__ */ t(
71
+ "input",
72
+ {
73
+ ref: A,
74
+ type: v,
75
+ className: e("input"),
76
+ value: n,
77
+ disabled: c,
78
+ onChange: N,
79
+ ...b
80
+ }
81
+ ),
82
+ r && !n && /* @__PURE__ */ a("span", { className: e("placeholder"), children: [
83
+ r,
84
+ u && !i && /* @__PURE__ */ t("span", { className: e("asterisk") })
85
+ ] })
86
+ ] }),
87
+ h && /* @__PURE__ */ t("span", { className: e("icon-container-end"), children: /* @__PURE__ */ t("span", { className: e("icon"), children: h }) }),
88
+ L && n.length > 0 && /* @__PURE__ */ t("span", { className: e("icon-container-end"), children: /* @__PURE__ */ t("button", { type: "button", className: e("clear-icon", { disabled: c }), onClick: F, children: /* @__PURE__ */ t(y, {}) }) })
89
+ ]
90
+ }
91
+ ),
92
+ (m || l) && /* @__PURE__ */ t("div", { className: e("additional-content", { disabled: c }), children: m ? /* @__PURE__ */ a(f, { children: [
93
+ /* @__PURE__ */ t("span", { className: e("text", "error-text"), children: s }),
94
+ k && w
95
+ ] }) : l && w })
96
+ ] });
97
+ }
98
+ );
99
+ export {
100
+ V as F,
101
+ y as S
102
+ };
package/dist/fieldText.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as o } from "./fieldText-d80b29ba.js";
1
+ import { F as o } from "./fieldText-98cf9984.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "./bind-06a7ff84.js";
package/dist/index.js CHANGED
@@ -1,27 +1,27 @@
1
- import { B as A1 } from "./button-bb309472.js";
2
- import { C as b1 } from "./checkbox-6777be17.js";
3
- import { S as B1 } from "./systemMessage-1ced6079.js";
4
- import { F as Z } from "./fieldText-d80b29ba.js";
5
- import { S as E1 } from "./fieldText-d80b29ba.js";
6
- import { T as S1 } from "./themeProvider-46c2be7b.js";
7
- import { S as j1, M as I1 } from "./index-2a2d261a.js";
8
- import { D as I } from "./dropdown-bbfa828e.js";
9
- import { S as T1 } from "./dropdown-bbfa828e.js";
10
- import { T as P1 } from "./toggle-9284387b.js";
11
- import { F as k1, a as Z1, S as D1 } from "./fieldNumber-46fe79b9.js";
12
- import { B as U1 } from "./bubblesLoader-a7e709d4.js";
13
- import { F as $1 } from "./fieldTextFlex-5bddf46a.js";
14
- import { R as O1 } from "./radio-fd49a09c.js";
15
- import { Tooltip as q1 } from "./tooltip.js";
16
- import { Popover as J1 } from "./popover.js";
17
- import { P as Q1, a as X1, S as ee } from "./pagination-761d3427.js";
18
- import { S as oe, a as re, T as ne } from "./table-83e050dc.js";
19
- import { jsxs as y, Fragment as D, jsx as n } from "react/jsx-runtime";
1
+ import { B as v1 } from "./button-bb309472.js";
2
+ import { C as L1 } from "./checkbox-6777be17.js";
3
+ import { S as M1 } from "./systemMessage-1ced6079.js";
4
+ import { F as Z } from "./fieldText-98cf9984.js";
5
+ import { S as S1 } from "./fieldText-98cf9984.js";
6
+ import { T as I1 } from "./themeProvider-46c2be7b.js";
7
+ import { S as j1, M as F1 } from "./index-2a2d261a.js";
8
+ import { D as j } from "./dropdown-50124296.js";
9
+ import { S as T1 } from "./dropdown-50124296.js";
10
+ import { T as H1 } from "./toggle-9284387b.js";
11
+ import { F as Z1, a as D1, S as V1 } from "./fieldNumber-46fe79b9.js";
12
+ import { B as Y1 } from "./bubblesLoader-a7e709d4.js";
13
+ import { F as G1 } from "./fieldTextFlex-5bddf46a.js";
14
+ import { R as W1 } from "./radio-fd49a09c.js";
15
+ import { Tooltip as z1 } from "./tooltip.js";
16
+ import { Popover as K1 } from "./popover.js";
17
+ import { P as X1, a as ee, S as te } from "./pagination-13887e1c.js";
18
+ import { S as re, a as ne, T as ae } from "./table-83e050dc.js";
19
+ import { jsxs as S, Fragment as D, jsx as n } from "react/jsx-runtime";
20
20
  import V from "react-datepicker";
21
21
  import { c as P } from "./bind-06a7ff84.js";
22
22
  import * as e from "react";
23
23
  import { useMemo as F, useRef as U } from "react";
24
- import { B as le } from "./baseIconButton-7bc53dec.js";
24
+ import { B as se } from "./baseIconButton-7bc53dec.js";
25
25
  import "./keyCodes-f63c0e11.js";
26
26
  import "rc-scrollbars";
27
27
  import "framer-motion";
@@ -29,9 +29,9 @@ import "./useOnClickOutside-c332f7d3.js";
29
29
  import "@floating-ui/react-dom";
30
30
  import "downshift";
31
31
  import "@floating-ui/react";
32
- const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M9.80051 6.3661C9.95672 6.20989 10.21 6.20989 10.3662 6.3661L10.6338 6.63375C10.7901 6.78996 10.7901 7.04323 10.6338 7.19944L8.83331 8.99996L10.6338 10.8005C10.79 10.9567 10.79 11.2099 10.6338 11.3662L10.3662 11.6338C10.21 11.79 9.95669 11.79 9.80048 11.6338L7.99998 9.8333L6.19953 11.6338C6.04332 11.79 5.79005 11.79 5.63384 11.6338L5.36619 11.3661C5.20998 11.2099 5.20998 10.9566 5.36619 10.8004L7.16665 8.99996L5.36617 7.19949C5.20996 7.04328 5.20996 6.79001 5.36617 6.6338L5.63382 6.36615C5.79003 6.20994 6.04329 6.20994 6.1995 6.36615L7.99998 8.16663L9.80051 6.3661Z", fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.99878 3V2C4.99878 1.44772 5.44649 1 5.99878 1H9.99878C10.5511 1 10.9988 1.44772 10.9988 2V3H14.5C14.7761 3 15 3.22386 15 3.5C15 3.77614 14.7761 4 14.5 4H13.4167L12.6146 13.6246C12.5498 14.402 11.8999 15 11.1198 15H4.8802C4.10007 15 3.45017 14.402 3.38538 13.6246L2.58333 4H1.5C1.22386 4 1 3.77614 1 3.5C1 3.22386 1.22386 3 1.5 3H4.99878ZM5.99878 2H9.99878V3H5.99878V2ZM3.5868 4L4.38193 13.5415C4.40352 13.8007 4.62016 14 4.8802 14H11.1198C11.3798 14 11.5965 13.8007 11.6181 13.5415L12.4132 4H3.5868Z", fill: "#A2AAB5" })), w1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 14, height: 3, viewBox: "0 0 14 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.30811 2.47803C1.72868 2.47803 2.05339 2.36206 2.28223 2.13013C2.51107 1.89819 2.62549 1.60596 2.62549 1.25342C2.62549 0.894694 2.51107 0.596273 2.28223 0.358154C2.05339 0.120036 1.72868 0.000976562 1.30811 0.000976562C0.893717 0.000976562 0.572103 0.120036 0.343262 0.358154C0.114421 0.596273 0 0.894694 0 1.25342C0 1.61214 0.117513 1.90592 0.352539 2.13477C0.587565 2.36361 0.906087 2.47803 1.30811 2.47803ZM6.61475 2.47803C7.03532 2.47803 7.36003 2.36206 7.58887 2.13013C7.81771 1.89819 7.93213 1.60596 7.93213 1.25342C7.93213 0.894694 7.81771 0.596273 7.58887 0.358154C7.36003 0.120036 7.03532 0.000976562 6.61475 0.000976562C6.20036 0.000976562 5.87874 0.120036 5.6499 0.358154C5.42106 0.596273 5.30664 0.894694 5.30664 1.25342C5.30664 1.61214 5.42415 1.90592 5.65918 2.13477C5.89421 2.36361 6.21273 2.47803 6.61475 2.47803ZM12.8955 2.13013C12.6667 2.36206 12.342 2.47803 11.9214 2.47803C11.5194 2.47803 11.2008 2.36361 10.9658 2.13477C10.7308 1.90592 10.6133 1.61214 10.6133 1.25342C10.6133 0.894694 10.7277 0.596273 10.9565 0.358154C11.1854 0.120036 11.507 0.000976562 11.9214 0.000976562C12.342 0.000976562 12.6667 0.120036 12.8955 0.358154C13.1243 0.596273 13.2388 0.894694 13.2388 1.25342C13.2388 1.60596 13.1243 1.89819 12.8955 2.13013Z", fill: "#A2AAB5" })), T = (t) => /* @__PURE__ */ e.createElement("svg", { width: 8, height: 13, viewBox: "0 0 8 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.54134 12.2173C6.69755 12.3735 6.95081 12.3735 7.10702 12.2173L7.24844 12.0759C7.40465 11.9197 7.40465 11.6664 7.24844 11.5102L1.90539 6.16715L7.24844 0.824097C7.40465 0.667887 7.40465 0.41462 7.24844 0.258411L7.10702 0.116989C6.95081 -0.0392199 6.69755 -0.0392199 6.54134 0.116989L0.998591 5.65973L0.999562 5.6607L0.767094 5.89317C0.610884 6.04938 0.610884 6.30265 0.767093 6.45886L1.48425 7.17602L1.49215 7.16813L6.54134 12.2173Z", fill: "#C1C7D0" })), Y = (t) => /* @__PURE__ */ e.createElement("svg", { width: 14, height: 15, viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("rect", { x: 0.5, y: 1.5, width: 13, height: 13, rx: 1.5, stroke: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 9, width: 1, height: 3.00067, rx: 0.5, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 4, width: 1, height: 3.00067, rx: 0.5, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 14, y: 4, width: 1, height: 14, transform: "rotate(90 14 4)", fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 3, y: 10, width: 2, height: 2, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 6, y: 10, width: 2, height: 2, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 6, y: 7, width: 2, height: 2, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 3, y: 7, width: 2, height: 2, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 9, y: 7, width: 2, height: 2, fill: "#A2AAB5" })), $ = (t, c = 20) => {
32
+ const u1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M9.80051 6.3661C9.95672 6.20989 10.21 6.20989 10.3662 6.3661L10.6338 6.63375C10.7901 6.78996 10.7901 7.04323 10.6338 7.19944L8.83331 8.99996L10.6338 10.8005C10.79 10.9567 10.79 11.2099 10.6338 11.3662L10.3662 11.6338C10.21 11.79 9.95669 11.79 9.80048 11.6338L7.99998 9.8333L6.19953 11.6338C6.04332 11.79 5.79005 11.79 5.63384 11.6338L5.36619 11.3661C5.20998 11.2099 5.20998 10.9566 5.36619 10.8004L7.16665 8.99996L5.36617 7.19949C5.20996 7.04328 5.20996 6.79001 5.36617 6.6338L5.63382 6.36615C5.79003 6.20994 6.04329 6.20994 6.1995 6.36615L7.99998 8.16663L9.80051 6.3661Z", fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.99878 3V2C4.99878 1.44772 5.44649 1 5.99878 1H9.99878C10.5511 1 10.9988 1.44772 10.9988 2V3H14.5C14.7761 3 15 3.22386 15 3.5C15 3.77614 14.7761 4 14.5 4H13.4167L12.6146 13.6246C12.5498 14.402 11.8999 15 11.1198 15H4.8802C4.10007 15 3.45017 14.402 3.38538 13.6246L2.58333 4H1.5C1.22386 4 1 3.77614 1 3.5C1 3.22386 1.22386 3 1.5 3H4.99878ZM5.99878 2H9.99878V3H5.99878V2ZM3.5868 4L4.38193 13.5415C4.40352 13.8007 4.62016 14 4.8802 14H11.1198C11.3798 14 11.5965 13.8007 11.6181 13.5415L12.4132 4H3.5868Z", fill: "#A2AAB5" })), w1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 14, height: 3, viewBox: "0 0 14 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.30811 2.47803C1.72868 2.47803 2.05339 2.36206 2.28223 2.13013C2.51107 1.89819 2.62549 1.60596 2.62549 1.25342C2.62549 0.894694 2.51107 0.596273 2.28223 0.358154C2.05339 0.120036 1.72868 0.000976562 1.30811 0.000976562C0.893717 0.000976562 0.572103 0.120036 0.343262 0.358154C0.114421 0.596273 0 0.894694 0 1.25342C0 1.61214 0.117513 1.90592 0.352539 2.13477C0.587565 2.36361 0.906087 2.47803 1.30811 2.47803ZM6.61475 2.47803C7.03532 2.47803 7.36003 2.36206 7.58887 2.13013C7.81771 1.89819 7.93213 1.60596 7.93213 1.25342C7.93213 0.894694 7.81771 0.596273 7.58887 0.358154C7.36003 0.120036 7.03532 0.000976562 6.61475 0.000976562C6.20036 0.000976562 5.87874 0.120036 5.6499 0.358154C5.42106 0.596273 5.30664 0.894694 5.30664 1.25342C5.30664 1.61214 5.42415 1.90592 5.65918 2.13477C5.89421 2.36361 6.21273 2.47803 6.61475 2.47803ZM12.8955 2.13013C12.6667 2.36206 12.342 2.47803 11.9214 2.47803C11.5194 2.47803 11.2008 2.36361 10.9658 2.13477C10.7308 1.90592 10.6133 1.61214 10.6133 1.25342C10.6133 0.894694 10.7277 0.596273 10.9565 0.358154C11.1854 0.120036 11.507 0.000976562 11.9214 0.000976562C12.342 0.000976562 12.6667 0.120036 12.8955 0.358154C13.1243 0.596273 13.2388 0.894694 13.2388 1.25342C13.2388 1.60596 13.1243 1.89819 12.8955 2.13013Z", fill: "#A2AAB5" })), R = (t) => /* @__PURE__ */ e.createElement("svg", { width: 8, height: 13, viewBox: "0 0 8 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.54134 12.2173C6.69755 12.3735 6.95081 12.3735 7.10702 12.2173L7.24844 12.0759C7.40465 11.9197 7.40465 11.6664 7.24844 11.5102L1.90539 6.16715L7.24844 0.824097C7.40465 0.667887 7.40465 0.41462 7.24844 0.258411L7.10702 0.116989C6.95081 -0.0392199 6.69755 -0.0392199 6.54134 0.116989L0.998591 5.65973L0.999562 5.6607L0.767094 5.89317C0.610884 6.04938 0.610884 6.30265 0.767093 6.45886L1.48425 7.17602L1.49215 7.16813L6.54134 12.2173Z", fill: "#C1C7D0" })), Y = (t) => /* @__PURE__ */ e.createElement("svg", { width: 14, height: 15, viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("rect", { x: 0.5, y: 1.5, width: 13, height: 13, rx: 1.5, stroke: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 9, width: 1, height: 3.00067, rx: 0.5, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 4, width: 1, height: 3.00067, rx: 0.5, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 14, y: 4, width: 1, height: 14, transform: "rotate(90 14 4)", fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 3, y: 10, width: 2, height: 2, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 6, y: 10, width: 2, height: 2, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 6, y: 7, width: 2, height: 2, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 3, y: 7, width: 2, height: 2, fill: "#A2AAB5" }), /* @__PURE__ */ e.createElement("rect", { x: 9, y: 7, width: 2, height: 2, fill: "#A2AAB5" })), f1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13 7C13 8.47663 12.4666 9.82867 11.5819 10.874L12.3288 11.6208C12.663 11.5307 13.0348 11.6168 13.2971 11.8792L14.7113 13.2934C15.1019 13.6839 15.1019 14.3171 14.7113 14.7076C14.3208 15.0981 13.6877 15.0981 13.2971 14.7076L11.8829 13.2934C11.622 13.0325 11.5354 12.6632 11.6231 12.3304L10.8743 11.5816C9.829 12.4665 8.47681 13 7 13C3.68629 13 1 10.3137 1 7C1 3.68629 3.68629 1 7 1C10.3137 1 13 3.68629 13 7ZM2.00071 7C2.00071 9.76103 4.23897 11.9993 7 11.9993C9.76103 11.9993 11.9993 9.76103 11.9993 7C11.9993 4.23897 9.76103 2.00071 7 2.00071C4.23897 2.00071 2.00071 4.23897 2.00071 7Z", fill: "#CFCFCF" })), $ = (t, c = 20) => {
33
33
  const i = t + c;
34
- return new Array(i - t).fill(void 0).map((g, o) => t - o);
34
+ return new Array(i - t).fill(void 0).map((u, o) => t - o);
35
35
  }, G = "_header_a3cjx_1", O = "_disabled_a3cjx_25", W = "_dropdown_a3cjx_8", q = {
36
36
  header: G,
37
37
  "dropdowns-wrapper": "_dropdowns-wrapper_a3cjx_8",
@@ -47,7 +47,7 @@ const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16
47
47
  },
48
48
  changeMonth: i = () => {
49
49
  },
50
- decreaseMonth: g = () => {
50
+ decreaseMonth: u = () => {
51
51
  },
52
52
  increaseMonth: o = () => {
53
53
  },
@@ -61,8 +61,8 @@ const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16
61
61
  const p = t.getFullYear(), b = t.getMonth(), _ = F(() => {
62
62
  const a = Array(12).keys(), s = new Intl.DateTimeFormat(v, {
63
63
  month: "long"
64
- }), d = (h) => s.format(new Date(p, h));
65
- return Array.from(a, d).reduce((h, A, E) => h.concat({
64
+ }), d = (C) => s.format(new Date(p, C));
65
+ return Array.from(a, d).reduce((C, A, E) => C.concat({
66
66
  value: E,
67
67
  label: A
68
68
  }), []);
@@ -74,22 +74,22 @@ const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16
74
74
  }, M = (a) => {
75
75
  c(a);
76
76
  };
77
- return /* @__PURE__ */ y(D, { children: [
77
+ return /* @__PURE__ */ S(D, { children: [
78
78
  f && /* @__PURE__ */ n("div", { className: l(x), children: f }),
79
- /* @__PURE__ */ y("div", { className: l("header"), children: [
79
+ /* @__PURE__ */ S("div", { className: l("header"), children: [
80
80
  /* @__PURE__ */ n(
81
81
  "button",
82
82
  {
83
83
  "aria-label": "Previous Months",
84
84
  disabled: r,
85
- onClick: g,
85
+ onClick: u,
86
86
  className: l("button-prev", { disabled: r }),
87
- children: /* @__PURE__ */ n(T, {})
87
+ children: /* @__PURE__ */ n(R, {})
88
88
  }
89
89
  ),
90
- /* @__PURE__ */ y("div", { className: l("dropdowns-wrapper"), children: [
90
+ /* @__PURE__ */ S("div", { className: l("dropdowns-wrapper"), children: [
91
91
  /* @__PURE__ */ n(
92
- I,
92
+ j,
93
93
  {
94
94
  options: _,
95
95
  value: b,
@@ -100,7 +100,7 @@ const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16
100
100
  }
101
101
  ),
102
102
  /* @__PURE__ */ n(
103
- I,
103
+ j,
104
104
  {
105
105
  options: L,
106
106
  value: p,
@@ -118,7 +118,7 @@ const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16
118
118
  disabled: w,
119
119
  onClick: o,
120
120
  className: l("button-next", { disabled: w }),
121
- children: /* @__PURE__ */ n(T, {})
121
+ children: /* @__PURE__ */ n(R, {})
122
122
  }
123
123
  )
124
124
  ] })
@@ -132,13 +132,13 @@ const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16
132
132
  disabled: Q,
133
133
  popper: X,
134
134
  input: e1
135
- }, u = P.bind(t1), o1 = "en", R = "MM-dd-yyyy", f1 = ({
135
+ }, g = P.bind(t1), o1 = "en", T = "MM-dd-yyyy", x1 = ({
136
136
  onChange: t = () => {
137
137
  },
138
138
  disabled: c = !1,
139
139
  onBlur: i = () => {
140
140
  },
141
- onFocus: g = () => {
141
+ onFocus: u = () => {
142
142
  },
143
143
  endDate: o = void 0,
144
144
  startDate: r = void 0,
@@ -151,17 +151,17 @@ const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16
151
151
  fixedHeight: b = !1,
152
152
  language: _ = o1,
153
153
  yearsOptions: L = [],
154
- placeholder: B = R.toUpperCase(),
155
- dateFormat: M = R,
154
+ placeholder: B = T.toUpperCase(),
155
+ dateFormat: M = T,
156
156
  selects: a = "start",
157
157
  value: s = null
158
158
  }) => {
159
- const d = U(null), S = r == null ? void 0 : r.toDateString(), h = o == null ? void 0 : o.toDateString(), A = o && r && o > r, E = (C) => {
160
- const N = C.toDateString(), H = N === S, j = A && N === h, k = r && o && C > r && C < o;
161
- return u("date", {
159
+ const d = U(null), y = r == null ? void 0 : r.toDateString(), C = o == null ? void 0 : o.toDateString(), A = o && r && o > r, E = (h) => {
160
+ const I = h.toDateString(), H = I === y, N = A && I === C, k = r && o && h > r && h < o;
161
+ return g("date", {
162
162
  "current-date": H,
163
- "selected-range": k && !j,
164
- "end-date": j && A,
163
+ "selected-range": k && !N,
164
+ "end-date": N && A,
165
165
  disabled: c
166
166
  });
167
167
  };
@@ -171,7 +171,7 @@ const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16
171
171
  customInput: /* @__PURE__ */ n(
172
172
  Z,
173
173
  {
174
- className: u("input"),
174
+ className: g("input"),
175
175
  defaultWidth: !1,
176
176
  endIcon: /* @__PURE__ */ n(Y, {}),
177
177
  ref: d
@@ -188,11 +188,11 @@ const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16
188
188
  locale: _,
189
189
  showPopperArrow: !1,
190
190
  dayClassName: E,
191
- calendarClassName: u(p, "calendar"),
192
- renderCustomHeader: (C) => /* @__PURE__ */ n(
191
+ calendarClassName: g(p, "calendar"),
192
+ renderCustomHeader: (h) => /* @__PURE__ */ n(
193
193
  z,
194
194
  {
195
- ...C,
195
+ ...h,
196
196
  headerNodes: w,
197
197
  customClassName: f,
198
198
  yearsOptions: L,
@@ -201,47 +201,48 @@ const g1 = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16
201
201
  ),
202
202
  onChange: t,
203
203
  onBlur: i,
204
- onFocus: g,
204
+ onFocus: u,
205
205
  customTimeInput: x,
206
206
  showTimeInput: !!x,
207
- popperClassName: u(v, "popper"),
207
+ popperClassName: g(v, "popper"),
208
208
  dateFormat: M,
209
209
  selectsStart: a === "start",
210
210
  selectsEnd: a === "end",
211
- className: u("datepicker")
211
+ className: g("datepicker")
212
212
  }
213
213
  );
214
214
  };
215
215
  export {
216
- oe as ArrowDownIcon,
217
- re as ArrowUpIcon,
218
- le as BaseIconButton,
219
- U1 as BubblesLoader,
220
- A1 as Button,
221
- T as CalendarArrowIcon,
216
+ re as ArrowDownIcon,
217
+ ne as ArrowUpIcon,
218
+ se as BaseIconButton,
219
+ Y1 as BubblesLoader,
220
+ v1 as Button,
221
+ R as CalendarArrowIcon,
222
222
  Y as CalendarIcon,
223
- b1 as Checkbox,
224
- E1 as ClearIcon,
223
+ L1 as Checkbox,
224
+ S1 as ClearIcon,
225
225
  j1 as CloseIcon,
226
- f1 as DatePicker,
227
- g1 as DeleteIcon,
228
- I as Dropdown,
226
+ x1 as DatePicker,
227
+ u1 as DeleteIcon,
228
+ j as Dropdown,
229
229
  T1 as DropdownIcon,
230
- k1 as FieldNumber,
230
+ Z1 as FieldNumber,
231
231
  Z as FieldText,
232
- $1 as FieldTextFlex,
232
+ G1 as FieldTextFlex,
233
233
  w1 as MeatballMenuIcon,
234
- Z1 as MinusIcon,
235
- I1 as Modal,
236
- Q1 as Pagination,
237
- D1 as PlusIcon,
238
- J1 as Popover,
239
- X1 as PrevChapterIcon,
240
- ee as PrevPageIcon,
241
- O1 as Radio,
242
- B1 as SystemMessage,
243
- ne as Table,
244
- S1 as ThemeProvider,
245
- P1 as Toggle,
246
- q1 as Tooltip
234
+ D1 as MinusIcon,
235
+ F1 as Modal,
236
+ X1 as Pagination,
237
+ V1 as PlusIcon,
238
+ K1 as Popover,
239
+ ee as PrevChapterIcon,
240
+ te as PrevPageIcon,
241
+ W1 as Radio,
242
+ f1 as SearchIcon,
243
+ M1 as SystemMessage,
244
+ ae as Table,
245
+ I1 as ThemeProvider,
246
+ H1 as Toggle,
247
+ z1 as Tooltip
247
248
  };