@reportportal/ui-kit 0.0.1-alpha.15 → 0.0.1-alpha.17
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/{button-7fb84fde.js → button-bb309472.js} +21 -21
- package/dist/button.js +1 -1
- package/dist/components/dropdown/dropdown.d.ts +1 -0
- package/dist/components/icons/index.d.ts +1 -0
- package/dist/components/tooltip/tooltip.d.ts +2 -1
- package/dist/dropdown-50124296.js +215 -0
- package/dist/dropdown.js +1 -1
- package/dist/fieldText-49fe2895.js +102 -0
- package/dist/fieldText.js +1 -1
- package/dist/{index-0be12e80.js → index-2a2d261a.js} +26 -26
- package/dist/index.js +76 -75
- package/dist/modal.js +2 -2
- package/dist/{pagination-5449cd03.js → pagination-39b1fa15.js} +8 -8
- package/dist/pagination.js +3 -3
- package/dist/style.css +1 -1
- package/dist/tooltip.js +29 -28
- package/package.json +1 -1
- package/dist/dropdown-bbfa828e.js +0 -213
- package/dist/fieldText-d80b29ba.js +0 -102
package/dist/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { B as
|
|
2
|
-
import { C as
|
|
3
|
-
import { S as
|
|
4
|
-
import { F as Z } from "./fieldText-
|
|
5
|
-
import { S as
|
|
6
|
-
import { T as
|
|
7
|
-
import { S as j1, M as
|
|
8
|
-
import { D as
|
|
9
|
-
import { S as T1 } from "./dropdown-
|
|
10
|
-
import { T as
|
|
11
|
-
import { F as
|
|
12
|
-
import { B as
|
|
13
|
-
import { F as
|
|
14
|
-
import { R as
|
|
15
|
-
import { Tooltip as
|
|
16
|
-
import { Popover as
|
|
17
|
-
import { P as
|
|
18
|
-
import { S as
|
|
19
|
-
import { jsxs as
|
|
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-49fe2895.js";
|
|
5
|
+
import { S as S1 } from "./fieldText-49fe2895.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-39b1fa15.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
|
|
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
|
|
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((
|
|
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:
|
|
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 = (
|
|
65
|
-
return Array.from(a, d).reduce((
|
|
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__ */
|
|
77
|
+
return /* @__PURE__ */ S(D, { children: [
|
|
78
78
|
f && /* @__PURE__ */ n("div", { className: l(x), children: f }),
|
|
79
|
-
/* @__PURE__ */
|
|
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:
|
|
85
|
+
onClick: u,
|
|
86
86
|
className: l("button-prev", { disabled: r }),
|
|
87
|
-
children: /* @__PURE__ */ n(
|
|
87
|
+
children: /* @__PURE__ */ n(R, {})
|
|
88
88
|
}
|
|
89
89
|
),
|
|
90
|
-
/* @__PURE__ */
|
|
90
|
+
/* @__PURE__ */ S("div", { className: l("dropdowns-wrapper"), children: [
|
|
91
91
|
/* @__PURE__ */ n(
|
|
92
|
-
|
|
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
|
-
|
|
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(
|
|
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
|
-
},
|
|
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:
|
|
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 =
|
|
155
|
-
dateFormat: M =
|
|
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),
|
|
160
|
-
const
|
|
161
|
-
return
|
|
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 && !
|
|
164
|
-
"end-date":
|
|
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:
|
|
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:
|
|
192
|
-
renderCustomHeader: (
|
|
191
|
+
calendarClassName: g(p, "calendar"),
|
|
192
|
+
renderCustomHeader: (h) => /* @__PURE__ */ n(
|
|
193
193
|
z,
|
|
194
194
|
{
|
|
195
|
-
...
|
|
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:
|
|
204
|
+
onFocus: u,
|
|
205
205
|
customTimeInput: x,
|
|
206
206
|
showTimeInput: !!x,
|
|
207
|
-
popperClassName:
|
|
207
|
+
popperClassName: g(v, "popper"),
|
|
208
208
|
dateFormat: M,
|
|
209
209
|
selectsStart: a === "start",
|
|
210
210
|
selectsEnd: a === "end",
|
|
211
|
-
className:
|
|
211
|
+
className: g("datepicker")
|
|
212
212
|
}
|
|
213
213
|
);
|
|
214
214
|
};
|
|
215
215
|
export {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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
|
-
|
|
224
|
-
|
|
223
|
+
L1 as Checkbox,
|
|
224
|
+
S1 as ClearIcon,
|
|
225
225
|
j1 as CloseIcon,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
226
|
+
x1 as DatePicker,
|
|
227
|
+
u1 as DeleteIcon,
|
|
228
|
+
j as Dropdown,
|
|
229
229
|
T1 as DropdownIcon,
|
|
230
|
-
|
|
230
|
+
Z1 as FieldNumber,
|
|
231
231
|
Z as FieldText,
|
|
232
|
-
|
|
232
|
+
G1 as FieldTextFlex,
|
|
233
233
|
w1 as MeatballMenuIcon,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
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
|
};
|
package/dist/modal.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as s, a as n, c as b, b as c } from "./index-
|
|
1
|
+
import { M as s, a as n, c as b, b as c } from "./index-2a2d261a.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "rc-scrollbars";
|
|
@@ -6,7 +6,7 @@ import "framer-motion";
|
|
|
6
6
|
import "./bind-06a7ff84.js";
|
|
7
7
|
import "./useOnClickOutside-c332f7d3.js";
|
|
8
8
|
import "./keyCodes-f63c0e11.js";
|
|
9
|
-
import "./button-
|
|
9
|
+
import "./button-bb309472.js";
|
|
10
10
|
import "./baseIconButton-7bc53dec.js";
|
|
11
11
|
export {
|
|
12
12
|
s as Modal,
|
|
@@ -3,11 +3,11 @@ import { c as m } from "./bind-06a7ff84.js";
|
|
|
3
3
|
import * as b from "react";
|
|
4
4
|
import { useState as x } from "react";
|
|
5
5
|
import { Popover as B } from "./popover.js";
|
|
6
|
-
import { B as $ } from "./button-
|
|
7
|
-
import { F as I } from "./fieldText-
|
|
6
|
+
import { B as $ } from "./button-bb309472.js";
|
|
7
|
+
import { F as I } from "./fieldText-49fe2895.js";
|
|
8
8
|
import { B as f } from "./baseIconButton-7bc53dec.js";
|
|
9
9
|
import { Tooltip as k } from "./tooltip.js";
|
|
10
|
-
const
|
|
10
|
+
const y = (e) => /* @__PURE__ */ b.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "#A2AAB5", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ b.createElement("path", { d: "M12 13L4 8L12 3L12 13Z" })), T = (e) => /* @__PURE__ */ b.createElement("svg", { width: 13, height: 12, viewBox: "0 0 13 12", fill: "#A2AAB5", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ b.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 12L2 12L2 2.38498e-08L1.90798e-07 0L0 12ZM13 1L5 6L13 11L13 1Z" })), E = {
|
|
11
11
|
"item-counter": "_item-counter_4g6do_1"
|
|
12
12
|
}, M = m.bind(E), P = ({
|
|
13
13
|
activePage: e,
|
|
@@ -75,7 +75,7 @@ const w = (e) => /* @__PURE__ */ b.createElement("svg", { width: 16, height: 16,
|
|
|
75
75
|
selectPage: r
|
|
76
76
|
}) => {
|
|
77
77
|
const [c, a] = x(""), [i, o] = x(!0), p = (h) => {
|
|
78
|
-
const u = h.target.value.replace(/\D/g, ""),
|
|
78
|
+
const u = h.target.value.replace(/\D/g, ""), w = Number(u), O = w > 0 && w <= e;
|
|
79
79
|
o(O), a(u);
|
|
80
80
|
}, l = () => {
|
|
81
81
|
r(Number(c));
|
|
@@ -171,7 +171,7 @@ const w = (e) => /* @__PURE__ */ b.createElement("svg", { width: 16, height: 16,
|
|
|
171
171
|
/* @__PURE__ */ t("div", { className: g("tooltip-text"), children: r.goTo }),
|
|
172
172
|
/* @__PURE__ */ t("div", { className: g("page-number"), children: l.pages.from })
|
|
173
173
|
] }),
|
|
174
|
-
|
|
174
|
+
wrapperClassName: g("tooltip-wrapper"),
|
|
175
175
|
placement: "top",
|
|
176
176
|
children: /* @__PURE__ */ t(
|
|
177
177
|
"div",
|
|
@@ -223,7 +223,7 @@ const w = (e) => /* @__PURE__ */ b.createElement("svg", { width: 16, height: 16,
|
|
|
223
223
|
className: _("page-button"),
|
|
224
224
|
onClick: a,
|
|
225
225
|
disabled: e === 1,
|
|
226
|
-
children: /* @__PURE__ */ t(
|
|
226
|
+
children: /* @__PURE__ */ t(y, {})
|
|
227
227
|
}
|
|
228
228
|
)
|
|
229
229
|
] }),
|
|
@@ -243,7 +243,7 @@ const w = (e) => /* @__PURE__ */ b.createElement("svg", { width: 16, height: 16,
|
|
|
243
243
|
className: _("page-button", "next"),
|
|
244
244
|
onClick: i,
|
|
245
245
|
disabled: e === s,
|
|
246
|
-
children: /* @__PURE__ */ t(
|
|
246
|
+
children: /* @__PURE__ */ t(y, {})
|
|
247
247
|
}
|
|
248
248
|
),
|
|
249
249
|
/* @__PURE__ */ t(
|
|
@@ -341,6 +341,6 @@ const w = (e) => /* @__PURE__ */ b.createElement("svg", { width: 16, height: 16,
|
|
|
341
341
|
};
|
|
342
342
|
export {
|
|
343
343
|
ue as P,
|
|
344
|
-
|
|
344
|
+
y as S,
|
|
345
345
|
T as a
|
|
346
346
|
};
|
package/dist/pagination.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { P as t } from "./pagination-
|
|
1
|
+
import { P as t } from "./pagination-39b1fa15.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "./bind-06a7ff84.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "./popover.js";
|
|
6
6
|
import "@floating-ui/react";
|
|
7
|
-
import "./button-
|
|
8
|
-
import "./fieldText-
|
|
7
|
+
import "./button-bb309472.js";
|
|
8
|
+
import "./fieldText-49fe2895.js";
|
|
9
9
|
import "./baseIconButton-7bc53dec.js";
|
|
10
10
|
import "./tooltip.js";
|
|
11
11
|
import "@floating-ui/react-dom";
|