@reportportal/ui-kit 0.0.1-alpha.134 → 0.0.1-alpha.136
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/common/constants/sortable.d.ts +1 -0
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useSortable.d.ts +3 -0
- package/dist/common/types/index.d.ts +2 -0
- package/dist/common/types/sortableTypes.d.ts +69 -0
- package/dist/common/utils/testUtils.d.ts +3 -0
- package/dist/components/autocompletes/multipleAutocomplete/selectedItems/selectedItems.d.ts +1 -1
- package/dist/components/datePicker/datePicker.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/sortable/dragLayer/dragLayer.d.ts +3 -0
- package/dist/components/sortable/dragLayer/index.d.ts +1 -0
- package/dist/components/sortable/helpers.d.ts +4 -0
- package/dist/components/sortable/index.d.ts +3 -0
- package/dist/components/sortable/sortableItem/index.d.ts +1 -0
- package/dist/components/sortable/sortableItem/sortableItem.d.ts +3 -0
- package/dist/components/sortable/sortableList/index.d.ts +1 -0
- package/dist/components/sortable/sortableList/sortableList.d.ts +5 -0
- package/dist/components/table/types.d.ts +2 -0
- package/dist/{datePicker-5b3b45b6.js → datePicker-926c9cae.js} +23 -23
- package/dist/datePicker.js +2 -2
- package/dist/index.js +145 -139
- package/dist/modal.js +4 -2
- package/dist/sortable.js +160 -0
- package/dist/style.css +1 -1
- package/dist/table-fc9f095d.js +499 -0
- package/dist/table.js +5 -1
- package/package.json +3 -1
- package/dist/table-8e223d5d.js +0 -485
- /package/dist/common/{types.d.ts → types/commonTypes.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_SORTABLE_TYPE = "SORTABLE_ITEM";
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { ReactNode, Ref } from 'react';
|
|
2
|
+
import { XYCoord, ConnectDragSource, ConnectDropTarget, ConnectDragPreview } from 'react-dnd';
|
|
3
|
+
|
|
4
|
+
export interface SortableItemData {
|
|
5
|
+
id: string | number;
|
|
6
|
+
index: number;
|
|
7
|
+
}
|
|
8
|
+
export interface DragItem extends SortableItemData {
|
|
9
|
+
type: string;
|
|
10
|
+
}
|
|
11
|
+
export interface UseSortableOptions {
|
|
12
|
+
id: string | number;
|
|
13
|
+
index: number;
|
|
14
|
+
type?: string;
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
onDrop?: (fromIndex: number, toIndex: number) => void;
|
|
17
|
+
hideDefaultPreview?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface UseSortableReturn {
|
|
20
|
+
isDragging: boolean;
|
|
21
|
+
isOver: boolean;
|
|
22
|
+
draggedItemIndex: number | null;
|
|
23
|
+
dropPosition: 'top' | 'bottom' | null;
|
|
24
|
+
dragRef: ConnectDragSource;
|
|
25
|
+
dropRef: ConnectDropTarget;
|
|
26
|
+
previewRef: ConnectDragPreview;
|
|
27
|
+
}
|
|
28
|
+
export interface SortableItemRenderProps {
|
|
29
|
+
isDragging: boolean;
|
|
30
|
+
isOver: boolean;
|
|
31
|
+
dragRef: Ref<HTMLElement>;
|
|
32
|
+
}
|
|
33
|
+
export interface SortableItemProps {
|
|
34
|
+
id: string | number;
|
|
35
|
+
index: number;
|
|
36
|
+
type?: string;
|
|
37
|
+
isDisabled?: boolean;
|
|
38
|
+
className?: string;
|
|
39
|
+
draggingClassName?: string;
|
|
40
|
+
dropTargetClassName?: string;
|
|
41
|
+
onDrop?: (fromIndex: number, toIndex: number) => void;
|
|
42
|
+
hideDefaultPreview?: boolean;
|
|
43
|
+
children: ReactNode | ((props: SortableItemRenderProps) => ReactNode);
|
|
44
|
+
}
|
|
45
|
+
export interface SortableListProps<T extends {
|
|
46
|
+
id: string | number;
|
|
47
|
+
}> {
|
|
48
|
+
items: T[];
|
|
49
|
+
type?: string;
|
|
50
|
+
isDisabled?: boolean;
|
|
51
|
+
className?: string;
|
|
52
|
+
itemClassName?: string;
|
|
53
|
+
onReorder: (reorderedItems: T[]) => void;
|
|
54
|
+
renderItem: (item: T, index: number, dragRef: Ref<HTMLElement>, isDragging: boolean) => ReactNode;
|
|
55
|
+
keyExtractor?: (item: T) => string | number;
|
|
56
|
+
}
|
|
57
|
+
export interface DragLayerProps {
|
|
58
|
+
type: string;
|
|
59
|
+
renderPreview: (item: DragItem) => ReactNode;
|
|
60
|
+
className?: string;
|
|
61
|
+
previewClassName?: string;
|
|
62
|
+
portalTarget?: Element | null;
|
|
63
|
+
}
|
|
64
|
+
export interface DragLayerCollectedProps {
|
|
65
|
+
item: DragItem | null;
|
|
66
|
+
itemType: string | symbol | null;
|
|
67
|
+
clientOffset: XYCoord | null;
|
|
68
|
+
isDragging: boolean;
|
|
69
|
+
}
|
|
@@ -37,5 +37,5 @@ type SelectedItemsProps<T> = Omit<SelectedItemProps<T>, 'item' | 'editItem'> & {
|
|
|
37
37
|
selectedItemClassName?: string;
|
|
38
38
|
selectedItemTextClassName?: string;
|
|
39
39
|
};
|
|
40
|
-
export declare const SelectedItems: <T>({ items, parseValueToString, getItemValidationErrorType, storedItemsMap, highlightUnStoredItem, renderCustomSelectedItem, selectedItemSingleLine, selectedItemClassName, selectedItemTextClassName, ...props }: SelectedItemsProps<T>) => (string | number | boolean | import("react/jsx-runtime").JSX.Element |
|
|
40
|
+
export declare const SelectedItems: <T>({ items, parseValueToString, getItemValidationErrorType, storedItemsMap, highlightUnStoredItem, renderCustomSelectedItem, selectedItemSingleLine, selectedItemClassName, selectedItemTextClassName, ...props }: SelectedItemsProps<T>) => (string | number | boolean | Iterable<ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined)[];
|
|
41
41
|
export {};
|
|
@@ -22,6 +22,7 @@ export { SpinLoader } from './spinLoader';
|
|
|
22
22
|
export { SystemAlert } from './systemAlert';
|
|
23
23
|
export { SystemMessage } from './systemMessage';
|
|
24
24
|
export { SingleAutocomplete } from './autocompletes/singleAutocomplete';
|
|
25
|
+
export { SortableItem, SortableList, DragLayer } from './sortable';
|
|
25
26
|
export { Table } from './table';
|
|
26
27
|
export { ThemeProvider } from './themeProvider';
|
|
27
28
|
export { Toggle } from './toggle';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DragLayer } from './dragLayer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SortableItem } from './sortableItem';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SortableItemProps } from '../../../common/types';
|
|
2
|
+
|
|
3
|
+
export declare const SortableItem: ({ id, index, type, isDisabled, className, draggingClassName, dropTargetClassName, onDrop, hideDefaultPreview, children, }: SortableItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SortableList } from './sortableList';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SortableListProps } from '../../../common/types';
|
|
2
|
+
|
|
3
|
+
export declare const SortableList: <T extends {
|
|
4
|
+
id: string | number;
|
|
5
|
+
}>({ items, type, isDisabled, className, itemClassName, onReorder, renderItem, keyExtractor, }: SortableListProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -57,6 +57,8 @@ export interface TableComponentProps {
|
|
|
57
57
|
isRowsExpandable?: boolean;
|
|
58
58
|
expandedRowIds?: (string | number)[];
|
|
59
59
|
setExpandedRowIds?: Dispatch<SetStateAction<Set<string | number>>>;
|
|
60
|
+
isAllExpandedByDefault?: boolean;
|
|
61
|
+
expandAllTooltip?: ReactNode;
|
|
60
62
|
onChangeSorting?: (sortConfig?: SortConfig) => void;
|
|
61
63
|
onToggleRowSelection?: (id: string | number) => void;
|
|
62
64
|
onToggleAllRowsSelection?: () => void;
|
|
@@ -35,20 +35,20 @@ const ie = (n, s) => {
|
|
|
35
35
|
headerNodes: b = null,
|
|
36
36
|
customClassName: w = "",
|
|
37
37
|
yearsOptions: p = [],
|
|
38
|
-
locale:
|
|
38
|
+
locale: y
|
|
39
39
|
}) => {
|
|
40
|
-
const
|
|
41
|
-
const e = Array(12).keys(),
|
|
40
|
+
const c = n.getFullYear(), C = n.getMonth(), f = P(() => {
|
|
41
|
+
const e = Array(12).keys(), l = new Intl.DateTimeFormat(y, {
|
|
42
42
|
month: "long"
|
|
43
|
-
}), d = (m) =>
|
|
44
|
-
return Array.from(e, d).reduce((m,
|
|
43
|
+
}), d = (m) => l.format(new Date(c, m));
|
|
44
|
+
return Array.from(e, d).reduce((m, N, x) => m.concat({
|
|
45
45
|
value: x,
|
|
46
|
-
label:
|
|
46
|
+
label: N
|
|
47
47
|
}), []);
|
|
48
|
-
}, []), v = P(() => (p.length > 0 ? p : G(
|
|
49
|
-
(
|
|
48
|
+
}, [y, c]), v = P(() => (p.length > 0 ? p : G(c)).reduce(
|
|
49
|
+
(l, d) => l.concat({ value: d, label: `${d}` }),
|
|
50
50
|
[]
|
|
51
|
-
), [p,
|
|
51
|
+
), [p, c]), A = (e) => {
|
|
52
52
|
i(e);
|
|
53
53
|
}, k = (e) => {
|
|
54
54
|
s(e);
|
|
@@ -73,7 +73,7 @@ const ie = (n, s) => {
|
|
|
73
73
|
/* @__PURE__ */ r(
|
|
74
74
|
E,
|
|
75
75
|
{
|
|
76
|
-
options:
|
|
76
|
+
options: f,
|
|
77
77
|
value: C,
|
|
78
78
|
onChange: A,
|
|
79
79
|
transparentBackground: !0,
|
|
@@ -85,7 +85,7 @@ const ie = (n, s) => {
|
|
|
85
85
|
E,
|
|
86
86
|
{
|
|
87
87
|
options: v,
|
|
88
|
-
value:
|
|
88
|
+
value: c,
|
|
89
89
|
onChange: k,
|
|
90
90
|
transparentBackground: !0,
|
|
91
91
|
className: a("dropdown"),
|
|
@@ -131,22 +131,22 @@ const ie = (n, s) => {
|
|
|
131
131
|
customClassName: b = "",
|
|
132
132
|
customTimeInput: w = void 0,
|
|
133
133
|
shouldCloseOnSelect: p = !0,
|
|
134
|
-
popperClassName:
|
|
135
|
-
calendarClassName:
|
|
134
|
+
popperClassName: y = "",
|
|
135
|
+
calendarClassName: c = "",
|
|
136
136
|
fixedHeight: C = !1,
|
|
137
|
-
language:
|
|
137
|
+
language: f = te,
|
|
138
138
|
yearsOptions: v = [],
|
|
139
139
|
placeholder: A = L.toUpperCase(),
|
|
140
140
|
dateFormat: k = L,
|
|
141
141
|
selects: e = "start",
|
|
142
|
-
value:
|
|
142
|
+
value: l = null
|
|
143
143
|
}) => {
|
|
144
|
-
const d = D(null), S = o == null ? void 0 : o.toDateString(), m = t == null ? void 0 : t.toDateString(),
|
|
145
|
-
const M = u.toDateString(), Y = M === S, q =
|
|
144
|
+
const d = D(null), S = o == null ? void 0 : o.toDateString(), m = t == null ? void 0 : t.toDateString(), N = t && o && t > o, x = (u) => {
|
|
145
|
+
const M = u.toDateString(), Y = M === S, q = N && M === m, U = o && t && u > o && u < t;
|
|
146
146
|
return _("date", {
|
|
147
147
|
"current-date": Y,
|
|
148
148
|
"selected-range": U && !q,
|
|
149
|
-
"end-date": q &&
|
|
149
|
+
"end-date": q && N,
|
|
150
150
|
disabled: s
|
|
151
151
|
});
|
|
152
152
|
};
|
|
@@ -155,16 +155,16 @@ const ie = (n, s) => {
|
|
|
155
155
|
{
|
|
156
156
|
customInput: /* @__PURE__ */ r(I, { className: _("input"), defaultWidth: !1, ref: d }),
|
|
157
157
|
placeholderText: A,
|
|
158
|
-
selected:
|
|
158
|
+
selected: l,
|
|
159
159
|
startDate: o,
|
|
160
160
|
endDate: t,
|
|
161
161
|
disabled: s,
|
|
162
162
|
shouldCloseOnSelect: p,
|
|
163
163
|
fixedHeight: C,
|
|
164
|
-
locale:
|
|
164
|
+
locale: f,
|
|
165
165
|
showPopperArrow: !1,
|
|
166
166
|
dayClassName: x,
|
|
167
|
-
calendarClassName: _(
|
|
167
|
+
calendarClassName: _(c, "calendar"),
|
|
168
168
|
renderCustomHeader: (u) => /* @__PURE__ */ r(
|
|
169
169
|
z,
|
|
170
170
|
{
|
|
@@ -172,7 +172,7 @@ const ie = (n, s) => {
|
|
|
172
172
|
headerNodes: h,
|
|
173
173
|
customClassName: b,
|
|
174
174
|
yearsOptions: v,
|
|
175
|
-
locale:
|
|
175
|
+
locale: f
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
onChange: n,
|
|
@@ -180,7 +180,7 @@ const ie = (n, s) => {
|
|
|
180
180
|
onFocus: g,
|
|
181
181
|
customTimeInput: w,
|
|
182
182
|
showTimeInput: !!w,
|
|
183
|
-
popperClassName: _(
|
|
183
|
+
popperClassName: _(y, "popper"),
|
|
184
184
|
dateFormat: k,
|
|
185
185
|
selectsStart: e === "start",
|
|
186
186
|
selectsEnd: e === "end",
|
package/dist/datePicker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as t } from "./datePicker-
|
|
2
|
-
import { r as z } from "./datePicker-
|
|
1
|
+
import { D as t } from "./datePicker-926c9cae.js";
|
|
2
|
+
import { r as z } from "./datePicker-926c9cae.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react-datepicker/dist/es/index.js";
|
|
5
5
|
import "./bind-06a7ff84.js";
|
package/dist/index.js
CHANGED
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { B as
|
|
3
|
-
import { B as
|
|
4
|
-
import { B } from "./bubblesLoader-f3ffa240.js";
|
|
5
|
-
import { B as
|
|
6
|
-
import { C as
|
|
7
|
-
import { D as
|
|
1
|
+
import { A as F } from "./index-1a874a8b.js";
|
|
2
|
+
import { B as D } from "./baseIconButton-251479f7.js";
|
|
3
|
+
import { B as y } 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 M } from "./checkbox-ed6cc375.js";
|
|
7
|
+
import { D as L } from "./datePicker-926c9cae.js";
|
|
8
8
|
import "react-datepicker";
|
|
9
|
-
import { D as
|
|
10
|
-
import { FieldLabel as
|
|
11
|
-
import { F as
|
|
12
|
-
import { F as
|
|
13
|
-
import { F as
|
|
14
|
-
import { FileDropArea as
|
|
15
|
-
import { FiltersButton as
|
|
16
|
-
import { Modal as
|
|
17
|
-
import { MultipleAutocomplete as
|
|
18
|
-
import { P as
|
|
19
|
-
import { Popover as
|
|
20
|
-
import { R as
|
|
21
|
-
import { S as
|
|
22
|
-
import { S as
|
|
23
|
-
import { SystemAlert as
|
|
24
|
-
import { S as
|
|
25
|
-
import {
|
|
26
|
-
import { T as
|
|
27
|
-
import { T as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import { S as
|
|
33
|
-
import { S as
|
|
34
|
-
import { S as
|
|
35
|
-
import { S as
|
|
36
|
-
import { S as
|
|
37
|
-
import { S as wr } from "./
|
|
38
|
-
import { S as
|
|
39
|
-
import { S as
|
|
40
|
-
import { S as
|
|
41
|
-
import { S as
|
|
42
|
-
import { S as
|
|
43
|
-
import { S as
|
|
9
|
+
import { D as E } from "./dropdown-360803d5.js";
|
|
10
|
+
import { FieldLabel as O } from "./fieldLabel.js";
|
|
11
|
+
import { F as H } from "./fieldNumber-d1b5a7a1.js";
|
|
12
|
+
import { F as N } from "./fieldText-1749da7a.js";
|
|
13
|
+
import { F as G } from "./fieldTextFlex-2f51c173.js";
|
|
14
|
+
import { FileDropArea as X } from "./fileDropArea.js";
|
|
15
|
+
import { FiltersButton as q } from "./filtersButton.js";
|
|
16
|
+
import { Modal as Q } from "./modal.js";
|
|
17
|
+
import { MultipleAutocomplete as Y, SingleAutocomplete as Z } from "./autocompletes.js";
|
|
18
|
+
import { P as $ } from "./pagination-a3dee614.js";
|
|
19
|
+
import { Popover as ro } from "./popover.js";
|
|
20
|
+
import { R as to } from "./radio-62546efa.js";
|
|
21
|
+
import { S as ao } from "./selection-9124d029.js";
|
|
22
|
+
import { S as po } from "./spinLoader-c4a53718.js";
|
|
23
|
+
import { SystemAlert as mo } from "./systemAlert.js";
|
|
24
|
+
import { S as Io } from "./systemMessage-924fdaa6.js";
|
|
25
|
+
import { DragLayer as xo, SortableItem as fo, SortableList as uo } from "./sortable.js";
|
|
26
|
+
import { T as Po } from "./table-fc9f095d.js";
|
|
27
|
+
import { T as Fo } from "./themeProvider-46c2be7b.js";
|
|
28
|
+
import { T as Do } from "./toggle-304107fa.js";
|
|
29
|
+
import { Tooltip as yo } from "./tooltip.js";
|
|
30
|
+
import { SidePanel as To } from "./sidePanel.js";
|
|
31
|
+
import { AddCsvIcon as Ao, AddImageIcon as vo, AddJarIcon as Mo, BreadcrumbsTreeIcon as wo, CalendarIcon as Lo, CheckmarkIcon as ko, ChevronRightBreadcrumbsIcon as Eo, ConfigurationIcon as Ro, CopyIcon as Oo, CoverageFullIcon as Uo, CoveragePartialIcon as Ho, CoveredManuallyIcon as Jo, DeleteIcon as No, DragAndDropIcon as zo, DragNDropIcon as Go, DurationIcon as Wo, EditIcon as Xo, ExportIcon as jo, FlagIcon as qo, GroupByIcon as Ko, HideIcon as Qo, LaunchTypeIcon as Vo, MaximizeIcon as Yo, MoveToFolderIcon as Zo, PinFilledIcon as _o, PinOutlineIcon as $o, PriorityBlockerIcon as or, PriorityCriticalIcon as rr, PriorityHighIcon as er, PriorityLowIcon as tr, PriorityMediumIcon as nr, PriorityUnspecifiedIcon as ar, RefreshIcon as cr, RerunIcon as pr, RunManualIcon as ir, SearchIcon as mr, SortIcon as sr, StatusSuccessIcon as Ir, TestPlanIcon as lr, UserIcon as xr, WarningIcon as fr } from "./icons.js";
|
|
32
|
+
import { S as ur, a as Sr, b as Pr } from "./chevronDownDropdown-66f5b1af.js";
|
|
33
|
+
import { S as Fr } from "./calendarArrow-44c7e60e.js";
|
|
34
|
+
import { S as Dr } from "./clear-53660571.js";
|
|
35
|
+
import { S as yr, a as Br } from "./openEye-950159cb.js";
|
|
36
|
+
import { S as hr } from "./close-4d480ef7.js";
|
|
37
|
+
import { S as vr, a as Mr, b as wr, c as Lr, d as kr, e as Er, f as Rr } from "./xls-995781cc.js";
|
|
38
|
+
import { S as Ur } from "./dropdown-0260bb66.js";
|
|
39
|
+
import { S as Jr, a as Nr, b as zr } from "./success-8fd8bd2c.js";
|
|
40
|
+
import { S as Wr, a as Xr } from "./filterOutline-819b4b0d.js";
|
|
41
|
+
import { S as qr, a as Kr } from "./tree-c3dd3d45.js";
|
|
42
|
+
import { S as Vr } from "./minus-2857540f.js";
|
|
43
|
+
import { S as Zr } from "./plus-199fb2a8.js";
|
|
44
|
+
import { S as $r, a as oe } from "./prevPage-87faf576.js";
|
|
44
45
|
import "react/jsx-runtime";
|
|
45
46
|
import "react";
|
|
46
47
|
import "./bind-06a7ff84.js";
|
|
@@ -54,104 +55,109 @@ import "./maxValueDisplay-9be01a75.js";
|
|
|
54
55
|
import "./isEmpty-ccacb5ff.js";
|
|
55
56
|
import "react-dropzone";
|
|
56
57
|
import "framer-motion";
|
|
58
|
+
import "react-dnd";
|
|
59
|
+
import "react-dnd-html5-backend";
|
|
57
60
|
import "@floating-ui/react";
|
|
58
61
|
import "./floatingUi-41f8c7b5.js";
|
|
59
62
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
O as
|
|
99
|
-
H as
|
|
100
|
-
N as
|
|
101
|
-
G as
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
Lr as
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
po as
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
63
|
+
Ao as AddCsvIcon,
|
|
64
|
+
vo as AddImageIcon,
|
|
65
|
+
Mo as AddJarIcon,
|
|
66
|
+
ur as ArrowDownIcon,
|
|
67
|
+
Sr as ArrowUpIcon,
|
|
68
|
+
F as AttachedFile,
|
|
69
|
+
D as BaseIconButton,
|
|
70
|
+
y as Breadcrumbs,
|
|
71
|
+
wo as BreadcrumbsTreeIcon,
|
|
72
|
+
T as BubblesLoader,
|
|
73
|
+
A as Button,
|
|
74
|
+
Fr as CalendarArrowIcon,
|
|
75
|
+
Lo as CalendarIcon,
|
|
76
|
+
M as Checkbox,
|
|
77
|
+
ko as CheckmarkIcon,
|
|
78
|
+
Pr as ChevronDownDropdownIcon,
|
|
79
|
+
Eo as ChevronRightBreadcrumbsIcon,
|
|
80
|
+
Dr as ClearIcon,
|
|
81
|
+
yr as CloseEyeIcon,
|
|
82
|
+
hr as CloseIcon,
|
|
83
|
+
Ro as ConfigurationIcon,
|
|
84
|
+
Oo as CopyIcon,
|
|
85
|
+
Uo as CoverageFullIcon,
|
|
86
|
+
Ho as CoveragePartialIcon,
|
|
87
|
+
Jo as CoveredManuallyIcon,
|
|
88
|
+
vr as CsvIcon,
|
|
89
|
+
L as DatePicker,
|
|
90
|
+
No as DeleteIcon,
|
|
91
|
+
zo as DragAndDropIcon,
|
|
92
|
+
xo as DragLayer,
|
|
93
|
+
Go as DragNDropIcon,
|
|
94
|
+
E as Dropdown,
|
|
95
|
+
Ur as DropdownIcon,
|
|
96
|
+
Wo as DurationIcon,
|
|
97
|
+
Xo as EditIcon,
|
|
98
|
+
Jr as ErrorIcon,
|
|
99
|
+
jo as ExportIcon,
|
|
100
|
+
Mr as ExternalLinkIcon,
|
|
101
|
+
O as FieldLabel,
|
|
102
|
+
H as FieldNumber,
|
|
103
|
+
N as FieldText,
|
|
104
|
+
G as FieldTextFlex,
|
|
105
|
+
X as FileDropArea,
|
|
106
|
+
wr as FileOtherIcon,
|
|
107
|
+
Wr as FilterFilledIcon,
|
|
108
|
+
Xr as FilterOutlineIcon,
|
|
109
|
+
q as FiltersButton,
|
|
110
|
+
qo as FlagIcon,
|
|
111
|
+
Ko as GroupByIcon,
|
|
112
|
+
Qo as HideIcon,
|
|
113
|
+
Lr as ImageIcon,
|
|
114
|
+
Nr as InfoIcon,
|
|
115
|
+
kr as JarIcon,
|
|
116
|
+
Vo as LaunchTypeIcon,
|
|
117
|
+
Yo as MaximizeIcon,
|
|
118
|
+
qr as MeatballMenuIcon,
|
|
119
|
+
Vr as MinusIcon,
|
|
120
|
+
Q as Modal,
|
|
121
|
+
Zo as MoveToFolderIcon,
|
|
122
|
+
Y as MultipleAutocomplete,
|
|
123
|
+
Br as OpenEyeIcon,
|
|
124
|
+
$ as Pagination,
|
|
125
|
+
Er as PdfIcon,
|
|
126
|
+
_o as PinFilledIcon,
|
|
127
|
+
$o as PinOutlineIcon,
|
|
128
|
+
Zr as PlusIcon,
|
|
129
|
+
ro as Popover,
|
|
130
|
+
$r as PrevChapterIcon,
|
|
131
|
+
oe as PrevPageIcon,
|
|
132
|
+
or as PriorityBlockerIcon,
|
|
133
|
+
rr as PriorityCriticalIcon,
|
|
134
|
+
er as PriorityHighIcon,
|
|
135
|
+
tr as PriorityLowIcon,
|
|
136
|
+
nr as PriorityMediumIcon,
|
|
137
|
+
ar as PriorityUnspecifiedIcon,
|
|
138
|
+
to as Radio,
|
|
139
|
+
cr as RefreshIcon,
|
|
140
|
+
pr as RerunIcon,
|
|
141
|
+
ir as RunManualIcon,
|
|
142
|
+
mr as SearchIcon,
|
|
143
|
+
ao as Selection,
|
|
144
|
+
To as SidePanel,
|
|
145
|
+
Z as SingleAutocomplete,
|
|
146
|
+
sr as SortIcon,
|
|
147
|
+
fo as SortableItem,
|
|
148
|
+
uo as SortableList,
|
|
149
|
+
po as SpinLoader,
|
|
150
|
+
Ir as StatusSuccessIcon,
|
|
151
|
+
zr as SuccessIcon,
|
|
152
|
+
mo as SystemAlert,
|
|
153
|
+
Io as SystemMessage,
|
|
154
|
+
Po as Table,
|
|
155
|
+
lr as TestPlanIcon,
|
|
156
|
+
Fo as ThemeProvider,
|
|
157
|
+
Do as Toggle,
|
|
158
|
+
yo as Tooltip,
|
|
159
|
+
Kr as TreeIcon,
|
|
160
|
+
xr as UserIcon,
|
|
161
|
+
fr as WarningIcon,
|
|
162
|
+
Rr as XlsIcon
|
|
157
163
|
};
|
package/dist/modal.js
CHANGED
|
@@ -3,6 +3,8 @@ import { useRef as C, useEffect as w, useState as y, useMemo as G } from "react"
|
|
|
3
3
|
import { Scrollbars as K } from "rc-scrollbars";
|
|
4
4
|
import { AnimatePresence as U, motion as Y } from "framer-motion";
|
|
5
5
|
import { c as x } from "./bind-06a7ff84.js";
|
|
6
|
+
import "react-dnd";
|
|
7
|
+
import "react-dnd-html5-backend";
|
|
6
8
|
import { a as X } from "./dropdown-360803d5.js";
|
|
7
9
|
import { K as J } from "./keyCodes-f63c0e11.js";
|
|
8
10
|
import { B as D } from "./button-97d9e587.js";
|
|
@@ -105,7 +107,7 @@ const et = () => {
|
|
|
105
107
|
"size-default": "_size-default_yxql5_57",
|
|
106
108
|
"size-small": "_size-small_yxql5_69",
|
|
107
109
|
"size-large": "_size-large_yxql5_81"
|
|
108
|
-
}, g = x.bind(_t), ut = 0.9, ht = 32 + 24, wt = 32 + 8, ft = 36 + 16, pt = 32 * 2,
|
|
110
|
+
}, g = x.bind(_t), ut = 0.9, ht = 32 + 24, wt = 32 + 8, ft = 36 + 16, pt = 32 * 2, Wt = ({
|
|
109
111
|
title: e,
|
|
110
112
|
children: o,
|
|
111
113
|
footerNode: n,
|
|
@@ -183,7 +185,7 @@ const et = () => {
|
|
|
183
185
|
) }) });
|
|
184
186
|
};
|
|
185
187
|
export {
|
|
186
|
-
|
|
188
|
+
Wt as Modal,
|
|
187
189
|
S as ModalContent,
|
|
188
190
|
lt as ModalFooter,
|
|
189
191
|
rt as ModalHeader
|