@reportportal/ui-kit 0.0.1-alpha.9 → 0.0.1-alpha.90
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/README.md +70 -12
- package/dist/arrowUp-4a5caee7.js +6 -0
- package/dist/baseIconButton-251479f7.js +25 -0
- package/dist/baseIconButton.js +1 -1
- package/dist/breadcrumbs-8e5ca8d7.js +183 -0
- package/dist/breadcrumbs.js +11 -0
- package/dist/button-97d9e587.js +66 -0
- package/dist/button.js +1 -1
- package/dist/calendarArrow-44c7e60e.js +5 -0
- package/dist/checkbox-ed6cc375.js +73 -0
- package/dist/checkbox.js +1 -1
- package/dist/close-4d480ef7.js +5 -0
- package/dist/common/hooks/useOnClickOutside.d.ts +1 -0
- package/dist/common/types.d.ts +3 -0
- package/dist/components/{icons/baseIconButton → baseIconButton}/baseIconButton.d.ts +1 -0
- package/dist/components/{icons/baseIconButton → baseIconButton}/index.d.ts +1 -0
- package/dist/components/breadcrumbs/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/components/breadcrumbs/breadcrumb/index.d.ts +1 -0
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +3 -0
- package/dist/components/breadcrumbs/breadcrumbsProvider/breadcrumbsProvider.d.ts +13 -0
- package/dist/components/breadcrumbs/breadcrumbsProvider/hooks.d.ts +3 -0
- package/dist/components/breadcrumbs/breadcrumbsProvider/index.d.ts +1 -0
- package/dist/components/breadcrumbs/hiddenBreadcrumbs/hiddenBreadcrumbs.d.ts +6 -0
- package/dist/components/breadcrumbs/hiddenBreadcrumbs/index.d.ts +2 -0
- package/dist/components/breadcrumbs/index.d.ts +5 -0
- package/dist/components/breadcrumbs/tree/index.d.ts +1 -0
- package/dist/components/breadcrumbs/tree/tree.d.ts +7 -0
- package/dist/components/breadcrumbs/types.d.ts +24 -0
- package/dist/components/bubblesLoader/bubblesLoader.d.ts +1 -0
- package/dist/components/bubblesLoader/index.d.ts +1 -0
- package/dist/components/button/button.d.ts +5 -4
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/checkbox/checkbox.d.ts +3 -1
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/datePicker/datePicker.d.ts +25 -0
- package/dist/components/datePicker/header/datePickerHeader.d.ts +16 -0
- package/dist/components/datePicker/header/index.d.ts +4 -0
- package/dist/components/datePicker/index.d.ts +5 -0
- package/dist/components/datePicker/utils.d.ts +4 -0
- package/dist/components/dropdown/constants.d.ts +1 -0
- package/dist/components/dropdown/dropdown.d.ts +13 -4
- package/dist/components/dropdown/dropdownOption/dropdownOption.d.ts +1 -0
- package/dist/components/dropdown/dropdownOption/index.d.ts +1 -0
- package/dist/components/dropdown/index.d.ts +1 -0
- package/dist/components/dropdown/types.d.ts +3 -0
- package/dist/components/dropdown/utils.d.ts +2 -1
- package/dist/components/fieldLabel/fieldLabel.d.ts +7 -0
- package/dist/components/fieldLabel/index.d.ts +1 -0
- package/dist/components/fieldNumber/constants.d.ts +1 -0
- package/dist/components/fieldNumber/fieldNumber.d.ts +3 -3
- package/dist/components/fieldNumber/index.d.ts +1 -0
- package/dist/components/fieldText/fieldText.d.ts +12 -4
- package/dist/components/fieldText/index.d.ts +1 -0
- package/dist/components/fieldTextFlex/fieldTextFlex.d.ts +4 -2
- package/dist/components/fieldTextFlex/index.d.ts +1 -0
- package/dist/components/icons/index.d.ts +46 -7
- package/dist/components/index.d.ts +7 -0
- package/dist/components/maxValueDisplay/index.d.ts +4 -0
- package/dist/components/maxValueDisplay/maxValueDisplay.d.ts +8 -0
- package/dist/components/maxValueDisplay/utils/index.d.ts +1 -0
- package/dist/components/maxValueDisplay/utils/isPositiveInteger.d.ts +1 -0
- package/dist/components/modal/modal.d.ts +5 -2
- package/dist/components/modal/modalContent/modalContent.d.ts +2 -0
- package/dist/components/modal/modalFooter/modalFooter.d.ts +1 -0
- package/dist/components/modal/modalHeader/modalHeader.d.ts +2 -1
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/itemsCounter/itemCounter.d.ts +1 -0
- package/dist/components/pagination/pageControls/activePage/activePage.d.ts +1 -0
- package/dist/components/pagination/pageControls/activePage/pageSelector/pageSelector.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageControls.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageNavigator/bar/bar.d.ts +12 -0
- package/dist/components/pagination/pageControls/pageNavigator/bar/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageNavigator/pageNavigator.d.ts +4 -0
- package/dist/components/pagination/pageSizeControl/pageSizeControl.d.ts +1 -0
- package/dist/components/pagination/pageSizeControl/sizeSelector/sizeSelector.d.ts +1 -0
- package/dist/components/pagination/pagination.d.ts +1 -0
- package/dist/components/popover/index.d.ts +4 -1
- package/dist/components/popover/popover.d.ts +3 -2
- package/dist/components/radio/index.d.ts +1 -0
- package/dist/components/radio/radio.d.ts +1 -0
- package/dist/components/radio/radioGroup.d.ts +1 -0
- package/dist/components/selection/index.d.ts +5 -0
- package/dist/components/selection/selection.d.ts +12 -0
- package/dist/components/selection/types.d.ts +1 -0
- package/dist/components/spinLoader/index.d.ts +4 -0
- package/dist/components/spinLoader/spinLoader.d.ts +8 -0
- package/dist/components/systemAlert/index.d.ts +1 -0
- package/dist/components/systemAlert/systemAlert.d.ts +4 -0
- package/dist/components/systemAlert/types.d.ts +16 -0
- package/dist/components/systemMessage/index.d.ts +1 -0
- package/dist/components/systemMessage/systemMessage.d.ts +1 -0
- package/dist/components/table/constants.d.ts +2 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/table.d.ts +1 -0
- package/dist/components/table/types.d.ts +13 -7
- package/dist/components/table/utils.d.ts +5 -1
- package/dist/components/themeProvider/index.d.ts +1 -0
- package/dist/components/themeProvider/themeProvider.d.ts +1 -0
- package/dist/components/toggle/index.d.ts +1 -0
- package/dist/components/toggle/toggle.d.ts +1 -0
- package/dist/components/tooltip/tooltip.d.ts +12 -2
- package/dist/datePicker-f8747600.js +196 -0
- package/dist/datePicker.js +28 -0
- package/dist/dropdown-0260bb66.js +5 -0
- package/dist/dropdown-b26b8fd8.js +282 -0
- package/dist/dropdown.js +5 -2
- package/dist/fieldLabel.js +18 -0
- package/dist/fieldNumber-c9113a7f.js +135 -0
- package/dist/fieldNumber.js +4 -2
- package/dist/fieldText-35421470.js +166 -0
- package/dist/fieldText.js +6 -2
- package/dist/fieldTextFlex-8afaab31.js +78 -0
- package/dist/fieldTextFlex.js +3 -1
- package/dist/fonts/OpenSans/OpenSans-Bold.ttf +0 -0
- package/dist/fonts/OpenSans/OpenSans-Medium.ttf +0 -0
- package/dist/icons.js +64 -0
- package/dist/index.js +110 -44
- package/dist/maxValueDisplay-9be01a75.js +13 -0
- package/dist/maxValueDisplay.js +6 -0
- package/dist/modal.js +144 -14
- package/dist/openEye-7b9cf080.js +7 -0
- package/dist/pagination-b001d791.js +347 -0
- package/dist/pagination.js +11 -4
- package/dist/plus-0929dda4.js +6 -0
- package/dist/popover.js +61 -57
- package/dist/prevPage-87faf576.js +6 -0
- package/dist/radio-62546efa.js +76 -0
- package/dist/radio.js +1 -1
- package/dist/selection-9124d029.js +38 -0
- package/dist/selection.js +10 -0
- package/dist/spinLoader-c4a53718.js +11 -0
- package/dist/spinLoader.js +7 -0
- package/dist/style.css +1 -1
- package/dist/success-8fd8bd2c.js +7 -0
- package/dist/systemAlert.js +63 -0
- package/dist/systemMessage-924fdaa6.js +30 -0
- package/dist/systemMessage.js +1 -1
- package/dist/table-920fdad9.js +142 -0
- package/dist/table.js +11 -0
- package/dist/toggle-304107fa.js +59 -0
- package/dist/toggle.js +1 -1
- package/dist/tooltip.js +87 -56
- package/dist/tree-c3dd3d45.js +6 -0
- package/package.json +28 -16
- package/dist/baseIconButton-7bc53dec.js +0 -25
- package/dist/button-7fb84fde.js +0 -62
- package/dist/checkbox-4143390f.js +0 -70
- package/dist/dropdown-e07f2a71.js +0 -212
- package/dist/fieldNumber-46fe79b9.js +0 -127
- package/dist/fieldText-d80b29ba.js +0 -102
- package/dist/fieldTextFlex-5bddf46a.js +0 -67
- package/dist/index-bb9b62ef.js +0 -131
- package/dist/pagination-a36bc786.js +0 -274
- package/dist/radio-fd49a09c.js +0 -76
- package/dist/systemMessage-1ced6079.js +0 -30
- package/dist/toggle-707ecb74.js +0 -67
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ClearSelection } from './types';
|
|
2
|
+
|
|
3
|
+
export interface SelectionProps {
|
|
4
|
+
selectedCount: number;
|
|
5
|
+
onClearSelection: ClearSelection;
|
|
6
|
+
captions?: {
|
|
7
|
+
selected?: string;
|
|
8
|
+
buttonCaption?: string;
|
|
9
|
+
};
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const Selection: ({ selectedCount, onClearSelection, captions, icon, }: SelectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ClearSelection = VoidFunction;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SystemAlert } from './systemAlert';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare enum SystemAlertType {
|
|
4
|
+
INFO = "info",
|
|
5
|
+
SUCCESS = "success",
|
|
6
|
+
ERROR = "error"
|
|
7
|
+
}
|
|
8
|
+
export interface SystemAlertProps {
|
|
9
|
+
title: string;
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
icon?: ReactElement | null;
|
|
12
|
+
type?: SystemAlertType;
|
|
13
|
+
duration?: number;
|
|
14
|
+
className?: string;
|
|
15
|
+
dataAutomationId?: string;
|
|
16
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { ASC, DESC } from './constants';
|
|
3
|
+
|
|
2
4
|
export interface Column {
|
|
3
5
|
key: string;
|
|
4
6
|
header: string;
|
|
@@ -17,29 +19,33 @@ export interface DetailedCellData {
|
|
|
17
19
|
content: string | number;
|
|
18
20
|
component: ReactNode;
|
|
19
21
|
}
|
|
22
|
+
export interface MetaData {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}
|
|
20
25
|
export interface RowData {
|
|
21
26
|
id: string | number;
|
|
22
27
|
[key: string]: DetailedCellData | RowConfigs | string | number | any;
|
|
23
28
|
rowConfigs?: RowConfigs;
|
|
29
|
+
metaData?: MetaData;
|
|
24
30
|
}
|
|
25
|
-
export
|
|
26
|
-
ASC = "asc",
|
|
27
|
-
DESC = "desc"
|
|
28
|
-
}
|
|
31
|
+
export type SortingDirection = typeof ASC | typeof DESC | Uppercase<typeof ASC | typeof DESC>;
|
|
29
32
|
export interface SortConfig {
|
|
30
33
|
key: string;
|
|
31
|
-
direction:
|
|
34
|
+
direction: SortingDirection;
|
|
32
35
|
}
|
|
33
36
|
export interface TableComponentProps {
|
|
34
37
|
data: RowData[];
|
|
35
38
|
primaryColumn: Column;
|
|
36
39
|
fixedColumns: FixedColumn[];
|
|
37
|
-
|
|
40
|
+
renderRowActions?: (metaData?: MetaData) => ReactNode;
|
|
38
41
|
selectable?: boolean;
|
|
39
42
|
className?: string;
|
|
43
|
+
headerClassName?: string;
|
|
44
|
+
rowClassName?: string;
|
|
40
45
|
selectedRowIds?: (string | number)[];
|
|
41
|
-
sortingDirection?:
|
|
46
|
+
sortingDirection?: SortingDirection;
|
|
42
47
|
sortingColumn?: Column;
|
|
48
|
+
sortableColumns?: string[];
|
|
43
49
|
onChangeSorting?: (sortConfig?: SortConfig) => void;
|
|
44
50
|
onToggleRowSelection?: (id: string | number) => void;
|
|
45
51
|
onToggleAllRowsSelection?: () => void;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
import { RowData, SortConfig } from './types';
|
|
1
|
+
import { Column, RowData, SortConfig, SortingDirection } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const isAsc: (direction: SortingDirection) => boolean;
|
|
2
4
|
export declare const sortTableData: (tableData: RowData[], sortConfig?: SortConfig) => RowData[];
|
|
5
|
+
export declare const getColumnsKeys: (columns: Column[]) => string[];
|
|
6
|
+
export declare const toggleDirection: (direction: SortingDirection) => "asc" | "desc";
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { Placement } from '@floating-ui/react
|
|
2
|
+
import { Placement } from '@floating-ui/react';
|
|
3
|
+
|
|
3
4
|
interface TooltipProps {
|
|
4
5
|
content: ReactNode;
|
|
5
6
|
children: ReactNode;
|
|
6
|
-
|
|
7
|
+
wrapperClassName?: string;
|
|
8
|
+
tooltipClassName?: string;
|
|
9
|
+
contentClassName?: string;
|
|
7
10
|
dynamicWidth?: boolean;
|
|
8
11
|
width?: number;
|
|
12
|
+
minWidth?: number;
|
|
9
13
|
placement?: Placement;
|
|
10
14
|
dataAutomationId?: string;
|
|
15
|
+
arrowColor?: string;
|
|
16
|
+
safeZone?: number;
|
|
17
|
+
zIndex?: number;
|
|
18
|
+
mainAxis?: boolean;
|
|
19
|
+
portalRoot?: Element;
|
|
20
|
+
isFloating?: boolean;
|
|
11
21
|
}
|
|
12
22
|
export declare const Tooltip: FC<TooltipProps>;
|
|
13
23
|
export {};
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { jsxs as F, Fragment as $, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import B from "react-datepicker/dist/es/index.js";
|
|
3
|
+
import { c as R } from "./bind-06a7ff84.js";
|
|
4
|
+
import { useMemo as P, useRef as D } from "react";
|
|
5
|
+
import { F as I } from "./fieldText-35421470.js";
|
|
6
|
+
import { D as E } from "./dropdown-b26b8fd8.js";
|
|
7
|
+
import { S as T } from "./calendarArrow-44c7e60e.js";
|
|
8
|
+
import { registerLocale as j } from "react-datepicker";
|
|
9
|
+
const ie = (n, s) => {
|
|
10
|
+
j(n, s);
|
|
11
|
+
}, G = (n, s = 20) => {
|
|
12
|
+
const l = n + s;
|
|
13
|
+
return new Array(l - n).fill(void 0).map((g, o) => n - o);
|
|
14
|
+
}, H = "_header_1q16i_1", V = "_disabled_1q16i_25", O = "_dropdown_1q16i_8", W = {
|
|
15
|
+
header: H,
|
|
16
|
+
"dropdowns-wrapper": "_dropdowns-wrapper_1q16i_8",
|
|
17
|
+
"button-prev": "_button-prev_1q16i_13",
|
|
18
|
+
"button-next": "_button-next_1q16i_14",
|
|
19
|
+
disabled: V,
|
|
20
|
+
dropdown: O,
|
|
21
|
+
"month-dropdown": "_month-dropdown_1q16i_44",
|
|
22
|
+
"toggle-button": "_toggle-button_1q16i_47"
|
|
23
|
+
}, a = R.bind(W), z = ({
|
|
24
|
+
date: n = /* @__PURE__ */ new Date(),
|
|
25
|
+
changeYear: s = () => {
|
|
26
|
+
},
|
|
27
|
+
changeMonth: l = () => {
|
|
28
|
+
},
|
|
29
|
+
decreaseMonth: g = () => {
|
|
30
|
+
},
|
|
31
|
+
increaseMonth: o = () => {
|
|
32
|
+
},
|
|
33
|
+
prevMonthButtonDisabled: t = !1,
|
|
34
|
+
nextMonthButtonDisabled: h = !1,
|
|
35
|
+
headerNodes: b = null,
|
|
36
|
+
customClassName: w = "",
|
|
37
|
+
yearsOptions: i = [],
|
|
38
|
+
locale: N
|
|
39
|
+
}) => {
|
|
40
|
+
const p = n.getFullYear(), v = n.getMonth(), y = P(() => {
|
|
41
|
+
const e = Array(12).keys(), d = new Intl.DateTimeFormat(N, {
|
|
42
|
+
month: "long"
|
|
43
|
+
}), c = (m) => d.format(new Date(p, m));
|
|
44
|
+
return Array.from(e, c).reduce((m, f, k) => m.concat({
|
|
45
|
+
value: k,
|
|
46
|
+
label: f
|
|
47
|
+
}), []);
|
|
48
|
+
}, []), C = P(() => (i.length > 0 ? i : G(p)).reduce(
|
|
49
|
+
(d, c) => d.concat({ value: c, label: `${c}` }),
|
|
50
|
+
[]
|
|
51
|
+
), [i]), x = (e) => {
|
|
52
|
+
l(e);
|
|
53
|
+
}, A = (e) => {
|
|
54
|
+
s(e);
|
|
55
|
+
};
|
|
56
|
+
return /* @__PURE__ */ F($, { children: [
|
|
57
|
+
b && /* @__PURE__ */ r("div", { className: a(w), children: b }),
|
|
58
|
+
/* @__PURE__ */ F("div", { className: a("header"), children: [
|
|
59
|
+
/* @__PURE__ */ r(
|
|
60
|
+
"button",
|
|
61
|
+
{
|
|
62
|
+
type: "button",
|
|
63
|
+
"aria-label": "Previous Months",
|
|
64
|
+
disabled: t,
|
|
65
|
+
onClick: (e) => {
|
|
66
|
+
e.stopPropagation(), g();
|
|
67
|
+
},
|
|
68
|
+
className: a("button-prev", { disabled: t }),
|
|
69
|
+
children: /* @__PURE__ */ r(T, {})
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
/* @__PURE__ */ F("div", { className: a("dropdowns-wrapper"), children: [
|
|
73
|
+
/* @__PURE__ */ r(
|
|
74
|
+
E,
|
|
75
|
+
{
|
|
76
|
+
options: y,
|
|
77
|
+
value: v,
|
|
78
|
+
onChange: x,
|
|
79
|
+
transparentBackground: !0,
|
|
80
|
+
className: a("dropdown", "month-dropdown"),
|
|
81
|
+
toggleButtonClassName: a("toggle-button")
|
|
82
|
+
}
|
|
83
|
+
),
|
|
84
|
+
/* @__PURE__ */ r(
|
|
85
|
+
E,
|
|
86
|
+
{
|
|
87
|
+
options: C,
|
|
88
|
+
value: p,
|
|
89
|
+
onChange: A,
|
|
90
|
+
transparentBackground: !0,
|
|
91
|
+
className: a("dropdown"),
|
|
92
|
+
toggleButtonClassName: a("toggle-button")
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
] }),
|
|
96
|
+
/* @__PURE__ */ r(
|
|
97
|
+
"button",
|
|
98
|
+
{
|
|
99
|
+
type: "button",
|
|
100
|
+
"aria-label": "Next Months",
|
|
101
|
+
disabled: h,
|
|
102
|
+
onClick: (e) => {
|
|
103
|
+
e.stopPropagation(), o();
|
|
104
|
+
},
|
|
105
|
+
className: a("button-next", { disabled: h }),
|
|
106
|
+
children: /* @__PURE__ */ r(T, {})
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
] })
|
|
110
|
+
] });
|
|
111
|
+
}, J = "_calendar_3ty6m_5", K = "_date_3ty6m_90", Q = "_disabled_3ty6m_203", X = "_popper_3ty6m_211", Z = "_input_3ty6m_215", ee = {
|
|
112
|
+
calendar: J,
|
|
113
|
+
"current-date": "_current-date_3ty6m_89",
|
|
114
|
+
date: K,
|
|
115
|
+
"selected-range": "_selected-range_3ty6m_119",
|
|
116
|
+
"end-date": "_end-date_3ty6m_119",
|
|
117
|
+
disabled: Q,
|
|
118
|
+
popper: X,
|
|
119
|
+
input: Z
|
|
120
|
+
}, _ = R.bind(ee), oe = "en", L = "MM-dd-yyyy", pe = ({
|
|
121
|
+
onChange: n = () => {
|
|
122
|
+
},
|
|
123
|
+
disabled: s = !1,
|
|
124
|
+
onBlur: l = () => {
|
|
125
|
+
},
|
|
126
|
+
onFocus: g = () => {
|
|
127
|
+
},
|
|
128
|
+
endDate: o = void 0,
|
|
129
|
+
startDate: t = void 0,
|
|
130
|
+
headerNodes: h = null,
|
|
131
|
+
customClassName: b = "",
|
|
132
|
+
customTimeInput: w = void 0,
|
|
133
|
+
shouldCloseOnSelect: i = !0,
|
|
134
|
+
popperClassName: N = "",
|
|
135
|
+
calendarClassName: p = "",
|
|
136
|
+
fixedHeight: v = !1,
|
|
137
|
+
language: y = oe,
|
|
138
|
+
yearsOptions: C = [],
|
|
139
|
+
placeholder: x = L.toUpperCase(),
|
|
140
|
+
dateFormat: A = L,
|
|
141
|
+
selects: e = "start",
|
|
142
|
+
value: d = null
|
|
143
|
+
}) => {
|
|
144
|
+
const c = D(null), S = t == null ? void 0 : t.toDateString(), m = o == null ? void 0 : o.toDateString(), f = o && t && o > t, k = (u) => {
|
|
145
|
+
const M = u.toDateString(), Y = M === S, q = f && M === m, U = t && o && u > t && u < o;
|
|
146
|
+
return _("date", {
|
|
147
|
+
"current-date": Y,
|
|
148
|
+
"selected-range": U && !q,
|
|
149
|
+
"end-date": q && f,
|
|
150
|
+
disabled: s
|
|
151
|
+
});
|
|
152
|
+
};
|
|
153
|
+
return /* @__PURE__ */ r(
|
|
154
|
+
B,
|
|
155
|
+
{
|
|
156
|
+
customInput: /* @__PURE__ */ r(I, { className: _("input"), defaultWidth: !1, ref: c }),
|
|
157
|
+
placeholderText: x,
|
|
158
|
+
selected: d,
|
|
159
|
+
startDate: t,
|
|
160
|
+
endDate: o,
|
|
161
|
+
minDate: e === "end" ? t : void 0,
|
|
162
|
+
maxDate: e === "start" ? o : void 0,
|
|
163
|
+
disabled: s,
|
|
164
|
+
shouldCloseOnSelect: i,
|
|
165
|
+
fixedHeight: v,
|
|
166
|
+
locale: y,
|
|
167
|
+
showPopperArrow: !1,
|
|
168
|
+
dayClassName: k,
|
|
169
|
+
calendarClassName: _(p, "calendar"),
|
|
170
|
+
renderCustomHeader: (u) => /* @__PURE__ */ r(
|
|
171
|
+
z,
|
|
172
|
+
{
|
|
173
|
+
...u,
|
|
174
|
+
headerNodes: h,
|
|
175
|
+
customClassName: b,
|
|
176
|
+
yearsOptions: C,
|
|
177
|
+
locale: y
|
|
178
|
+
}
|
|
179
|
+
),
|
|
180
|
+
onChange: n,
|
|
181
|
+
onBlur: l,
|
|
182
|
+
onFocus: g,
|
|
183
|
+
customTimeInput: w,
|
|
184
|
+
showTimeInput: !!w,
|
|
185
|
+
popperClassName: _(N, "popper"),
|
|
186
|
+
dateFormat: A,
|
|
187
|
+
selectsStart: e === "start",
|
|
188
|
+
selectsEnd: e === "end",
|
|
189
|
+
className: _("datepicker")
|
|
190
|
+
}
|
|
191
|
+
);
|
|
192
|
+
};
|
|
193
|
+
export {
|
|
194
|
+
pe as D,
|
|
195
|
+
ie as r
|
|
196
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { D as t } from "./datePicker-f8747600.js";
|
|
2
|
+
import { r as v } from "./datePicker-f8747600.js";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
import "react-datepicker/dist/es/index.js";
|
|
5
|
+
import "./bind-06a7ff84.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "./fieldText-35421470.js";
|
|
8
|
+
import "./openEye-7b9cf080.js";
|
|
9
|
+
import "./button-97d9e587.js";
|
|
10
|
+
import "./spinLoader-c4a53718.js";
|
|
11
|
+
import "./maxValueDisplay-9be01a75.js";
|
|
12
|
+
import "./fieldLabel.js";
|
|
13
|
+
import "./dropdown-b26b8fd8.js";
|
|
14
|
+
import "@floating-ui/react-dom";
|
|
15
|
+
import "downshift";
|
|
16
|
+
import "rc-scrollbars";
|
|
17
|
+
import "./useOnClickOutside-c332f7d3.js";
|
|
18
|
+
import "./keyCodes-f63c0e11.js";
|
|
19
|
+
import "./baseIconButton-251479f7.js";
|
|
20
|
+
import "./dropdown-0260bb66.js";
|
|
21
|
+
import "./checkbox-ed6cc375.js";
|
|
22
|
+
import "./calendarArrow-44c7e60e.js";
|
|
23
|
+
import "react-datepicker";
|
|
24
|
+
export {
|
|
25
|
+
t as DatePicker,
|
|
26
|
+
t as default,
|
|
27
|
+
v as registerDatePickerLocale
|
|
28
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const o = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M14.2174 5.82426C14.3736 5.66805 14.3736 5.41479 14.2174 5.25858L14.0759 5.11716C13.9197 4.96095 13.6665 4.96095 13.5103 5.11716L8.16726 10.4602L2.82426 5.11716C2.66805 4.96095 2.41479 4.96095 2.25858 5.11716L2.11716 5.25858C1.96095 5.41479 1.96095 5.66805 2.11716 5.82426L7.89176 11.5989C8.04797 11.7551 8.30124 11.7551 8.45745 11.5989L8.88171 11.1746L8.87436 11.1673L14.2174 5.82426Z", fill: "#A2AAB5" }));
|
|
3
|
+
export {
|
|
4
|
+
o as S
|
|
5
|
+
};
|