@reportportal/ui-kit 0.0.1-alpha.91 → 0.0.1-alpha.93
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/{datePicker-c9d859b1.js → datePicker-0aca795c.js} +21 -21
- package/dist/datePicker.js +5 -6
- package/dist/{fieldText-35421470.js → fieldText-ba8a917c.js} +18 -19
- package/dist/fieldText.js +2 -2
- package/dist/index.js +3 -3
- package/dist/{pagination-b001d791.js → pagination-43330c73.js} +1 -1
- package/dist/pagination.js +3 -3
- package/package.json +1 -1
|
@@ -2,15 +2,15 @@ import { jsxs as F, Fragment as $, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import B from "react-datepicker/dist/es/index.js";
|
|
3
3
|
import { c as R } from "./bind-06a7ff84.js";
|
|
4
4
|
import { useMemo as P, useRef as D } from "react";
|
|
5
|
-
import { F as I } from "./fieldText-
|
|
5
|
+
import { F as I } from "./fieldText-ba8a917c.js";
|
|
6
6
|
import { D as E } from "./dropdown-b26b8fd8.js";
|
|
7
7
|
import { S as T } from "./calendarArrow-44c7e60e.js";
|
|
8
8
|
import { registerLocale as j } from "react-datepicker";
|
|
9
9
|
const ie = (n, s) => {
|
|
10
10
|
j(n, s);
|
|
11
11
|
}, G = (n, s = 20) => {
|
|
12
|
-
const
|
|
13
|
-
return new Array(
|
|
12
|
+
const i = n + s;
|
|
13
|
+
return new Array(i - n).fill(void 0).map((g, t) => n - t);
|
|
14
14
|
}, H = "_header_1q16i_1", V = "_disabled_1q16i_25", O = "_dropdown_1q16i_8", W = {
|
|
15
15
|
header: H,
|
|
16
16
|
"dropdowns-wrapper": "_dropdowns-wrapper_1q16i_8",
|
|
@@ -24,7 +24,7 @@ const ie = (n, s) => {
|
|
|
24
24
|
date: n = /* @__PURE__ */ new Date(),
|
|
25
25
|
changeYear: s = () => {
|
|
26
26
|
},
|
|
27
|
-
changeMonth:
|
|
27
|
+
changeMonth: i = () => {
|
|
28
28
|
},
|
|
29
29
|
decreaseMonth: g = () => {
|
|
30
30
|
},
|
|
@@ -34,22 +34,22 @@ const ie = (n, s) => {
|
|
|
34
34
|
nextMonthButtonDisabled: h = !1,
|
|
35
35
|
headerNodes: b = null,
|
|
36
36
|
customClassName: w = "",
|
|
37
|
-
yearsOptions:
|
|
37
|
+
yearsOptions: p = [],
|
|
38
38
|
locale: N
|
|
39
39
|
}) => {
|
|
40
|
-
const
|
|
40
|
+
const l = n.getFullYear(), C = n.getMonth(), y = P(() => {
|
|
41
41
|
const e = Array(12).keys(), c = new Intl.DateTimeFormat(N, {
|
|
42
42
|
month: "long"
|
|
43
|
-
}),
|
|
44
|
-
return Array.from(e,
|
|
43
|
+
}), d = (m) => c.format(new Date(l, m));
|
|
44
|
+
return Array.from(e, d).reduce((m, f, x) => m.concat({
|
|
45
45
|
value: x,
|
|
46
46
|
label: f
|
|
47
47
|
}), []);
|
|
48
|
-
}, []), v = P(() => (
|
|
49
|
-
(c,
|
|
48
|
+
}, []), v = P(() => (p.length > 0 ? p : G(l)).reduce(
|
|
49
|
+
(c, d) => c.concat({ value: d, label: `${d}` }),
|
|
50
50
|
[]
|
|
51
|
-
), [
|
|
52
|
-
|
|
51
|
+
), [p, l]), A = (e) => {
|
|
52
|
+
i(e);
|
|
53
53
|
}, k = (e) => {
|
|
54
54
|
s(e);
|
|
55
55
|
};
|
|
@@ -85,7 +85,7 @@ const ie = (n, s) => {
|
|
|
85
85
|
E,
|
|
86
86
|
{
|
|
87
87
|
options: v,
|
|
88
|
-
value:
|
|
88
|
+
value: l,
|
|
89
89
|
onChange: k,
|
|
90
90
|
transparentBackground: !0,
|
|
91
91
|
className: a("dropdown"),
|
|
@@ -121,7 +121,7 @@ const ie = (n, s) => {
|
|
|
121
121
|
onChange: n = () => {
|
|
122
122
|
},
|
|
123
123
|
disabled: s = !1,
|
|
124
|
-
onBlur:
|
|
124
|
+
onBlur: i = () => {
|
|
125
125
|
},
|
|
126
126
|
onFocus: g = () => {
|
|
127
127
|
},
|
|
@@ -130,9 +130,9 @@ const ie = (n, s) => {
|
|
|
130
130
|
headerNodes: h = null,
|
|
131
131
|
customClassName: b = "",
|
|
132
132
|
customTimeInput: w = void 0,
|
|
133
|
-
shouldCloseOnSelect:
|
|
133
|
+
shouldCloseOnSelect: p = !0,
|
|
134
134
|
popperClassName: N = "",
|
|
135
|
-
calendarClassName:
|
|
135
|
+
calendarClassName: l = "",
|
|
136
136
|
fixedHeight: C = !1,
|
|
137
137
|
language: y = te,
|
|
138
138
|
yearsOptions: v = [],
|
|
@@ -141,7 +141,7 @@ const ie = (n, s) => {
|
|
|
141
141
|
selects: e = "start",
|
|
142
142
|
value: c = null
|
|
143
143
|
}) => {
|
|
144
|
-
const
|
|
144
|
+
const d = D(null), S = o == null ? void 0 : o.toDateString(), m = t == null ? void 0 : t.toDateString(), f = t && o && t > o, x = (u) => {
|
|
145
145
|
const M = u.toDateString(), Y = M === S, q = f && M === m, U = o && t && u > o && u < t;
|
|
146
146
|
return _("date", {
|
|
147
147
|
"current-date": Y,
|
|
@@ -153,18 +153,18 @@ const ie = (n, s) => {
|
|
|
153
153
|
return /* @__PURE__ */ r(
|
|
154
154
|
B,
|
|
155
155
|
{
|
|
156
|
-
customInput: /* @__PURE__ */ r(I, { className: _("input"), defaultWidth: !1, ref:
|
|
156
|
+
customInput: /* @__PURE__ */ r(I, { className: _("input"), defaultWidth: !1, ref: d }),
|
|
157
157
|
placeholderText: A,
|
|
158
158
|
selected: c,
|
|
159
159
|
startDate: o,
|
|
160
160
|
endDate: t,
|
|
161
161
|
disabled: s,
|
|
162
|
-
shouldCloseOnSelect:
|
|
162
|
+
shouldCloseOnSelect: p,
|
|
163
163
|
fixedHeight: C,
|
|
164
164
|
locale: y,
|
|
165
165
|
showPopperArrow: !1,
|
|
166
166
|
dayClassName: x,
|
|
167
|
-
calendarClassName: _(
|
|
167
|
+
calendarClassName: _(l, "calendar"),
|
|
168
168
|
renderCustomHeader: (u) => /* @__PURE__ */ r(
|
|
169
169
|
z,
|
|
170
170
|
{
|
|
@@ -176,7 +176,7 @@ const ie = (n, s) => {
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
onChange: n,
|
|
179
|
-
onBlur:
|
|
179
|
+
onBlur: i,
|
|
180
180
|
onFocus: g,
|
|
181
181
|
customTimeInput: w,
|
|
182
182
|
showTimeInput: !!w,
|
package/dist/datePicker.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { D as t } from "./datePicker-
|
|
2
|
-
import { r as
|
|
1
|
+
import { D as t } from "./datePicker-0aca795c.js";
|
|
2
|
+
import { r as q } from "./datePicker-0aca795c.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react-datepicker/dist/es/index.js";
|
|
5
5
|
import "./bind-06a7ff84.js";
|
|
6
6
|
import "react";
|
|
7
|
-
import "./fieldText-
|
|
7
|
+
import "./fieldText-ba8a917c.js";
|
|
8
8
|
import "./openEye-7b9cf080.js";
|
|
9
|
-
import "./
|
|
9
|
+
import "./baseIconButton-251479f7.js";
|
|
10
10
|
import "./spinLoader-c4a53718.js";
|
|
11
11
|
import "./maxValueDisplay-9be01a75.js";
|
|
12
12
|
import "./fieldLabel.js";
|
|
@@ -16,7 +16,6 @@ import "downshift";
|
|
|
16
16
|
import "rc-scrollbars";
|
|
17
17
|
import "./useOnClickOutside-c332f7d3.js";
|
|
18
18
|
import "./keyCodes-f63c0e11.js";
|
|
19
|
-
import "./baseIconButton-251479f7.js";
|
|
20
19
|
import "./dropdown-0260bb66.js";
|
|
21
20
|
import "./checkbox-ed6cc375.js";
|
|
22
21
|
import "./calendarArrow-44c7e60e.js";
|
|
@@ -24,5 +23,5 @@ import "react-datepicker";
|
|
|
24
23
|
export {
|
|
25
24
|
t as DatePicker,
|
|
26
25
|
t as default,
|
|
27
|
-
|
|
26
|
+
q as registerDatePickerLocale
|
|
28
27
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o, Fragment as b } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as W, useRef as X, useId as Y, useState as
|
|
2
|
+
import { forwardRef as W, useRef as X, useId as Y, useState as B } from "react";
|
|
3
3
|
import { c as Z } from "./bind-06a7ff84.js";
|
|
4
4
|
import { b as q, a as ee, S as ne } from "./openEye-7b9cf080.js";
|
|
5
|
-
import { B as te } from "./
|
|
5
|
+
import { B as te } from "./baseIconButton-251479f7.js";
|
|
6
6
|
import { S as se } from "./spinLoader-c4a53718.js";
|
|
7
7
|
import { M as oe } from "./maxValueDisplay-9be01a75.js";
|
|
8
8
|
import { FieldLabel as ae } from "./fieldLabel.js";
|
|
@@ -33,7 +33,7 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
|
|
|
33
33
|
({
|
|
34
34
|
value: s = "",
|
|
35
35
|
className: E,
|
|
36
|
-
classNameHelpText:
|
|
36
|
+
classNameHelpText: v,
|
|
37
37
|
error: r,
|
|
38
38
|
placeholder: p,
|
|
39
39
|
disabled: a = !1,
|
|
@@ -48,26 +48,26 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
|
|
|
48
48
|
clearable: k = !1,
|
|
49
49
|
onClear: x,
|
|
50
50
|
isRequired: z = !1,
|
|
51
|
-
hasDoubleMessage:
|
|
51
|
+
hasDoubleMessage: I = !1,
|
|
52
52
|
type: i = "text",
|
|
53
|
-
displayError:
|
|
54
|
-
collapsible:
|
|
55
|
-
loading:
|
|
56
|
-
maxLengthDisplay:
|
|
57
|
-
onFocus:
|
|
53
|
+
displayError: L = !0,
|
|
54
|
+
collapsible: P = !1,
|
|
55
|
+
loading: R = !1,
|
|
56
|
+
maxLengthDisplay: j,
|
|
57
|
+
onFocus: H = () => {
|
|
58
58
|
},
|
|
59
59
|
onBlur: O = () => {
|
|
60
60
|
},
|
|
61
61
|
...U
|
|
62
62
|
}, $) => {
|
|
63
|
-
const A = X(null), d = $ || A, w = Y(), [N, y] =
|
|
64
|
-
y(!0),
|
|
63
|
+
const A = X(null), d = $ || A, w = Y(), [N, y] = B(!1), [g, F] = B(!1), G = (t) => {
|
|
64
|
+
y(!0), H(t);
|
|
65
65
|
}, J = (t) => {
|
|
66
66
|
y(!1), O(t);
|
|
67
67
|
}, K = () => {
|
|
68
68
|
var t;
|
|
69
69
|
x && (x(s), (t = d.current) == null || t.focus());
|
|
70
|
-
}, S =
|
|
70
|
+
}, S = L && r && f, D = /* @__PURE__ */ e("span", { className: n("text", "help-text", v), children: u }), Q = () => i !== "password" ? i : g ? "text" : "password", M = (t) => {
|
|
71
71
|
t.preventDefault(), F(!0);
|
|
72
72
|
}, c = (t) => {
|
|
73
73
|
t.preventDefault(), F(!1);
|
|
@@ -82,11 +82,11 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
|
|
|
82
82
|
touched: f,
|
|
83
83
|
disabled: a,
|
|
84
84
|
"default-width": V,
|
|
85
|
-
collapsed:
|
|
85
|
+
collapsed: P && !N && !s
|
|
86
86
|
}),
|
|
87
87
|
title: T,
|
|
88
88
|
children: [
|
|
89
|
-
|
|
89
|
+
R ? /* @__PURE__ */ e(se, {}) : m && /* @__PURE__ */ e(
|
|
90
90
|
"span",
|
|
91
91
|
{
|
|
92
92
|
className: n("icon-container-start"),
|
|
@@ -116,15 +116,14 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
|
|
|
116
116
|
i === "password" && s && /* @__PURE__ */ e(
|
|
117
117
|
te,
|
|
118
118
|
{
|
|
119
|
-
icon: g ? /* @__PURE__ */ e(q, {}) : /* @__PURE__ */ e(ee, {}),
|
|
120
|
-
variant: "text",
|
|
121
119
|
className: n("eye-icon"),
|
|
122
120
|
onMouseDown: M,
|
|
123
121
|
onMouseLeave: c,
|
|
124
122
|
onMouseUp: c,
|
|
125
123
|
onTouchStart: M,
|
|
126
124
|
onTouchEnd: c,
|
|
127
|
-
onTouchCancel: c
|
|
125
|
+
onTouchCancel: c,
|
|
126
|
+
children: g ? /* @__PURE__ */ e(q, {}) : /* @__PURE__ */ e(ee, {})
|
|
128
127
|
}
|
|
129
128
|
),
|
|
130
129
|
p && !s && /* @__PURE__ */ o("span", { className: n("placeholder"), children: [
|
|
@@ -137,7 +136,7 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
|
|
|
137
136
|
{
|
|
138
137
|
className: n("max-length-display"),
|
|
139
138
|
value: s.length,
|
|
140
|
-
maxValue:
|
|
139
|
+
maxValue: j
|
|
141
140
|
}
|
|
142
141
|
),
|
|
143
142
|
h && /* @__PURE__ */ e("span", { className: n("icon-container-end"), children: /* @__PURE__ */ e("span", { className: n("icon"), children: h }) }),
|
|
@@ -156,7 +155,7 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
|
|
|
156
155
|
),
|
|
157
156
|
(S || u) && /* @__PURE__ */ e("div", { className: n("additional-content", { disabled: a }), children: S ? /* @__PURE__ */ o(b, { children: [
|
|
158
157
|
/* @__PURE__ */ e("span", { className: n("text", "error-text"), children: r }),
|
|
159
|
-
|
|
158
|
+
I && D
|
|
160
159
|
] }) : u && D })
|
|
161
160
|
] });
|
|
162
161
|
}
|
package/dist/fieldText.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { F as o } from "./fieldText-
|
|
1
|
+
import { F as o } from "./fieldText-ba8a917c.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "./bind-06a7ff84.js";
|
|
5
5
|
import "./openEye-7b9cf080.js";
|
|
6
|
-
import "./
|
|
6
|
+
import "./baseIconButton-251479f7.js";
|
|
7
7
|
import "./spinLoader-c4a53718.js";
|
|
8
8
|
import "./maxValueDisplay-9be01a75.js";
|
|
9
9
|
import "./fieldLabel.js";
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { B as C } from "./baseIconButton-251479f7.js";
|
|
|
3
3
|
import { B as g } from "./breadcrumbs-8e5ca8d7.js";
|
|
4
4
|
import { C as F } from "./checkbox-ed6cc375.js";
|
|
5
5
|
import { S as b } from "./systemMessage-924fdaa6.js";
|
|
6
|
-
import { F as h } from "./fieldText-
|
|
6
|
+
import { F as h } from "./fieldText-ba8a917c.js";
|
|
7
7
|
import { T as v } from "./themeProvider-46c2be7b.js";
|
|
8
8
|
import { Modal as M } from "./modal.js";
|
|
9
9
|
import { D as E } from "./dropdown-b26b8fd8.js";
|
|
@@ -15,10 +15,10 @@ import { F as j } from "./fieldTextFlex-8afaab31.js";
|
|
|
15
15
|
import { R as G } from "./radio-62546efa.js";
|
|
16
16
|
import { Tooltip as Q } from "./tooltip.js";
|
|
17
17
|
import { Popover as X } from "./popover.js";
|
|
18
|
-
import { P as Z } from "./pagination-
|
|
18
|
+
import { P as Z } from "./pagination-43330c73.js";
|
|
19
19
|
import { S as $ } from "./selection-9124d029.js";
|
|
20
20
|
import { T as ro } from "./table-920fdad9.js";
|
|
21
|
-
import { D as to } from "./datePicker-
|
|
21
|
+
import { D as to } from "./datePicker-0aca795c.js";
|
|
22
22
|
import "react-datepicker";
|
|
23
23
|
import { SystemAlert as ao } from "./systemAlert.js";
|
|
24
24
|
import { AddCsvIcon as po, AddImageIcon as mo, AddJarIcon as io, BreadcrumbsTreeIcon as so, CalendarIcon as Io, CheckmarkIcon as xo, ChevronDownDropdownIcon as fo, ChevronRightBreadcrumbsIcon as lo, CopyIcon as So, DeleteIcon as uo, DragAndDropIcon as Po, DragNDropIcon as Co, DurationIcon as Do, EditIcon as go, ExportIcon as Bo, ExternalLinkIcon as Fo, FilterFilledIcon as To, FilterOutlineIcon as bo, FlagIcon as yo, HideIcon as ho, MaximizeIcon as wo, MoveToFolderIcon as vo, PriorityBlockerIcon as Ao, PriorityCriticalIcon as Mo, PriorityHighIcon as ko, PriorityLowIcon as Eo, PriorityMediumIcon as Ro, PriorityUnspecifiedIcon as Lo, RefreshIcon as Ho, RerunIcon as No, SearchIcon as Oo, SortIcon as Uo, StatusSuccessIcon as zo, WarningIcon as Jo } from "./icons.js";
|
|
@@ -3,7 +3,7 @@ import { c as _ } from "./bind-06a7ff84.js";
|
|
|
3
3
|
import { useState as b } from "react";
|
|
4
4
|
import { Popover as I } from "./popover.js";
|
|
5
5
|
import { B as x } from "./button-97d9e587.js";
|
|
6
|
-
import { F as j } from "./fieldText-
|
|
6
|
+
import { F as j } from "./fieldText-ba8a917c.js";
|
|
7
7
|
import { B as h } from "./baseIconButton-251479f7.js";
|
|
8
8
|
import { S as z, a as T } from "./prevPage-87faf576.js";
|
|
9
9
|
import { Tooltip as A } from "./tooltip.js";
|
package/dist/pagination.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { P as t } from "./pagination-
|
|
1
|
+
import { P as t } from "./pagination-43330c73.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
7
|
import "./button-97d9e587.js";
|
|
8
|
-
import "./fieldText-
|
|
8
|
+
import "./fieldText-ba8a917c.js";
|
|
9
9
|
import "./openEye-7b9cf080.js";
|
|
10
|
+
import "./baseIconButton-251479f7.js";
|
|
10
11
|
import "./spinLoader-c4a53718.js";
|
|
11
12
|
import "./maxValueDisplay-9be01a75.js";
|
|
12
13
|
import "./fieldLabel.js";
|
|
13
|
-
import "./baseIconButton-251479f7.js";
|
|
14
14
|
import "./prevPage-87faf576.js";
|
|
15
15
|
import "./tooltip.js";
|
|
16
16
|
import "react-dom";
|