@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.
@@ -0,0 +1 @@
1
+ export declare const DEFAULT_SORTABLE_TYPE = "SORTABLE_ITEM";
@@ -1,2 +1,3 @@
1
1
  export { useOnClickOutside } from './useOnClickOutside';
2
+ export { useSortable } from './useSortable';
2
3
  export { useWindowResize } from './useWindowResize';
@@ -0,0 +1,3 @@
1
+ import { UseSortableOptions, UseSortableReturn } from '../types';
2
+
3
+ export declare const useSortable: ({ id, index, type, isDisabled, onDrop, hideDefaultPreview, }: UseSortableOptions) => UseSortableReturn;
@@ -0,0 +1,2 @@
1
+ export * from './commonTypes';
2
+ export * from './sortableTypes';
@@ -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
+ }
@@ -0,0 +1,3 @@
1
+ import { ReactElement } from 'react';
2
+
3
+ export declare const renderWithDnd: (ui: ReactElement) => import('@testing-library/react').RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
@@ -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 | Iterable<ReactNode> | null | undefined)[];
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 {};
@@ -1,7 +1,7 @@
1
1
  import { FC, ReactNode, ReactElement } from 'react';
2
2
 
3
3
  interface DatePickerProps {
4
- onChange?: (date: Date | any) => void;
4
+ onChange?: (date: Date | null) => void;
5
5
  onBlur?: () => void;
6
6
  onFocus?: () => void;
7
7
  headerNodes?: ReactNode;
@@ -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,3 @@
1
+ import { DragLayerProps } from '../../../common/types';
2
+
3
+ export declare const DragLayer: ({ type, renderPreview, className, previewClassName, portalTarget, }: DragLayerProps) => import('react').ReactPortal | null;
@@ -0,0 +1 @@
1
+ export { DragLayer } from './dragLayer';
@@ -0,0 +1,4 @@
1
+ import { CSSProperties } from 'react';
2
+ import { XYCoord } from 'react-dnd';
3
+
4
+ export declare const getPreviewStyles: (clientOffset: XYCoord | null) => CSSProperties;
@@ -0,0 +1,3 @@
1
+ export { SortableItem } from './sortableItem';
2
+ export { SortableList } from './sortableList';
3
+ 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: N
38
+ locale: y
39
39
  }) => {
40
- const l = n.getFullYear(), C = n.getMonth(), y = P(() => {
41
- const e = Array(12).keys(), c = new Intl.DateTimeFormat(N, {
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) => c.format(new Date(l, m));
44
- return Array.from(e, d).reduce((m, f, x) => m.concat({
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: f
46
+ label: N
47
47
  }), []);
48
- }, []), v = P(() => (p.length > 0 ? p : G(l)).reduce(
49
- (c, d) => c.concat({ value: d, label: `${d}` }),
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, l]), A = (e) => {
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: y,
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: l,
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: N = "",
135
- calendarClassName: l = "",
134
+ popperClassName: y = "",
135
+ calendarClassName: c = "",
136
136
  fixedHeight: C = !1,
137
- language: y = te,
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: c = null
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(), f = t && o && t > o, x = (u) => {
145
- const M = u.toDateString(), Y = M === S, q = f && M === m, U = o && t && u > o && u < t;
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 && f,
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: c,
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: y,
164
+ locale: f,
165
165
  showPopperArrow: !1,
166
166
  dayClassName: x,
167
- calendarClassName: _(l, "calendar"),
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: y
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: _(N, "popper"),
183
+ popperClassName: _(y, "popper"),
184
184
  dateFormat: k,
185
185
  selectsStart: e === "start",
186
186
  selectsEnd: e === "end",
@@ -1,5 +1,5 @@
1
- import { D as t } from "./datePicker-5b3b45b6.js";
2
- import { r as z } from "./datePicker-5b3b45b6.js";
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 P } from "./index-1a874a8b.js";
2
- import { B as F } from "./baseIconButton-251479f7.js";
3
- import { B as D } from "./breadcrumbs-8e5ca8d7.js";
4
- import { B } from "./bubblesLoader-f3ffa240.js";
5
- import { B as b } from "./button-97d9e587.js";
6
- import { C as A } from "./checkbox-ed6cc375.js";
7
- import { D as M } from "./datePicker-5b3b45b6.js";
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 k } from "./dropdown-360803d5.js";
10
- import { FieldLabel as L } from "./fieldLabel.js";
11
- import { F as O } from "./fieldNumber-d1b5a7a1.js";
12
- import { F as H } from "./fieldText-1749da7a.js";
13
- import { F as N } from "./fieldTextFlex-2f51c173.js";
14
- import { FileDropArea as G } from "./fileDropArea.js";
15
- import { FiltersButton as X } from "./filtersButton.js";
16
- import { Modal as q } from "./modal.js";
17
- import { MultipleAutocomplete as Q, SingleAutocomplete as V } from "./autocompletes.js";
18
- import { P as Z } from "./pagination-a3dee614.js";
19
- import { Popover as $ } from "./popover.js";
20
- import { R as ro } from "./radio-62546efa.js";
21
- import { S as no } from "./selection-9124d029.js";
22
- import { S as ao } from "./spinLoader-c4a53718.js";
23
- import { SystemAlert as po } from "./systemAlert.js";
24
- import { S as mo } from "./systemMessage-924fdaa6.js";
25
- import { T as Io } from "./table-8e223d5d.js";
26
- import { T as xo } from "./themeProvider-46c2be7b.js";
27
- import { T as uo } from "./toggle-304107fa.js";
28
- import { Tooltip as Po } from "./tooltip.js";
29
- import { SidePanel as Fo } from "./sidePanel.js";
30
- import { AddCsvIcon as Do, AddImageIcon as yo, AddJarIcon as Bo, BreadcrumbsTreeIcon as To, CalendarIcon as bo, CheckmarkIcon as ho, ChevronRightBreadcrumbsIcon as Ao, ConfigurationIcon as vo, CopyIcon as Mo, CoverageFullIcon as wo, CoveragePartialIcon as ko, CoveredManuallyIcon as Eo, DeleteIcon as Lo, DragAndDropIcon as Ro, DragNDropIcon as Oo, DurationIcon as Uo, EditIcon as Ho, ExportIcon as Jo, FlagIcon as No, GroupByIcon as zo, HideIcon as Go, LaunchTypeIcon as Wo, MaximizeIcon as Xo, MoveToFolderIcon as jo, PinFilledIcon as qo, PinOutlineIcon as Ko, PriorityBlockerIcon as Qo, PriorityCriticalIcon as Vo, PriorityHighIcon as Yo, PriorityLowIcon as Zo, PriorityMediumIcon as _o, PriorityUnspecifiedIcon as $o, RefreshIcon as or, RerunIcon as rr, RunManualIcon as er, SearchIcon as nr, SortIcon as tr, StatusSuccessIcon as ar, TestPlanIcon as cr, UserIcon as pr, WarningIcon as ir } from "./icons.js";
31
- import { S as sr, a as Ir, b as lr } from "./chevronDownDropdown-66f5b1af.js";
32
- import { S as fr } from "./calendarArrow-44c7e60e.js";
33
- import { S as ur } from "./clear-53660571.js";
34
- import { S as Pr, a as Cr } from "./openEye-950159cb.js";
35
- import { S as gr } from "./close-4d480ef7.js";
36
- import { S as yr, a as Br, b as Tr, c as br, d as hr, e as Ar, f as vr } from "./xls-995781cc.js";
37
- import { S as wr } from "./dropdown-0260bb66.js";
38
- import { S as Er, a as Lr, b as Rr } from "./success-8fd8bd2c.js";
39
- import { S as Ur, a as Hr } from "./filterOutline-819b4b0d.js";
40
- import { S as Nr, a as zr } from "./tree-c3dd3d45.js";
41
- import { S as Wr } from "./minus-2857540f.js";
42
- import { S as jr } from "./plus-199fb2a8.js";
43
- import { S as Kr, a as Qr } from "./prevPage-87faf576.js";
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
- Do as AddCsvIcon,
61
- yo as AddImageIcon,
62
- Bo as AddJarIcon,
63
- sr as ArrowDownIcon,
64
- Ir as ArrowUpIcon,
65
- P as AttachedFile,
66
- F as BaseIconButton,
67
- D as Breadcrumbs,
68
- To as BreadcrumbsTreeIcon,
69
- B as BubblesLoader,
70
- b as Button,
71
- fr as CalendarArrowIcon,
72
- bo as CalendarIcon,
73
- A as Checkbox,
74
- ho as CheckmarkIcon,
75
- lr as ChevronDownDropdownIcon,
76
- Ao as ChevronRightBreadcrumbsIcon,
77
- ur as ClearIcon,
78
- Pr as CloseEyeIcon,
79
- gr as CloseIcon,
80
- vo as ConfigurationIcon,
81
- Mo as CopyIcon,
82
- wo as CoverageFullIcon,
83
- ko as CoveragePartialIcon,
84
- Eo as CoveredManuallyIcon,
85
- yr as CsvIcon,
86
- M as DatePicker,
87
- Lo as DeleteIcon,
88
- Ro as DragAndDropIcon,
89
- Oo as DragNDropIcon,
90
- k as Dropdown,
91
- wr as DropdownIcon,
92
- Uo as DurationIcon,
93
- Ho as EditIcon,
94
- Er as ErrorIcon,
95
- Jo as ExportIcon,
96
- Br as ExternalLinkIcon,
97
- L as FieldLabel,
98
- O as FieldNumber,
99
- H as FieldText,
100
- N as FieldTextFlex,
101
- G as FileDropArea,
102
- Tr as FileOtherIcon,
103
- Ur as FilterFilledIcon,
104
- Hr as FilterOutlineIcon,
105
- X as FiltersButton,
106
- No as FlagIcon,
107
- zo as GroupByIcon,
108
- Go as HideIcon,
109
- br as ImageIcon,
110
- Lr as InfoIcon,
111
- hr as JarIcon,
112
- Wo as LaunchTypeIcon,
113
- Xo as MaximizeIcon,
114
- Nr as MeatballMenuIcon,
115
- Wr as MinusIcon,
116
- q as Modal,
117
- jo as MoveToFolderIcon,
118
- Q as MultipleAutocomplete,
119
- Cr as OpenEyeIcon,
120
- Z as Pagination,
121
- Ar as PdfIcon,
122
- qo as PinFilledIcon,
123
- Ko as PinOutlineIcon,
124
- jr as PlusIcon,
125
- $ as Popover,
126
- Kr as PrevChapterIcon,
127
- Qr as PrevPageIcon,
128
- Qo as PriorityBlockerIcon,
129
- Vo as PriorityCriticalIcon,
130
- Yo as PriorityHighIcon,
131
- Zo as PriorityLowIcon,
132
- _o as PriorityMediumIcon,
133
- $o as PriorityUnspecifiedIcon,
134
- ro as Radio,
135
- or as RefreshIcon,
136
- rr as RerunIcon,
137
- er as RunManualIcon,
138
- nr as SearchIcon,
139
- no as Selection,
140
- Fo as SidePanel,
141
- V as SingleAutocomplete,
142
- tr as SortIcon,
143
- ao as SpinLoader,
144
- ar as StatusSuccessIcon,
145
- Rr as SuccessIcon,
146
- po as SystemAlert,
147
- mo as SystemMessage,
148
- Io as Table,
149
- cr as TestPlanIcon,
150
- xo as ThemeProvider,
151
- uo as Toggle,
152
- Po as Tooltip,
153
- zr as TreeIcon,
154
- pr as UserIcon,
155
- ir as WarningIcon,
156
- vr as XlsIcon
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, $t = ({
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
- $t as Modal,
188
+ Wt as Modal,
187
189
  S as ModalContent,
188
190
  lt as ModalFooter,
189
191
  rt as ModalHeader