@reportportal/ui-kit 0.0.1-alpha.121 → 0.0.1-alpha.123
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/components/filtersButton/filtersButton.d.ts +9 -0
- package/dist/components/filtersButton/index.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/filterOutline-819b4b0d.js +6 -0
- package/dist/filtersButton.js +25 -0
- package/dist/icons.js +65 -64
- package/dist/index.js +76 -73
- package/dist/sidePanel.js +62 -48
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { A as C } from "./index-1a874a8b.js";
|
|
2
2
|
import { B as g } from "./baseIconButton-251479f7.js";
|
|
3
3
|
import { B as y } from "./breadcrumbs-8e5ca8d7.js";
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
4
|
+
import { B as T } from "./bubblesLoader-f3ffa240.js";
|
|
5
|
+
import { B as h } from "./button-97d9e587.js";
|
|
6
6
|
import { C as v } from "./checkbox-ed6cc375.js";
|
|
7
7
|
import { D as w } from "./datePicker-fcff097b.js";
|
|
8
8
|
import "react-datepicker";
|
|
@@ -12,33 +12,35 @@ import { F as U } from "./fieldNumber-d1b5a7a1.js";
|
|
|
12
12
|
import { F as J } from "./fieldText-2c4790e1.js";
|
|
13
13
|
import { F as z } from "./fieldTextFlex-2f51c173.js";
|
|
14
14
|
import { FileDropArea as W } from "./fileDropArea.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { S as to } from "./
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { T as lo } from "./
|
|
26
|
-
import { T as fo } from "./
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
15
|
+
import { FiltersButton as j } from "./filtersButton.js";
|
|
16
|
+
import { Modal as K } from "./modal.js";
|
|
17
|
+
import { MultipleAutocomplete as V, SingleAutocomplete as Y } from "./autocompletes.js";
|
|
18
|
+
import { P as _ } from "./pagination-5cc0ebdd.js";
|
|
19
|
+
import { Popover as oo } from "./popover.js";
|
|
20
|
+
import { R as eo } from "./radio-62546efa.js";
|
|
21
|
+
import { S as to } from "./selection-9124d029.js";
|
|
22
|
+
import { S as co } from "./spinLoader-c4a53718.js";
|
|
23
|
+
import { SystemAlert as io } from "./systemAlert.js";
|
|
24
|
+
import { S as so } from "./systemMessage-924fdaa6.js";
|
|
25
|
+
import { T as lo } from "./table-8e223d5d.js";
|
|
26
|
+
import { T as fo } from "./themeProvider-46c2be7b.js";
|
|
27
|
+
import { T as So } from "./toggle-304107fa.js";
|
|
28
|
+
import { Tooltip as Co } from "./tooltip.js";
|
|
29
|
+
import { SidePanel as go } from "./sidePanel.js";
|
|
30
|
+
import { AddCsvIcon as yo, AddImageIcon as Bo, AddJarIcon as To, BreadcrumbsTreeIcon as bo, CalendarIcon as ho, CheckmarkIcon as Ao, ChevronRightBreadcrumbsIcon as vo, ConfigurationIcon as Mo, CopyIcon as wo, CoverageFullIcon as ko, CoveragePartialIcon as Eo, CoveredManuallyIcon as Lo, DeleteIcon as Ro, DragAndDropIcon as Oo, DragNDropIcon as Uo, DurationIcon as Ho, EditIcon as Jo, ExportIcon as No, FlagIcon as zo, GroupByIcon as Go, HideIcon as Wo, LaunchTypeIcon as Xo, MaximizeIcon as jo, MoveToFolderIcon as qo, PinFilledIcon as Ko, PinOutlineIcon as Qo, PriorityBlockerIcon as Vo, PriorityCriticalIcon as Yo, PriorityHighIcon as Zo, PriorityLowIcon as _o, PriorityMediumIcon as $o, PriorityUnspecifiedIcon as or, RefreshIcon as rr, RerunIcon as er, RunManualIcon as nr, SearchIcon as tr, SortIcon as ar, StatusSuccessIcon as cr, TestPlanIcon as pr, UserIcon as ir, WarningIcon as mr } from "./icons.js";
|
|
31
|
+
import { S as Ir, a as lr, b as xr } from "./chevronDownDropdown-66f5b1af.js";
|
|
31
32
|
import { S as dr } from "./calendarArrow-44c7e60e.js";
|
|
32
33
|
import { S as Sr } from "./clear-53660571.js";
|
|
33
34
|
import { S as Cr, a as Fr } from "./openEye-950159cb.js";
|
|
34
35
|
import { S as Dr } from "./close-4d480ef7.js";
|
|
35
|
-
import { S as
|
|
36
|
+
import { S as Br, a as Tr, b as br, c as hr, d as Ar, e as vr, f as Mr } from "./xls-995781cc.js";
|
|
36
37
|
import { S as kr } from "./dropdown-0260bb66.js";
|
|
37
38
|
import { S as Lr, a as Rr, b as Or } from "./success-8fd8bd2c.js";
|
|
38
|
-
import { S as Hr, a as Jr } from "./
|
|
39
|
-
import { S as zr } from "./
|
|
40
|
-
import { S as
|
|
41
|
-
import { S as
|
|
39
|
+
import { S as Hr, a as Jr } from "./filterOutline-819b4b0d.js";
|
|
40
|
+
import { S as zr, a as Gr } from "./tree-c3dd3d45.js";
|
|
41
|
+
import { S as Xr } from "./minus-2857540f.js";
|
|
42
|
+
import { S as qr } from "./plus-199fb2a8.js";
|
|
43
|
+
import { S as Qr, a as Vr } from "./prevPage-87faf576.js";
|
|
42
44
|
import "react/jsx-runtime";
|
|
43
45
|
import "react";
|
|
44
46
|
import "./bind-06a7ff84.js";
|
|
@@ -56,100 +58,101 @@ import "@floating-ui/react";
|
|
|
56
58
|
import "./floatingUi-41f8c7b5.js";
|
|
57
59
|
import "react-dom";
|
|
58
60
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
yo as AddCsvIcon,
|
|
62
|
+
Bo as AddImageIcon,
|
|
63
|
+
To as AddJarIcon,
|
|
64
|
+
Ir as ArrowDownIcon,
|
|
63
65
|
lr as ArrowUpIcon,
|
|
64
66
|
C as AttachedFile,
|
|
65
67
|
g as BaseIconButton,
|
|
66
68
|
y as Breadcrumbs,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
bo as BreadcrumbsTreeIcon,
|
|
70
|
+
T as BubblesLoader,
|
|
71
|
+
h as Button,
|
|
70
72
|
dr as CalendarArrowIcon,
|
|
71
|
-
|
|
73
|
+
ho as CalendarIcon,
|
|
72
74
|
v as Checkbox,
|
|
73
|
-
|
|
75
|
+
Ao as CheckmarkIcon,
|
|
74
76
|
xr as ChevronDownDropdownIcon,
|
|
75
|
-
|
|
77
|
+
vo as ChevronRightBreadcrumbsIcon,
|
|
76
78
|
Sr as ClearIcon,
|
|
77
79
|
Cr as CloseEyeIcon,
|
|
78
80
|
Dr as CloseIcon,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
Mo as ConfigurationIcon,
|
|
82
|
+
wo as CopyIcon,
|
|
83
|
+
ko as CoverageFullIcon,
|
|
84
|
+
Eo as CoveragePartialIcon,
|
|
85
|
+
Lo as CoveredManuallyIcon,
|
|
86
|
+
Br as CsvIcon,
|
|
85
87
|
w as DatePicker,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
Ro as DeleteIcon,
|
|
89
|
+
Oo as DragAndDropIcon,
|
|
90
|
+
Uo as DragNDropIcon,
|
|
89
91
|
E as Dropdown,
|
|
90
92
|
kr as DropdownIcon,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
+
Ho as DurationIcon,
|
|
94
|
+
Jo as EditIcon,
|
|
93
95
|
Lr as ErrorIcon,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
No as ExportIcon,
|
|
97
|
+
Tr as ExternalLinkIcon,
|
|
96
98
|
R as FieldLabel,
|
|
97
99
|
U as FieldNumber,
|
|
98
100
|
J as FieldText,
|
|
99
101
|
z as FieldTextFlex,
|
|
100
102
|
W as FileDropArea,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
br as FileOtherIcon,
|
|
104
|
+
Hr as FilterFilledIcon,
|
|
105
|
+
Jr as FilterOutlineIcon,
|
|
106
|
+
j as FiltersButton,
|
|
104
107
|
zo as FlagIcon,
|
|
105
108
|
Go as GroupByIcon,
|
|
106
109
|
Wo as HideIcon,
|
|
107
|
-
|
|
110
|
+
hr as ImageIcon,
|
|
108
111
|
Rr as InfoIcon,
|
|
109
|
-
|
|
112
|
+
Ar as JarIcon,
|
|
110
113
|
Xo as LaunchTypeIcon,
|
|
111
114
|
jo as MaximizeIcon,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
zr as MeatballMenuIcon,
|
|
116
|
+
Xr as MinusIcon,
|
|
117
|
+
K as Modal,
|
|
115
118
|
qo as MoveToFolderIcon,
|
|
116
|
-
|
|
119
|
+
V as MultipleAutocomplete,
|
|
117
120
|
Fr as OpenEyeIcon,
|
|
118
|
-
|
|
121
|
+
_ as Pagination,
|
|
119
122
|
vr as PdfIcon,
|
|
120
123
|
Ko as PinFilledIcon,
|
|
121
124
|
Qo as PinOutlineIcon,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
125
|
+
qr as PlusIcon,
|
|
126
|
+
oo as Popover,
|
|
127
|
+
Qr as PrevChapterIcon,
|
|
128
|
+
Vr as PrevPageIcon,
|
|
126
129
|
Vo as PriorityBlockerIcon,
|
|
127
130
|
Yo as PriorityCriticalIcon,
|
|
128
131
|
Zo as PriorityHighIcon,
|
|
129
132
|
_o as PriorityLowIcon,
|
|
130
133
|
$o as PriorityMediumIcon,
|
|
131
134
|
or as PriorityUnspecifiedIcon,
|
|
132
|
-
|
|
135
|
+
eo as Radio,
|
|
133
136
|
rr as RefreshIcon,
|
|
134
137
|
er as RerunIcon,
|
|
135
138
|
nr as RunManualIcon,
|
|
136
139
|
tr as SearchIcon,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
+
to as Selection,
|
|
141
|
+
go as SidePanel,
|
|
142
|
+
Y as SingleAutocomplete,
|
|
140
143
|
ar as SortIcon,
|
|
141
|
-
|
|
144
|
+
co as SpinLoader,
|
|
142
145
|
cr as StatusSuccessIcon,
|
|
143
146
|
Or as SuccessIcon,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
+
io as SystemAlert,
|
|
148
|
+
so as SystemMessage,
|
|
149
|
+
lo as Table,
|
|
147
150
|
pr as TestPlanIcon,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
151
|
+
fo as ThemeProvider,
|
|
152
|
+
So as Toggle,
|
|
153
|
+
Co as Tooltip,
|
|
154
|
+
Gr as TreeIcon,
|
|
152
155
|
ir as UserIcon,
|
|
153
|
-
|
|
156
|
+
mr as WarningIcon,
|
|
154
157
|
Mr as XlsIcon
|
|
155
158
|
};
|
package/dist/sidePanel.js
CHANGED
|
@@ -1,74 +1,88 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useId as
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"side-
|
|
11
|
-
"
|
|
12
|
-
header:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsxs as s, jsx as i, Fragment as p } from "react/jsx-runtime";
|
|
2
|
+
import { useId as N, useEffect as y } from "react";
|
|
3
|
+
import { c as g } from "./bind-06a7ff84.js";
|
|
4
|
+
import { K as E } from "./keyCodes-f63c0e11.js";
|
|
5
|
+
import { S as x } from "./close-4d480ef7.js";
|
|
6
|
+
import { B as k } from "./baseIconButton-251479f7.js";
|
|
7
|
+
const I = "_active_6bj2z_15", K = "_compact_6bj2z_39", S = "_header_6bj2z_35", w = "_title_6bj2z_65", B = "_description_6bj2z_76", D = "_content_6bj2z_85", L = "_footer_6bj2z_92", P = "_divider_6bj2z_98", $ = {
|
|
8
|
+
"side-panel": "_side-panel_6bj2z_1",
|
|
9
|
+
active: I,
|
|
10
|
+
"side-right": "_side-right_6bj2z_19",
|
|
11
|
+
"side-left": "_side-left_6bj2z_27",
|
|
12
|
+
"header-section": "_header-section_6bj2z_35",
|
|
13
|
+
compact: K,
|
|
14
|
+
header: S,
|
|
15
|
+
"header-content": "_header-content_6bj2z_55",
|
|
16
|
+
"close-button": "_close-button_6bj2z_59",
|
|
17
|
+
title: w,
|
|
16
18
|
description: B,
|
|
17
|
-
content:
|
|
18
|
-
footer:
|
|
19
|
-
divider:
|
|
20
|
-
}, e =
|
|
21
|
-
className:
|
|
22
|
-
title:
|
|
23
|
-
descriptionComponent:
|
|
19
|
+
content: D,
|
|
20
|
+
footer: L,
|
|
21
|
+
divider: P
|
|
22
|
+
}, e = g.bind($), J = ({
|
|
23
|
+
className: h,
|
|
24
|
+
title: c,
|
|
25
|
+
descriptionComponent: r,
|
|
24
26
|
headerComponent: d,
|
|
25
|
-
contentComponent:
|
|
27
|
+
contentComponent: n,
|
|
26
28
|
footerComponent: o,
|
|
27
|
-
top:
|
|
28
|
-
side:
|
|
29
|
-
isOpen:
|
|
29
|
+
top: _ = 0,
|
|
30
|
+
side: b = "right",
|
|
31
|
+
isOpen: a = !0,
|
|
30
32
|
onClose: t,
|
|
31
|
-
closeButtonAriaLabel:
|
|
33
|
+
closeButtonAriaLabel: v = "Close panel"
|
|
32
34
|
}) => {
|
|
33
|
-
const l =
|
|
35
|
+
const l = N(), f = () => {
|
|
34
36
|
t == null || t();
|
|
35
37
|
};
|
|
36
|
-
|
|
38
|
+
y(() => {
|
|
39
|
+
if (!a || !t)
|
|
40
|
+
return;
|
|
41
|
+
const m = (z) => {
|
|
42
|
+
const { keyCode: u } = z;
|
|
43
|
+
u === E.ESCAPE_KEY_CODE && t();
|
|
44
|
+
};
|
|
45
|
+
return document.addEventListener("keydown", m, !1), () => {
|
|
46
|
+
document.removeEventListener("keydown", m, !1);
|
|
47
|
+
};
|
|
48
|
+
}, [a, t]);
|
|
49
|
+
const j = !!(d || r);
|
|
50
|
+
return /* @__PURE__ */ s(
|
|
37
51
|
"aside",
|
|
38
52
|
{
|
|
39
|
-
className: e("side-panel", `side-${
|
|
53
|
+
className: e("side-panel", `side-${b}`, { active: a }, h),
|
|
40
54
|
role: "dialog",
|
|
41
55
|
"aria-modal": "true",
|
|
42
|
-
"aria-hidden": !
|
|
43
|
-
"aria-labelledby":
|
|
44
|
-
style: { top:
|
|
56
|
+
"aria-hidden": !a,
|
|
57
|
+
"aria-labelledby": c ? l : void 0,
|
|
58
|
+
style: { top: _, height: `calc(100vh - ${_}px)` },
|
|
45
59
|
tabIndex: -1,
|
|
46
60
|
children: [
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
(d ||
|
|
49
|
-
|
|
50
|
-
t && /* @__PURE__ */
|
|
51
|
-
|
|
61
|
+
/* @__PURE__ */ s("div", { className: e("header-section", { compact: !j }), children: [
|
|
62
|
+
(d || c) && /* @__PURE__ */ s("div", { className: e("header"), children: [
|
|
63
|
+
c ? /* @__PURE__ */ i("span", { id: l, className: e("title"), children: c }) : d,
|
|
64
|
+
t && /* @__PURE__ */ i(
|
|
65
|
+
k,
|
|
52
66
|
{
|
|
53
67
|
className: e("close-button"),
|
|
54
|
-
onClick:
|
|
55
|
-
"aria-label":
|
|
56
|
-
children: /* @__PURE__ */
|
|
68
|
+
onClick: f,
|
|
69
|
+
"aria-label": v,
|
|
70
|
+
children: /* @__PURE__ */ i(x, {})
|
|
57
71
|
}
|
|
58
72
|
)
|
|
59
73
|
] }),
|
|
60
|
-
|
|
74
|
+
r
|
|
61
75
|
] }),
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
|
|
64
|
-
o && /* @__PURE__ */
|
|
65
|
-
/* @__PURE__ */
|
|
66
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ i("div", { className: e("divider") }),
|
|
77
|
+
n && /* @__PURE__ */ i("div", { className: e("content"), children: n }),
|
|
78
|
+
o && /* @__PURE__ */ s(p, { children: [
|
|
79
|
+
/* @__PURE__ */ i("div", { className: e("divider") }),
|
|
80
|
+
/* @__PURE__ */ i("div", { className: e("footer"), children: o })
|
|
67
81
|
] })
|
|
68
82
|
]
|
|
69
83
|
}
|
|
70
84
|
);
|
|
71
85
|
};
|
|
72
86
|
export {
|
|
73
|
-
|
|
87
|
+
J as SidePanel
|
|
74
88
|
};
|