@reportportal/ui-kit 0.0.1-alpha.115 → 0.0.1-alpha.117
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/breadcrumbs.js +1 -0
- package/dist/common/constants/floatingUi.d.ts +8 -0
- package/dist/common/utils/floatingUi.d.ts +3 -0
- package/dist/common/utils/index.d.ts +1 -0
- package/dist/components/icons/index.d.ts +1 -1
- package/dist/floatingUi-41f8c7b5.js +29 -0
- package/dist/icons.js +22 -22
- package/dist/index.js +107 -106
- package/dist/modal.js +3 -2
- package/dist/pagination.js +1 -0
- package/dist/popover.js +51 -70
- package/dist/sidePanel.js +40 -40
- package/dist/style.css +1 -1
- package/dist/tooltip.js +45 -43
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { B as
|
|
3
|
-
import { B as
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
6
|
-
import { C as
|
|
1
|
+
import { A as C } from "./index-1a874a8b.js";
|
|
2
|
+
import { B as g } from "./baseIconButton-251479f7.js";
|
|
3
|
+
import { B as b } from "./breadcrumbs-8e5ca8d7.js";
|
|
4
|
+
import { B as T } from "./bubblesLoader-f3ffa240.js";
|
|
5
|
+
import { B as A } from "./button-97d9e587.js";
|
|
6
|
+
import { C as v } from "./checkbox-ed6cc375.js";
|
|
7
7
|
import { D as w } from "./datePicker-efa4e2d6.js";
|
|
8
8
|
import "react-datepicker";
|
|
9
|
-
import { D as
|
|
10
|
-
import { FieldLabel as
|
|
11
|
-
import { F as
|
|
9
|
+
import { D as E } from "./dropdown-ec754bbe.js";
|
|
10
|
+
import { FieldLabel as R } from "./fieldLabel.js";
|
|
11
|
+
import { F as U } from "./fieldNumber-d1b5a7a1.js";
|
|
12
12
|
import { F as J } from "./fieldText-ba8a917c.js";
|
|
13
|
-
import { F as
|
|
14
|
-
import { FileDropArea as
|
|
15
|
-
import { Modal as
|
|
16
|
-
import { MultipleAutocomplete as
|
|
17
|
-
import { P as
|
|
18
|
-
import { Popover as
|
|
19
|
-
import { R as
|
|
20
|
-
import { S as
|
|
21
|
-
import { S as
|
|
22
|
-
import { SystemAlert as
|
|
23
|
-
import { S as
|
|
24
|
-
import { T as
|
|
25
|
-
import { T as
|
|
26
|
-
import { T as
|
|
27
|
-
import { Tooltip as
|
|
28
|
-
import { SidePanel as
|
|
29
|
-
import { AddCsvIcon as
|
|
30
|
-
import { S as
|
|
31
|
-
import { S as
|
|
32
|
-
import { S as
|
|
33
|
-
import { S as
|
|
34
|
-
import { S as
|
|
35
|
-
import { S as
|
|
36
|
-
import { S as
|
|
37
|
-
import { S as
|
|
38
|
-
import { S as
|
|
13
|
+
import { F as z } from "./fieldTextFlex-2f51c173.js";
|
|
14
|
+
import { FileDropArea as W } from "./fileDropArea.js";
|
|
15
|
+
import { Modal as j } from "./modal.js";
|
|
16
|
+
import { MultipleAutocomplete as K, SingleAutocomplete as Q } from "./autocompletes.js";
|
|
17
|
+
import { P as Y } from "./pagination-43330c73.js";
|
|
18
|
+
import { Popover as _ } from "./popover.js";
|
|
19
|
+
import { R as oo } from "./radio-62546efa.js";
|
|
20
|
+
import { S as eo } from "./selection-9124d029.js";
|
|
21
|
+
import { S as to } from "./spinLoader-c4a53718.js";
|
|
22
|
+
import { SystemAlert as co } from "./systemAlert.js";
|
|
23
|
+
import { S as io } from "./systemMessage-924fdaa6.js";
|
|
24
|
+
import { T as so } from "./table-8e223d5d.js";
|
|
25
|
+
import { T as lo } from "./themeProvider-46c2be7b.js";
|
|
26
|
+
import { T as fo } from "./toggle-304107fa.js";
|
|
27
|
+
import { Tooltip as So } from "./tooltip.js";
|
|
28
|
+
import { SidePanel as Co } from "./sidePanel.js";
|
|
29
|
+
import { AddCsvIcon as go, AddImageIcon as Do, AddJarIcon as bo, BreadcrumbsTreeIcon as yo, CalendarIcon as To, CheckmarkIcon as ho, ChevronRightBreadcrumbsIcon as Ao, ConfigurationIcon as Bo, CopyIcon as vo, CoveredManuallyIcon as Mo, DeleteIcon as wo, DragAndDropIcon as ko, DragNDropIcon as Eo, DurationIcon as Lo, EditIcon as Ro, ExportIcon as Oo, FilterFilledIcon as Uo, FilterOutlineIcon as Ho, FlagIcon as Jo, GroupByIcon as No, HideIcon as zo, LaunchTypeIcon as Go, MaximizeIcon as Wo, MoveToFolderIcon as Xo, PinFilledIcon as jo, PinOutlineIcon as qo, PriorityBlockerIcon as Ko, PriorityCriticalIcon as Qo, PriorityHighIcon as Vo, PriorityLowIcon as Yo, PriorityMediumIcon as Zo, PriorityUnspecifiedIcon as _o, RefreshIcon as $o, RerunIcon as or, SearchIcon as rr, SortIcon as er, StatusSuccessIcon as nr, TestPlanIcon as tr, UserIcon as ar, WarningIcon as cr } from "./icons.js";
|
|
30
|
+
import { S as ir, a as mr, b as sr } from "./chevronDownDropdown-66f5b1af.js";
|
|
31
|
+
import { S as lr } from "./calendarArrow-44c7e60e.js";
|
|
32
|
+
import { S as fr, a as dr, b as ur } from "./openEye-7b9cf080.js";
|
|
33
|
+
import { S as Pr } from "./close-4d480ef7.js";
|
|
34
|
+
import { S as Fr, a as gr, b as Dr, c as br, d as yr, e as Tr, f as hr } from "./xls-995781cc.js";
|
|
35
|
+
import { S as Br } from "./dropdown-0260bb66.js";
|
|
36
|
+
import { S as Mr, a as wr, b as kr } from "./success-8fd8bd2c.js";
|
|
37
|
+
import { S as Lr, a as Rr } from "./tree-c3dd3d45.js";
|
|
38
|
+
import { S as Ur } from "./minus-2857540f.js";
|
|
39
39
|
import { S as Jr } from "./plus-199fb2a8.js";
|
|
40
|
-
import { S as
|
|
40
|
+
import { S as zr, a as Gr } from "./prevPage-87faf576.js";
|
|
41
41
|
import "react/jsx-runtime";
|
|
42
42
|
import "react";
|
|
43
43
|
import "./bind-06a7ff84.js";
|
|
@@ -52,99 +52,100 @@ import "./isEmpty-ccacb5ff.js";
|
|
|
52
52
|
import "react-dropzone";
|
|
53
53
|
import "framer-motion";
|
|
54
54
|
import "@floating-ui/react";
|
|
55
|
+
import "./floatingUi-41f8c7b5.js";
|
|
55
56
|
import "react-dom";
|
|
56
57
|
export {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
58
|
+
go as AddCsvIcon,
|
|
59
|
+
Do as AddImageIcon,
|
|
60
|
+
bo as AddJarIcon,
|
|
61
|
+
ir as ArrowDownIcon,
|
|
62
|
+
mr as ArrowUpIcon,
|
|
63
|
+
C as AttachedFile,
|
|
64
|
+
g as BaseIconButton,
|
|
65
|
+
b as Breadcrumbs,
|
|
66
|
+
yo as BreadcrumbsTreeIcon,
|
|
67
|
+
T as BubblesLoader,
|
|
68
|
+
A as Button,
|
|
69
|
+
lr as CalendarArrowIcon,
|
|
70
|
+
To as CalendarIcon,
|
|
71
|
+
v as Checkbox,
|
|
72
|
+
ho as CheckmarkIcon,
|
|
73
|
+
sr as ChevronDownDropdownIcon,
|
|
74
|
+
Ao as ChevronRightBreadcrumbsIcon,
|
|
75
|
+
fr as ClearIcon,
|
|
76
|
+
dr as CloseEyeIcon,
|
|
77
|
+
Pr as CloseIcon,
|
|
78
|
+
Bo as ConfigurationIcon,
|
|
79
|
+
vo as CopyIcon,
|
|
80
|
+
Mo as CoveredManuallyIcon,
|
|
81
|
+
Fr as CsvIcon,
|
|
81
82
|
w as DatePicker,
|
|
82
83
|
wo as DeleteIcon,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
ko as DragAndDropIcon,
|
|
85
|
+
Eo as DragNDropIcon,
|
|
86
|
+
E as Dropdown,
|
|
87
|
+
Br as DropdownIcon,
|
|
88
|
+
Lo as DurationIcon,
|
|
89
|
+
Ro as EditIcon,
|
|
90
|
+
Mr as ErrorIcon,
|
|
90
91
|
Oo as ExportIcon,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
gr as ExternalLinkIcon,
|
|
93
|
+
R as FieldLabel,
|
|
94
|
+
U as FieldNumber,
|
|
94
95
|
J as FieldText,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
z as FieldTextFlex,
|
|
97
|
+
W as FileDropArea,
|
|
98
|
+
Dr as FileOtherIcon,
|
|
99
|
+
Uo as FilterFilledIcon,
|
|
99
100
|
Ho as FilterOutlineIcon,
|
|
100
101
|
Jo as FlagIcon,
|
|
101
102
|
No as GroupByIcon,
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
zo as HideIcon,
|
|
104
|
+
br as ImageIcon,
|
|
104
105
|
wr as InfoIcon,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
yr as PdfIcon,
|
|
106
|
+
yr as JarIcon,
|
|
107
|
+
Go as LaunchTypeIcon,
|
|
108
|
+
Wo as MaximizeIcon,
|
|
109
|
+
Lr as MeatballMenuIcon,
|
|
110
|
+
Ur as MinusIcon,
|
|
111
|
+
j as Modal,
|
|
112
|
+
Xo as MoveToFolderIcon,
|
|
113
|
+
K as MultipleAutocomplete,
|
|
114
|
+
ur as OpenEyeIcon,
|
|
115
|
+
Y as Pagination,
|
|
116
|
+
Tr as PdfIcon,
|
|
117
117
|
jo as PinFilledIcon,
|
|
118
118
|
qo as PinOutlineIcon,
|
|
119
119
|
Jr as PlusIcon,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
_ as Popover,
|
|
121
|
+
zr as PrevChapterIcon,
|
|
122
|
+
Gr as PrevPageIcon,
|
|
123
123
|
Ko as PriorityBlockerIcon,
|
|
124
124
|
Qo as PriorityCriticalIcon,
|
|
125
125
|
Vo as PriorityHighIcon,
|
|
126
126
|
Yo as PriorityLowIcon,
|
|
127
127
|
Zo as PriorityMediumIcon,
|
|
128
128
|
_o as PriorityUnspecifiedIcon,
|
|
129
|
-
|
|
129
|
+
oo as Radio,
|
|
130
130
|
$o as RefreshIcon,
|
|
131
131
|
or as RerunIcon,
|
|
132
132
|
rr as SearchIcon,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
eo as Selection,
|
|
134
|
+
Co as SidePanel,
|
|
135
|
+
Q as SingleAutocomplete,
|
|
136
136
|
er as SortIcon,
|
|
137
|
-
|
|
137
|
+
to as SpinLoader,
|
|
138
138
|
nr as StatusSuccessIcon,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
kr as SuccessIcon,
|
|
140
|
+
co as SystemAlert,
|
|
141
|
+
io as SystemMessage,
|
|
142
|
+
so as Table,
|
|
143
143
|
tr as TestPlanIcon,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
ar as
|
|
149
|
-
|
|
144
|
+
lo as ThemeProvider,
|
|
145
|
+
fo as Toggle,
|
|
146
|
+
So as Tooltip,
|
|
147
|
+
Rr as TreeIcon,
|
|
148
|
+
ar as UserIcon,
|
|
149
|
+
cr as WarningIcon,
|
|
150
|
+
hr as XlsIcon
|
|
150
151
|
};
|
package/dist/modal.js
CHANGED
|
@@ -11,6 +11,7 @@ import { B as J } from "./baseIconButton-251479f7.js";
|
|
|
11
11
|
import { S as Q } from "./close-4d480ef7.js";
|
|
12
12
|
import "react-dom";
|
|
13
13
|
import "@floating-ui/react";
|
|
14
|
+
import "./floatingUi-41f8c7b5.js";
|
|
14
15
|
const V = () => {
|
|
15
16
|
const [o, n] = p({ width: 0, height: 0 });
|
|
16
17
|
return b(() => {
|
|
@@ -77,7 +78,7 @@ const V = () => {
|
|
|
77
78
|
"size-default": "_size-default_yxql5_57",
|
|
78
79
|
"size-small": "_size-small_yxql5_69",
|
|
79
80
|
"size-large": "_size-large_yxql5_81"
|
|
80
|
-
}, f = y.bind(ce), re = 0.9, me = 32 + 24, _e = 32 + 8, he = 36 + 16, ue = 32 * 2,
|
|
81
|
+
}, f = y.bind(ce), re = 0.9, me = 32 + 24, _e = 32 + 8, he = 36 + 16, ue = 32 * 2, Ae = ({
|
|
81
82
|
title: o,
|
|
82
83
|
children: n,
|
|
83
84
|
footerNode: l,
|
|
@@ -148,7 +149,7 @@ const V = () => {
|
|
|
148
149
|
) }) });
|
|
149
150
|
};
|
|
150
151
|
export {
|
|
151
|
-
|
|
152
|
+
Ae as Modal,
|
|
152
153
|
C as ModalContent,
|
|
153
154
|
ne as ModalFooter,
|
|
154
155
|
ae as ModalHeader
|
package/dist/pagination.js
CHANGED
package/dist/popover.js
CHANGED
|
@@ -1,99 +1,80 @@
|
|
|
1
|
-
import { jsxs as f, Fragment as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { useFloating as
|
|
4
|
-
import { c as
|
|
5
|
-
|
|
1
|
+
import { jsxs as f, Fragment as G, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as H, useState as O, useCallback as j } from "react";
|
|
3
|
+
import { useFloating as C, offset as L, flip as M, arrow as W, autoUpdate as U, useClick as q, useDismiss as z, useRole as B, useInteractions as J, FloatingFocusManager as K, FloatingArrow as Q } from "@floating-ui/react";
|
|
4
|
+
import { c as V } from "./bind-06a7ff84.js";
|
|
5
|
+
import { g as X, T as g, a as Y, m as Z, b as $, A as ee } from "./floatingUi-41f8c7b5.js";
|
|
6
|
+
const te = "_popover_n3nff_1", se = "_title_n3nff_28", oe = {
|
|
6
7
|
"popover-wrapper": "_popover-wrapper_n3nff_1",
|
|
7
|
-
popover:
|
|
8
|
-
title:
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"left-end"
|
|
16
|
-
], ot = [
|
|
17
|
-
"top",
|
|
18
|
-
"top-start",
|
|
19
|
-
"top-end",
|
|
20
|
-
"right",
|
|
21
|
-
"right-start",
|
|
22
|
-
"right-end",
|
|
23
|
-
"bottom",
|
|
24
|
-
"bottom-start",
|
|
25
|
-
"bottom-end",
|
|
26
|
-
"left",
|
|
27
|
-
"left-start",
|
|
28
|
-
"left-end"
|
|
29
|
-
], it = ({
|
|
30
|
-
className: h,
|
|
31
|
-
content: u,
|
|
32
|
-
children: v,
|
|
33
|
-
placement: _ = "bottom",
|
|
34
|
-
fallbackPlacements: b = ot,
|
|
8
|
+
popover: te,
|
|
9
|
+
title: se
|
|
10
|
+
}, l = V.bind(oe), ce = ({
|
|
11
|
+
className: u,
|
|
12
|
+
content: d,
|
|
13
|
+
children: _,
|
|
14
|
+
placement: v = "bottom",
|
|
15
|
+
fallbackPlacements: A = $,
|
|
35
16
|
title: i,
|
|
36
|
-
arrowOffset: o =
|
|
37
|
-
safeZone:
|
|
17
|
+
arrowOffset: o = ee,
|
|
18
|
+
safeZone: h = 4,
|
|
38
19
|
arrowColor: x = "white",
|
|
39
|
-
dataAutomationId:
|
|
40
|
-
isOpened:
|
|
41
|
-
setIsOpened:
|
|
42
|
-
isCentered:
|
|
20
|
+
dataAutomationId: F,
|
|
21
|
+
isOpened: R,
|
|
22
|
+
setIsOpened: n,
|
|
23
|
+
isCentered: r = !0
|
|
43
24
|
}) => {
|
|
44
|
-
const c =
|
|
45
|
-
|
|
46
|
-
},
|
|
47
|
-
(
|
|
48
|
-
[o,
|
|
49
|
-
), { placement: E, refs: m, floatingStyles:
|
|
25
|
+
const c = H(null), [w, N] = O(!1), p = n ? R : w, T = (e) => {
|
|
26
|
+
n ? n(e) : N(e);
|
|
27
|
+
}, b = j(
|
|
28
|
+
(e, a) => X(e, a, o, r),
|
|
29
|
+
[o, r]
|
|
30
|
+
), { placement: E, refs: m, floatingStyles: P, context: t } = C({
|
|
50
31
|
open: p,
|
|
51
|
-
onOpenChange:
|
|
52
|
-
placement:
|
|
32
|
+
onOpenChange: T,
|
|
33
|
+
placement: v,
|
|
53
34
|
middleware: [
|
|
54
|
-
|
|
55
|
-
mainAxis:
|
|
56
|
-
alignmentAxis:
|
|
35
|
+
L(({ rects: e, placement: a }) => ({
|
|
36
|
+
mainAxis: h + g,
|
|
37
|
+
alignmentAxis: b(e, a)
|
|
57
38
|
})),
|
|
58
|
-
|
|
39
|
+
M({
|
|
59
40
|
fallbackAxisSideDirection: "start",
|
|
60
|
-
fallbackPlacements:
|
|
41
|
+
fallbackPlacements: A
|
|
61
42
|
}),
|
|
62
|
-
|
|
43
|
+
W({
|
|
63
44
|
element: c
|
|
64
45
|
})
|
|
65
46
|
],
|
|
66
|
-
whileElementsMounted:
|
|
67
|
-
}),
|
|
68
|
-
return /* @__PURE__ */ f(
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
p && /* @__PURE__ */
|
|
47
|
+
whileElementsMounted: U
|
|
48
|
+
}), k = q(t), I = z(t), S = B(t), { getReferenceProps: y, getFloatingProps: D } = J([k, I, S]);
|
|
49
|
+
return /* @__PURE__ */ f(G, { children: [
|
|
50
|
+
/* @__PURE__ */ s("div", { ref: m.setReference, ...y(), className: l("popover-wrapper"), children: _ }),
|
|
51
|
+
p && /* @__PURE__ */ s(K, { context: t, modal: !1, children: /* @__PURE__ */ f(
|
|
71
52
|
"div",
|
|
72
53
|
{
|
|
73
|
-
className:
|
|
74
|
-
"data-automation-id":
|
|
54
|
+
className: l("popover", u),
|
|
55
|
+
"data-automation-id": F,
|
|
75
56
|
ref: m.setFloating,
|
|
76
|
-
style:
|
|
77
|
-
...
|
|
57
|
+
style: P,
|
|
58
|
+
...D,
|
|
78
59
|
children: [
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
|
|
60
|
+
/* @__PURE__ */ s(
|
|
61
|
+
Q,
|
|
81
62
|
{
|
|
82
63
|
ref: c,
|
|
83
|
-
context:
|
|
84
|
-
width:
|
|
64
|
+
context: t,
|
|
65
|
+
width: Y,
|
|
85
66
|
height: g,
|
|
86
67
|
fill: x,
|
|
87
|
-
staticOffset:
|
|
68
|
+
staticOffset: Z.includes(E) ? null : o
|
|
88
69
|
}
|
|
89
70
|
),
|
|
90
|
-
i && /* @__PURE__ */
|
|
91
|
-
|
|
71
|
+
i && /* @__PURE__ */ s("div", { className: l("title"), children: i }),
|
|
72
|
+
d
|
|
92
73
|
]
|
|
93
74
|
}
|
|
94
75
|
) })
|
|
95
76
|
] });
|
|
96
77
|
};
|
|
97
78
|
export {
|
|
98
|
-
|
|
79
|
+
ce as Popover
|
|
99
80
|
};
|
package/dist/sidePanel.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useId as
|
|
3
|
-
import { c as
|
|
4
|
-
import { S as
|
|
5
|
-
import { B as
|
|
6
|
-
const g = "
|
|
7
|
-
"side-panel": "_side-
|
|
1
|
+
import { jsxs as a, jsx as i, Fragment as w } from "react/jsx-runtime";
|
|
2
|
+
import { useId as f } from "react";
|
|
3
|
+
import { c as p } from "./bind-06a7ff84.js";
|
|
4
|
+
import { S as N } from "./close-4d480ef7.js";
|
|
5
|
+
import { B as b } from "./baseIconButton-251479f7.js";
|
|
6
|
+
const g = "_active_niweu_15", x = "_header_niweu_35", I = "_title_niweu_62", y = "_description_niweu_73", B = "_content_niweu_82", S = "_footer_niweu_89", j = "_divider_niweu_95", $ = {
|
|
7
|
+
"side-panel": "_side-panel_niweu_1",
|
|
8
8
|
active: g,
|
|
9
|
-
"side-right": "_side-
|
|
10
|
-
"side-left": "_side-
|
|
11
|
-
"header-section": "_header-
|
|
9
|
+
"side-right": "_side-right_niweu_19",
|
|
10
|
+
"side-left": "_side-left_niweu_27",
|
|
11
|
+
"header-section": "_header-section_niweu_35",
|
|
12
12
|
header: x,
|
|
13
|
-
"header-content": "_header-
|
|
14
|
-
"close-button": "_close-
|
|
13
|
+
"header-content": "_header-content_niweu_52",
|
|
14
|
+
"close-button": "_close-button_niweu_56",
|
|
15
15
|
title: I,
|
|
16
16
|
description: y,
|
|
17
17
|
content: B,
|
|
18
18
|
footer: S,
|
|
19
19
|
divider: j
|
|
20
|
-
}, e =
|
|
20
|
+
}, e = p.bind($), A = ({
|
|
21
21
|
className: _,
|
|
22
|
-
title:
|
|
23
|
-
descriptionComponent:
|
|
24
|
-
headerComponent:
|
|
25
|
-
contentComponent:
|
|
26
|
-
footerComponent:
|
|
27
|
-
top:
|
|
28
|
-
side:
|
|
22
|
+
title: t,
|
|
23
|
+
descriptionComponent: h,
|
|
24
|
+
headerComponent: d,
|
|
25
|
+
contentComponent: n,
|
|
26
|
+
footerComponent: c,
|
|
27
|
+
top: r = 0,
|
|
28
|
+
side: u = "right",
|
|
29
29
|
isOpen: l = !0,
|
|
30
|
-
onClose:
|
|
30
|
+
onClose: s,
|
|
31
31
|
closeButtonAriaLabel: m = "Close panel"
|
|
32
32
|
}) => {
|
|
33
|
-
const o =
|
|
34
|
-
|
|
33
|
+
const o = f(), v = () => {
|
|
34
|
+
s == null || s();
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ a(
|
|
37
37
|
"aside",
|
|
38
38
|
{
|
|
39
|
-
className: e("side-panel", `side-${
|
|
39
|
+
className: e("side-panel", `side-${u}`, { active: l }, _),
|
|
40
40
|
role: "dialog",
|
|
41
41
|
"aria-modal": "true",
|
|
42
42
|
"aria-hidden": !l,
|
|
43
|
-
"aria-labelledby":
|
|
44
|
-
style: { top:
|
|
43
|
+
"aria-labelledby": t ? o : void 0,
|
|
44
|
+
style: { top: r, height: `calc(100vh - ${r}px)` },
|
|
45
45
|
tabIndex: -1,
|
|
46
46
|
children: [
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
/* @__PURE__ */ a("div", { className: e("header-section"), children: [
|
|
48
|
+
(d || t) && /* @__PURE__ */ a("div", { className: e("header"), children: [
|
|
49
|
+
t ? /* @__PURE__ */ i("span", { id: o, className: e("title"), children: t }) : d,
|
|
50
|
+
s && /* @__PURE__ */ i(
|
|
51
|
+
b,
|
|
52
52
|
{
|
|
53
53
|
className: e("close-button"),
|
|
54
|
-
onClick:
|
|
54
|
+
onClick: v,
|
|
55
55
|
"aria-label": m,
|
|
56
|
-
children: /* @__PURE__ */
|
|
56
|
+
children: /* @__PURE__ */ i(N, {})
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
59
|
] }),
|
|
60
|
-
|
|
60
|
+
h
|
|
61
61
|
] }),
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
/* @__PURE__ */
|
|
66
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ i("div", { className: e("divider") }),
|
|
63
|
+
n && /* @__PURE__ */ i("div", { className: e("content"), children: n }),
|
|
64
|
+
c && /* @__PURE__ */ a(w, { children: [
|
|
65
|
+
/* @__PURE__ */ i("div", { className: e("divider") }),
|
|
66
|
+
/* @__PURE__ */ i("div", { className: e("footer"), children: c })
|
|
67
67
|
] })
|
|
68
68
|
]
|
|
69
69
|
}
|