react-asc 25.5.6 → 25.7.0
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/index.d.ts +772 -770
- package/index.es.js +4292 -4223
- package/index.js +4291 -4222
- package/lib/components/Alert/Alert.d.ts +12 -12
- package/lib/components/Alert/index.d.ts +1 -1
- package/lib/components/AppBar/AppBar.d.ts +11 -11
- package/lib/components/AppBar/AppBarTitle.d.ts +6 -6
- package/lib/components/AppBar/index.d.ts +2 -2
- package/lib/components/AutoComplete/AutoComplete.d.ts +18 -18
- package/lib/components/AutoComplete/index.d.ts +1 -1
- package/lib/components/Backdrop/Backdrop.d.ts +6 -6
- package/lib/components/Backdrop/index.d.ts +1 -1
- package/lib/components/Badge/Badge.d.ts +9 -7
- package/lib/components/Badge/index.d.ts +1 -1
- package/lib/components/Breadcrumb/Breadcrumb.d.ts +6 -6
- package/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -6
- package/lib/components/Breadcrumb/index.d.ts +2 -2
- package/lib/components/Button/Button.d.ts +13 -13
- package/lib/components/Button/ButtonContext.d.ts +7 -7
- package/lib/components/Button/index.d.ts +2 -2
- package/lib/components/ButtonGroup/ButtonGroup.d.ts +6 -6
- package/lib/components/ButtonGroup/index.d.ts +1 -1
- package/lib/components/Card/Card.d.ts +6 -6
- package/lib/components/Card/CardBody.d.ts +2 -2
- package/lib/components/Card/CardFooter.d.ts +2 -2
- package/lib/components/Card/CardImage.d.ts +2 -2
- package/lib/components/Card/CardSubtitle.d.ts +2 -2
- package/lib/components/Card/CardText.d.ts +2 -2
- package/lib/components/Card/CardTitle.d.ts +6 -6
- package/lib/components/Card/index.d.ts +7 -7
- package/lib/components/Checkbox/Checkbox.d.ts +7 -7
- package/lib/components/Checkbox/index.d.ts +1 -1
- package/lib/components/Chip/Chip.d.ts +11 -11
- package/lib/components/Chip/index.d.ts +1 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -8
- package/lib/components/ConditionalWrapper/index.d.ts +1 -1
- package/lib/components/CssTransition/CssTransition.d.ts +8 -8
- package/lib/components/CssTransition/index.d.ts +1 -1
- package/lib/components/DatePicker/DatePicker.d.ts +10 -10
- package/lib/components/DatePicker/index.d.ts +1 -1
- package/lib/components/DateSelect/DateSelect.d.ts +17 -17
- package/lib/components/DateSelect/DaySelect.d.ts +12 -12
- package/lib/components/DateSelect/MonthSelect.d.ts +10 -10
- package/lib/components/DateSelect/YearSelect.d.ts +12 -12
- package/lib/components/DateSelect/index.d.ts +4 -4
- package/lib/components/Drawer/Drawer.d.ts +9 -9
- package/lib/components/Drawer/index.d.ts +1 -1
- package/lib/components/ExpansionPanel/ExpansionPanel.d.ts +10 -10
- package/lib/components/ExpansionPanel/ExpansionPanelContent.d.ts +5 -5
- package/lib/components/ExpansionPanel/ExpansionPanelHeader.d.ts +8 -8
- package/lib/components/ExpansionPanel/index.d.ts +3 -3
- package/lib/components/FileInput/FileInput.d.ts +5 -5
- package/lib/components/FileInput/index.d.ts +1 -1
- package/lib/components/FloatingActionButton/FloatingActionButton.d.ts +13 -13
- package/lib/components/FloatingActionButton/index.d.ts +1 -1
- package/lib/components/Form/Form.d.ts +40 -40
- package/lib/components/Form/FormError.d.ts +8 -8
- package/lib/components/Form/FormGroup.d.ts +7 -7
- package/lib/components/Form/FormHint/FormHint.d.ts +2 -2
- package/lib/components/Form/FormHint/index.d.ts +1 -1
- package/lib/components/Form/FormInput/FormInput.d.ts +29 -29
- package/lib/components/Form/FormInput/index.d.ts +1 -1
- package/lib/components/Form/FormLabel/FormLabel.d.ts +2 -2
- package/lib/components/Form/FormLabel/index.d.ts +1 -1
- package/lib/components/Form/form.interfaces.d.ts +40 -40
- package/lib/components/Form/form.models.d.ts +12 -12
- package/lib/components/Form/form.types.d.ts +2 -2
- package/lib/components/Form/index.d.ts +10 -10
- package/lib/components/Form/validators/EmailValidtor.d.ts +1 -1
- package/lib/components/Form/validators/IsEmptyValidator.d.ts +1 -1
- package/lib/components/Form/validators/IsEqualValidator.d.ts +1 -1
- package/lib/components/Form/validators/MaxValidator.d.ts +1 -1
- package/lib/components/Form/validators/MinValidator.d.ts +1 -1
- package/lib/components/Form/validators/index.d.ts +5 -5
- package/lib/components/Grid/Column/Column.d.ts +10 -10
- package/lib/components/Grid/Column/index.d.ts +1 -1
- package/lib/components/Grid/Row/Row.d.ts +5 -5
- package/lib/components/Grid/Row/index.d.ts +1 -1
- package/lib/components/Grid/index.d.ts +2 -2
- package/lib/components/Icon/Icon.d.ts +8 -8
- package/lib/components/Icon/index.d.ts +1 -1
- package/lib/components/IconButton/IconButton.d.ts +11 -11
- package/lib/components/IconButton/index.d.ts +1 -1
- package/lib/components/Link/Link.d.ts +2 -2
- package/lib/components/Link/Link.test.d.ts +1 -1
- package/lib/components/Link/index.d.ts +1 -1
- package/lib/components/List/List.d.ts +5 -5
- package/lib/components/List/ListItem.d.ts +9 -9
- package/lib/components/List/ListItemAction.d.ts +2 -2
- package/lib/components/List/ListItemAvatar.d.ts +6 -6
- package/lib/components/List/ListItemIcon.d.ts +6 -6
- package/lib/components/List/ListItemText.d.ts +8 -8
- package/lib/components/List/index.d.ts +6 -6
- package/lib/components/List/list.models.d.ts +8 -8
- package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +2 -2
- package/lib/components/LoadingIndicator/LoadingIndicatorContainer.d.ts +6 -6
- package/lib/components/LoadingIndicator/index.d.ts +3 -3
- package/lib/components/LoadingIndicator/loading-indicator.service.d.ts +12 -12
- package/lib/components/Menu/Menu.d.ts +12 -12
- package/lib/components/Menu/MenuBody.d.ts +13 -13
- package/lib/components/Menu/MenuContext.d.ts +6 -6
- package/lib/components/Menu/MenuDivider.d.ts +2 -2
- package/lib/components/Menu/MenuItem.d.ts +3 -3
- package/lib/components/Menu/MenuToggle.d.ts +6 -6
- package/lib/components/Menu/index.d.ts +6 -6
- package/lib/components/Menu/menu.types.d.ts +1 -1
- package/lib/components/Modal/GlobalModal.d.ts +21 -21
- package/lib/components/Modal/Modal.d.ts +15 -15
- package/lib/components/Modal/ModalBody.d.ts +6 -6
- package/lib/components/Modal/ModalFooter.d.ts +6 -6
- package/lib/components/Modal/ModalHeader.d.ts +8 -8
- package/lib/components/Modal/index.d.ts +8 -8
- package/lib/components/Modal/modal.enum.d.ts +10 -10
- package/lib/components/Modal/modal.interfaces.d.ts +12 -12
- package/lib/components/Modal/modal.service.d.ts +22 -22
- package/lib/components/NumberSelect/NumberSelect.d.ts +12 -12
- package/lib/components/NumberSelect/index.d.ts +1 -1
- package/lib/components/Portal/Portal.d.ts +7 -7
- package/lib/components/Portal/index.d.ts +1 -1
- package/lib/components/ProgressBar/ProgressBar.d.ts +9 -9
- package/lib/components/ProgressBar/index.d.ts +1 -1
- package/lib/components/Select/Select.d.ts +16 -16
- package/lib/components/Select/index.d.ts +1 -1
- package/lib/components/Sidebar/Sidebar.d.ts +9 -9
- package/lib/components/Sidebar/index.d.ts +2 -2
- package/lib/components/Sidebar/sidebar.interfaces.d.ts +9 -9
- package/lib/components/Sidebar/sidebar.models.d.ts +11 -11
- package/lib/components/Skeleton/SkeletonAvatar.d.ts +5 -5
- package/lib/components/Skeleton/SkeletonFooter.d.ts +5 -5
- package/lib/components/Skeleton/SkeletonImage.d.ts +5 -5
- package/lib/components/Skeleton/SkeletonText.d.ts +5 -5
- package/lib/components/Skeleton/index.d.ts +4 -4
- package/lib/components/Snackbar/Snackbar.d.ts +9 -9
- package/lib/components/Snackbar/index.d.ts +2 -2
- package/lib/components/Snackbar/snackbar.service.d.ts +20 -20
- package/lib/components/SpeedDial/SpeedDial.d.ts +7 -7
- package/lib/components/SpeedDial/SpeedDialAction.d.ts +9 -9
- package/lib/components/SpeedDial/SpeedDialActions.d.ts +2 -2
- package/lib/components/SpeedDial/SpeedDialIcon.d.ts +6 -6
- package/lib/components/SpeedDial/index.d.ts +3 -3
- package/lib/components/Stepper/Dot/Dot.d.ts +7 -7
- package/lib/components/Stepper/Dot/index.d.ts +1 -1
- package/lib/components/Stepper/Step/Step.d.ts +20 -20
- package/lib/components/Stepper/Step/index.d.ts +1 -1
- package/lib/components/Stepper/StepConnector/StepConnector.d.ts +6 -6
- package/lib/components/Stepper/StepPanel/StepPanel.d.ts +5 -5
- package/lib/components/Stepper/Stepper.d.ts +20 -20
- package/lib/components/Stepper/StepperActions/StepperActions.d.ts +14 -14
- package/lib/components/Stepper/StepperActions/index.d.ts +1 -1
- package/lib/components/Stepper/index.d.ts +4 -4
- package/lib/components/Table/Table.d.ts +8 -8
- package/lib/components/Table/TableBody.d.ts +2 -2
- package/lib/components/Table/TableCell.d.ts +5 -5
- package/lib/components/Table/TableContext.d.ts +6 -6
- package/lib/components/Table/TableHead.d.ts +2 -2
- package/lib/components/Table/TableRow.d.ts +2 -2
- package/lib/components/Table/index.d.ts +5 -5
- package/lib/components/Tabs/Tab.d.ts +13 -13
- package/lib/components/Tabs/TabContext.d.ts +8 -8
- package/lib/components/Tabs/TabIndicator.d.ts +10 -10
- package/lib/components/Tabs/TabPanel.d.ts +6 -6
- package/lib/components/Tabs/Tabs.d.ts +13 -13
- package/lib/components/Tabs/index.d.ts +3 -3
- package/lib/components/Textarea/Textarea.d.ts +5 -5
- package/lib/components/Textarea/index.d.ts +1 -1
- package/lib/components/TimeSelect/HourSelect.d.ts +10 -10
- package/lib/components/TimeSelect/MilliSecondSelect.d.ts +11 -11
- package/lib/components/TimeSelect/MinuteSelect.d.ts +10 -10
- package/lib/components/TimeSelect/SecondSelect.d.ts +10 -10
- package/lib/components/TimeSelect/TimeSelect.d.ts +20 -20
- package/lib/components/TimeSelect/index.d.ts +5 -5
- package/lib/components/Tooltip/Tooltip.d.ts +10 -10
- package/lib/components/Tooltip/index.d.ts +2 -1
- package/lib/components/Tooltip/tooltip.enums.d.ts +6 -6
- package/lib/components/TreeView/TreeItem.d.ts +14 -14
- package/lib/components/TreeView/TreeView.d.ts +2 -2
- package/lib/components/TreeView/index.d.ts +2 -2
- package/lib/components/Typography/Typography.d.ts +12 -12
- package/lib/components/Typography/index.d.ts +1 -1
- package/lib/components/component.enums.d.ts +26 -26
- package/lib/components/component.interfaces.d.ts +18 -18
- package/lib/components/index.d.ts +46 -46
- package/lib/hooks/index.d.ts +7 -7
- package/lib/hooks/useConstructor.d.ts +1 -1
- package/lib/hooks/useCssClasses.d.ts +1 -1
- package/lib/hooks/useDebounce.d.ts +2 -2
- package/lib/hooks/useHover.d.ts +2 -2
- package/lib/hooks/useMobileDetect.d.ts +3 -3
- package/lib/hooks/useOnDestroy.d.ts +1 -1
- package/lib/hooks/useWindowSize.d.ts +5 -5
- package/lib/icons/CaretDownSolidIcon.d.ts +2 -2
- package/lib/icons/CheckSolidIcon.d.ts +2 -2
- package/lib/icons/CheckSquareRegularIcon.d.ts +2 -2
- package/lib/icons/ChevronDownSolidIcon.d.ts +2 -2
- package/lib/icons/ChevronLeftSolidIcon.d.ts +2 -2
- package/lib/icons/ChevronRightSolidIcon.d.ts +2 -2
- package/lib/icons/ChevronUpSolidIcon.d.ts +2 -2
- package/lib/icons/CircleSolidIcon.d.ts +2 -2
- package/lib/icons/HomeSolidIcon.d.ts +2 -2
- package/lib/icons/PlusSolidIcon.d.ts +2 -2
- package/lib/icons/SpinnerSolidIcon.d.ts +2 -2
- package/lib/icons/SquareRegularIcon.d.ts +2 -2
- package/lib/icons/TimesCircleSolidIcon.d.ts +2 -2
- package/lib/icons/TimesSolidIcon.d.ts +2 -2
- package/lib/icons/index.d.ts +14 -14
- package/lib/index.d.ts +4 -4
- package/lib/interfaces/index.d.ts +1 -1
- package/lib/interfaces/interfaces.d.ts +3 -3
- package/package.json +5 -5
- package/vite.config.d.ts +2 -2
package/index.d.ts
CHANGED
|
@@ -1,139 +1,141 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React$1, { ReactNode, Component, ComponentProps, ReactElement } from 'react';
|
|
3
3
|
|
|
4
|
-
declare enum COLOR {
|
|
5
|
-
primary = "primary",
|
|
6
|
-
accent = "accent",
|
|
7
|
-
secondary = "secondary",
|
|
8
|
-
danger = "danger",
|
|
9
|
-
light = "light",
|
|
10
|
-
dark = "dark"
|
|
11
|
-
}
|
|
12
|
-
declare enum VARIANT {
|
|
13
|
-
contained = "contained",
|
|
14
|
-
outline = "outline",
|
|
15
|
-
text = "text"
|
|
16
|
-
}
|
|
17
|
-
declare enum SIZE {
|
|
18
|
-
sm = "sm",
|
|
19
|
-
md = "md",
|
|
20
|
-
lg = "lg"
|
|
21
|
-
}
|
|
22
|
-
declare enum POSITION {
|
|
23
|
-
right = "right",
|
|
24
|
-
left = "left"
|
|
25
|
-
}
|
|
26
|
-
declare enum STATUS {
|
|
27
|
-
HOVERED = "hovered",
|
|
28
|
-
NORMAL = "normal"
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
interface IAlertProps extends React$1.ComponentProps<'div'> {
|
|
32
|
-
children?: ReactNode;
|
|
33
|
-
className?: string;
|
|
34
|
-
variant?: VARIANT;
|
|
35
|
-
color?: COLOR;
|
|
36
|
-
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
37
|
-
}
|
|
4
|
+
declare enum COLOR {
|
|
5
|
+
primary = "primary",
|
|
6
|
+
accent = "accent",
|
|
7
|
+
secondary = "secondary",
|
|
8
|
+
danger = "danger",
|
|
9
|
+
light = "light",
|
|
10
|
+
dark = "dark"
|
|
11
|
+
}
|
|
12
|
+
declare enum VARIANT {
|
|
13
|
+
contained = "contained",
|
|
14
|
+
outline = "outline",
|
|
15
|
+
text = "text"
|
|
16
|
+
}
|
|
17
|
+
declare enum SIZE {
|
|
18
|
+
sm = "sm",
|
|
19
|
+
md = "md",
|
|
20
|
+
lg = "lg"
|
|
21
|
+
}
|
|
22
|
+
declare enum POSITION {
|
|
23
|
+
right = "right",
|
|
24
|
+
left = "left"
|
|
25
|
+
}
|
|
26
|
+
declare enum STATUS {
|
|
27
|
+
HOVERED = "hovered",
|
|
28
|
+
NORMAL = "normal"
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
interface IAlertProps extends React$1.ComponentProps<'div'> {
|
|
32
|
+
children?: ReactNode;
|
|
33
|
+
className?: string;
|
|
34
|
+
variant?: VARIANT;
|
|
35
|
+
color?: COLOR;
|
|
36
|
+
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
37
|
+
}
|
|
38
38
|
declare const Alert: (props: IAlertProps) => JSX.Element;
|
|
39
39
|
|
|
40
|
-
interface IAppBarProps extends React$1.ComponentProps<'nav'> {
|
|
41
|
-
children?: ReactNode;
|
|
42
|
-
className?: string;
|
|
43
|
-
color?: COLOR;
|
|
44
|
-
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
45
|
-
}
|
|
40
|
+
interface IAppBarProps extends React$1.ComponentProps<'nav'> {
|
|
41
|
+
children?: ReactNode;
|
|
42
|
+
className?: string;
|
|
43
|
+
color?: COLOR;
|
|
44
|
+
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
45
|
+
}
|
|
46
46
|
declare const AppBar: (props: IAppBarProps) => JSX.Element;
|
|
47
47
|
|
|
48
|
-
interface IAppBarTitleProps extends React$1.ComponentProps<'div'> {
|
|
49
|
-
children?: ReactNode;
|
|
50
|
-
}
|
|
48
|
+
interface IAppBarTitleProps extends React$1.ComponentProps<'div'> {
|
|
49
|
+
children?: ReactNode;
|
|
50
|
+
}
|
|
51
51
|
declare const AppBarTitle: (props: IAppBarTitleProps) => JSX.Element;
|
|
52
52
|
|
|
53
|
-
interface HtmlBaseProps {
|
|
54
|
-
className?: string;
|
|
55
|
-
id?: string;
|
|
56
|
-
name?: string;
|
|
57
|
-
autoFocus?: boolean;
|
|
58
|
-
readOnly?: boolean;
|
|
59
|
-
disabled?: boolean;
|
|
60
|
-
}
|
|
61
|
-
interface HtmlInputProps extends HtmlBaseProps {
|
|
62
|
-
onBlur?: (val: React.FocusEvent<HTMLInputElement>) => void;
|
|
63
|
-
onChange?: (val: React.FocusEvent<HTMLInputElement>) => void;
|
|
64
|
-
placeholder?: string;
|
|
65
|
-
}
|
|
66
|
-
interface ISelectOption {
|
|
67
|
-
value: string;
|
|
68
|
-
label?: React.ReactNode;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
interface IAutoCompleteProps {
|
|
72
|
-
id?: string;
|
|
73
|
-
name?: string;
|
|
74
|
-
className?: string;
|
|
75
|
-
options?: ISelectOption[];
|
|
76
|
-
value?: string;
|
|
77
|
-
openOnFocus?: boolean;
|
|
78
|
-
disabled?: boolean;
|
|
79
|
-
placeholder?: string;
|
|
80
|
-
readOnly?: boolean;
|
|
81
|
-
debounce?: number;
|
|
82
|
-
showClearButton?: boolean;
|
|
83
|
-
onSelect?: (val: ISelectOption) => void;
|
|
84
|
-
onChange?: (val: string | undefined) => void;
|
|
85
|
-
}
|
|
53
|
+
interface HtmlBaseProps {
|
|
54
|
+
className?: string;
|
|
55
|
+
id?: string;
|
|
56
|
+
name?: string;
|
|
57
|
+
autoFocus?: boolean;
|
|
58
|
+
readOnly?: boolean;
|
|
59
|
+
disabled?: boolean;
|
|
60
|
+
}
|
|
61
|
+
interface HtmlInputProps extends HtmlBaseProps {
|
|
62
|
+
onBlur?: (val: React.FocusEvent<HTMLInputElement>) => void;
|
|
63
|
+
onChange?: (val: React.FocusEvent<HTMLInputElement>) => void;
|
|
64
|
+
placeholder?: string;
|
|
65
|
+
}
|
|
66
|
+
interface ISelectOption {
|
|
67
|
+
value: string;
|
|
68
|
+
label?: React.ReactNode;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
interface IAutoCompleteProps {
|
|
72
|
+
id?: string;
|
|
73
|
+
name?: string;
|
|
74
|
+
className?: string;
|
|
75
|
+
options?: ISelectOption[];
|
|
76
|
+
value?: string;
|
|
77
|
+
openOnFocus?: boolean;
|
|
78
|
+
disabled?: boolean;
|
|
79
|
+
placeholder?: string;
|
|
80
|
+
readOnly?: boolean;
|
|
81
|
+
debounce?: number;
|
|
82
|
+
showClearButton?: boolean;
|
|
83
|
+
onSelect?: (val: ISelectOption) => void;
|
|
84
|
+
onChange?: (val: string | undefined) => void;
|
|
85
|
+
}
|
|
86
86
|
declare const AutoComplete: (props: IAutoCompleteProps) => JSX.Element;
|
|
87
87
|
|
|
88
|
-
interface IBackdropProps extends React$1.ComponentProps<'div'> {
|
|
89
|
-
target?: HTMLElement;
|
|
90
|
-
isTransparent?: boolean;
|
|
91
|
-
}
|
|
88
|
+
interface IBackdropProps extends React$1.ComponentProps<'div'> {
|
|
89
|
+
target?: HTMLElement;
|
|
90
|
+
isTransparent?: boolean;
|
|
91
|
+
}
|
|
92
92
|
declare const Backdrop: (props: IBackdropProps) => JSX.Element;
|
|
93
93
|
|
|
94
|
-
interface IBadgeProps
|
|
95
|
-
color?: COLOR;
|
|
96
|
-
content?: React$1.ReactNode;
|
|
97
|
-
|
|
94
|
+
interface IBadgeProps {
|
|
95
|
+
color?: COLOR;
|
|
96
|
+
content?: React$1.ReactNode;
|
|
97
|
+
className?: string;
|
|
98
|
+
children?: React$1.ReactNode;
|
|
99
|
+
}
|
|
98
100
|
declare const Badge: (props: IBadgeProps) => JSX.Element;
|
|
99
101
|
|
|
100
|
-
interface IBreadcrumbProps extends React$1.ComponentProps<'nav'> {
|
|
101
|
-
children?: ReactNode;
|
|
102
|
-
}
|
|
102
|
+
interface IBreadcrumbProps extends React$1.ComponentProps<'nav'> {
|
|
103
|
+
children?: ReactNode;
|
|
104
|
+
}
|
|
103
105
|
declare const Breadcrumb: (props: IBreadcrumbProps) => JSX.Element;
|
|
104
106
|
|
|
105
|
-
interface IBreadcrumbItemProps extends React$1.ComponentProps<'li'> {
|
|
106
|
-
isActive?: boolean;
|
|
107
|
-
path?: string;
|
|
108
|
-
}
|
|
107
|
+
interface IBreadcrumbItemProps extends React$1.ComponentProps<'li'> {
|
|
108
|
+
isActive?: boolean;
|
|
109
|
+
path?: string;
|
|
110
|
+
}
|
|
109
111
|
declare const BreadcrumbItem: (props: IBreadcrumbItemProps) => JSX.Element;
|
|
110
112
|
|
|
111
|
-
interface IButtonProps extends React$1.ComponentProps<'button'> {
|
|
112
|
-
color?: COLOR;
|
|
113
|
-
isActive?: boolean;
|
|
114
|
-
isRounded?: boolean;
|
|
115
|
-
variant?: VARIANT;
|
|
116
|
-
startIcon?: React$1.ReactNode;
|
|
117
|
-
endIcon?: React$1.ReactNode;
|
|
118
|
-
shadow?: boolean;
|
|
119
|
-
block?: boolean;
|
|
120
|
-
}
|
|
113
|
+
interface IButtonProps extends React$1.ComponentProps<'button'> {
|
|
114
|
+
color?: COLOR;
|
|
115
|
+
isActive?: boolean;
|
|
116
|
+
isRounded?: boolean;
|
|
117
|
+
variant?: VARIANT;
|
|
118
|
+
startIcon?: React$1.ReactNode;
|
|
119
|
+
endIcon?: React$1.ReactNode;
|
|
120
|
+
shadow?: boolean;
|
|
121
|
+
block?: boolean;
|
|
122
|
+
}
|
|
121
123
|
declare const Button: React$1.FunctionComponent<IButtonProps>;
|
|
122
124
|
|
|
123
|
-
interface IButtonContext {
|
|
124
|
-
color: COLOR | null;
|
|
125
|
-
}
|
|
126
|
-
declare const ButtonContext: React.Context<IButtonContext>;
|
|
125
|
+
interface IButtonContext {
|
|
126
|
+
color: COLOR | null;
|
|
127
|
+
}
|
|
128
|
+
declare const ButtonContext: React.Context<IButtonContext>;
|
|
127
129
|
declare const useButtonContext: () => IButtonContext;
|
|
128
130
|
|
|
129
|
-
interface IButtonGroupProps extends React$1.ComponentProps<'div'> {
|
|
130
|
-
color?: COLOR;
|
|
131
|
-
}
|
|
131
|
+
interface IButtonGroupProps extends React$1.ComponentProps<'div'> {
|
|
132
|
+
color?: COLOR;
|
|
133
|
+
}
|
|
132
134
|
declare const ButtonGroup: (props: IButtonGroupProps) => JSX.Element;
|
|
133
135
|
|
|
134
|
-
interface ICardProps extends React$1.ComponentProps<'div'> {
|
|
135
|
-
shadow?: boolean;
|
|
136
|
-
}
|
|
136
|
+
interface ICardProps extends React$1.ComponentProps<'div'> {
|
|
137
|
+
shadow?: boolean;
|
|
138
|
+
}
|
|
137
139
|
declare const Card: (props: ICardProps) => JSX.Element;
|
|
138
140
|
|
|
139
141
|
declare const CardBody: (props: React$1.ComponentProps<'div'>) => JSX.Element;
|
|
@@ -144,281 +146,281 @@ declare const CardSubtitle: (props: React$1.ComponentProps<'div'>) => JSX.Elemen
|
|
|
144
146
|
|
|
145
147
|
declare const CardText: (props: React$1.ComponentProps<'p'>) => JSX.Element;
|
|
146
148
|
|
|
147
|
-
interface ICardTitleProps extends React$1.ComponentProps<'div'> {
|
|
148
|
-
as?: any;
|
|
149
|
-
}
|
|
149
|
+
interface ICardTitleProps extends React$1.ComponentProps<'div'> {
|
|
150
|
+
as?: any;
|
|
151
|
+
}
|
|
150
152
|
declare const CardTitle: (props: ICardTitleProps) => JSX.Element;
|
|
151
153
|
|
|
152
154
|
declare const CardImage: (props: React$1.ComponentProps<'img'>) => JSX.Element;
|
|
153
155
|
|
|
154
|
-
interface ICheckboxProps extends React$1.ComponentProps<'input'> {
|
|
155
|
-
label?: string;
|
|
156
|
-
value?: string;
|
|
157
|
-
onKeyDown?: (event: React$1.KeyboardEvent) => void;
|
|
158
|
-
}
|
|
156
|
+
interface ICheckboxProps extends React$1.ComponentProps<'input'> {
|
|
157
|
+
label?: string;
|
|
158
|
+
value?: string;
|
|
159
|
+
onKeyDown?: (event: React$1.KeyboardEvent) => void;
|
|
160
|
+
}
|
|
159
161
|
declare const Checkbox: (props: ICheckboxProps) => JSX.Element;
|
|
160
162
|
|
|
161
|
-
interface IChipProps extends React$1.ComponentProps<'div'> {
|
|
162
|
-
color?: COLOR;
|
|
163
|
-
shadow?: boolean;
|
|
164
|
-
onClick?: (e: React$1.MouseEvent<Element>) => void;
|
|
165
|
-
isDeletable?: boolean;
|
|
166
|
-
onDelete?: (e: React$1.MouseEvent<Element>) => void;
|
|
167
|
-
deleteIcon?: JSX.Element;
|
|
168
|
-
}
|
|
163
|
+
interface IChipProps extends React$1.ComponentProps<'div'> {
|
|
164
|
+
color?: COLOR;
|
|
165
|
+
shadow?: boolean;
|
|
166
|
+
onClick?: (e: React$1.MouseEvent<Element>) => void;
|
|
167
|
+
isDeletable?: boolean;
|
|
168
|
+
onDelete?: (e: React$1.MouseEvent<Element>) => void;
|
|
169
|
+
deleteIcon?: JSX.Element;
|
|
170
|
+
}
|
|
169
171
|
declare const Chip: (props: IChipProps) => JSX.Element;
|
|
170
172
|
|
|
171
|
-
interface IConditionalWrapperProps {
|
|
172
|
-
condition: boolean;
|
|
173
|
-
wrapper: (children: React$1.ReactNode) => JSX.Element;
|
|
174
|
-
children: any;
|
|
175
|
-
}
|
|
173
|
+
interface IConditionalWrapperProps {
|
|
174
|
+
condition: boolean;
|
|
175
|
+
wrapper: (children: React$1.ReactNode) => JSX.Element;
|
|
176
|
+
children: any;
|
|
177
|
+
}
|
|
176
178
|
declare const ConditionalWrapper: ({ condition, wrapper, children }: IConditionalWrapperProps) => JSX.Element;
|
|
177
179
|
|
|
178
|
-
interface ICssTransitionProps {
|
|
179
|
-
className: string;
|
|
180
|
-
children: React$1.ReactNode;
|
|
181
|
-
show: boolean;
|
|
182
|
-
}
|
|
180
|
+
interface ICssTransitionProps {
|
|
181
|
+
className: string;
|
|
182
|
+
children: React$1.ReactNode;
|
|
183
|
+
show: boolean;
|
|
184
|
+
}
|
|
183
185
|
declare const CssTransition: (props: ICssTransitionProps) => JSX.Element;
|
|
184
186
|
|
|
185
|
-
interface IDatePickerProps {
|
|
186
|
-
value?: Date;
|
|
187
|
-
selectRange?: boolean;
|
|
188
|
-
minDate?: Date;
|
|
189
|
-
maxDate?: Date;
|
|
190
|
-
onChange?: (val: Date) => void;
|
|
191
|
-
}
|
|
187
|
+
interface IDatePickerProps {
|
|
188
|
+
value?: Date;
|
|
189
|
+
selectRange?: boolean;
|
|
190
|
+
minDate?: Date;
|
|
191
|
+
maxDate?: Date;
|
|
192
|
+
onChange?: (val: Date) => void;
|
|
193
|
+
}
|
|
192
194
|
declare const DatePicker: (props: IDatePickerProps) => JSX.Element;
|
|
193
195
|
|
|
194
|
-
declare enum DATEMODE {
|
|
195
|
-
YEAR = 0,
|
|
196
|
-
MONTH = 1,
|
|
197
|
-
DAY = 2
|
|
198
|
-
}
|
|
199
|
-
interface IDateSelectProps {
|
|
200
|
-
value?: Date;
|
|
201
|
-
className?: string;
|
|
202
|
-
disabled?: boolean;
|
|
203
|
-
yearConfig?: {
|
|
204
|
-
from?: number;
|
|
205
|
-
to?: number;
|
|
206
|
-
};
|
|
207
|
-
onChange?: (val: Date) => void;
|
|
208
|
-
}
|
|
196
|
+
declare enum DATEMODE {
|
|
197
|
+
YEAR = 0,
|
|
198
|
+
MONTH = 1,
|
|
199
|
+
DAY = 2
|
|
200
|
+
}
|
|
201
|
+
interface IDateSelectProps {
|
|
202
|
+
value?: Date;
|
|
203
|
+
className?: string;
|
|
204
|
+
disabled?: boolean;
|
|
205
|
+
yearConfig?: {
|
|
206
|
+
from?: number;
|
|
207
|
+
to?: number;
|
|
208
|
+
};
|
|
209
|
+
onChange?: (val: Date) => void;
|
|
210
|
+
}
|
|
209
211
|
declare const DateSelect: (props: IDateSelectProps) => JSX.Element;
|
|
210
212
|
|
|
211
|
-
interface IYearProps {
|
|
212
|
-
from?: number;
|
|
213
|
-
to?: number;
|
|
214
|
-
value?: number;
|
|
215
|
-
className?: string;
|
|
216
|
-
id?: string;
|
|
217
|
-
name?: string;
|
|
218
|
-
disabled?: boolean;
|
|
219
|
-
onChange?: (val: number) => void;
|
|
220
|
-
}
|
|
213
|
+
interface IYearProps {
|
|
214
|
+
from?: number;
|
|
215
|
+
to?: number;
|
|
216
|
+
value?: number;
|
|
217
|
+
className?: string;
|
|
218
|
+
id?: string;
|
|
219
|
+
name?: string;
|
|
220
|
+
disabled?: boolean;
|
|
221
|
+
onChange?: (val: number) => void;
|
|
222
|
+
}
|
|
221
223
|
declare const YearSelect: (props: IYearProps) => JSX.Element;
|
|
222
224
|
|
|
223
|
-
interface IDaySelectProps {
|
|
224
|
-
day?: number;
|
|
225
|
-
month?: number;
|
|
226
|
-
year?: number;
|
|
227
|
-
className?: string;
|
|
228
|
-
id?: string;
|
|
229
|
-
name?: string;
|
|
230
|
-
disabled?: boolean;
|
|
231
|
-
onChange?: (val: number) => void;
|
|
232
|
-
}
|
|
225
|
+
interface IDaySelectProps {
|
|
226
|
+
day?: number;
|
|
227
|
+
month?: number;
|
|
228
|
+
year?: number;
|
|
229
|
+
className?: string;
|
|
230
|
+
id?: string;
|
|
231
|
+
name?: string;
|
|
232
|
+
disabled?: boolean;
|
|
233
|
+
onChange?: (val: number) => void;
|
|
234
|
+
}
|
|
233
235
|
declare const DaySelect: (props: IDaySelectProps) => JSX.Element;
|
|
234
236
|
|
|
235
|
-
interface IMonthProps {
|
|
236
|
-
value?: number;
|
|
237
|
-
className?: string;
|
|
238
|
-
id?: string;
|
|
239
|
-
name?: string;
|
|
240
|
-
disabled?: boolean;
|
|
241
|
-
onChange?: (val: number) => void;
|
|
242
|
-
}
|
|
237
|
+
interface IMonthProps {
|
|
238
|
+
value?: number;
|
|
239
|
+
className?: string;
|
|
240
|
+
id?: string;
|
|
241
|
+
name?: string;
|
|
242
|
+
disabled?: boolean;
|
|
243
|
+
onChange?: (val: number) => void;
|
|
244
|
+
}
|
|
243
245
|
declare const MonthSelect: (props: IMonthProps) => JSX.Element;
|
|
244
246
|
|
|
245
|
-
interface IDrawerProps extends React$1.ComponentProps<'div'> {
|
|
246
|
-
position?: 'left' | 'right';
|
|
247
|
-
shadow?: boolean;
|
|
248
|
-
onClickBackdrop?: () => void;
|
|
249
|
-
permanent?: boolean;
|
|
250
|
-
target?: HTMLElement;
|
|
251
|
-
}
|
|
247
|
+
interface IDrawerProps extends React$1.ComponentProps<'div'> {
|
|
248
|
+
position?: 'left' | 'right';
|
|
249
|
+
shadow?: boolean;
|
|
250
|
+
onClickBackdrop?: () => void;
|
|
251
|
+
permanent?: boolean;
|
|
252
|
+
target?: HTMLElement;
|
|
253
|
+
}
|
|
252
254
|
declare const Drawer: (props: IDrawerProps) => JSX.Element;
|
|
253
255
|
|
|
254
|
-
interface IExpansionPanelProps {
|
|
255
|
-
header: ReactNode;
|
|
256
|
-
children: ReactNode;
|
|
257
|
-
isExpanded?: boolean;
|
|
258
|
-
shadow?: boolean;
|
|
259
|
-
onChange?: (event: React$1.MouseEvent, isExpanded: boolean) => void;
|
|
260
|
-
}
|
|
256
|
+
interface IExpansionPanelProps {
|
|
257
|
+
header: ReactNode;
|
|
258
|
+
children: ReactNode;
|
|
259
|
+
isExpanded?: boolean;
|
|
260
|
+
shadow?: boolean;
|
|
261
|
+
onChange?: (event: React$1.MouseEvent, isExpanded: boolean) => void;
|
|
262
|
+
}
|
|
261
263
|
declare const ExpansionPanel: (props: IExpansionPanelProps) => JSX.Element;
|
|
262
264
|
|
|
263
|
-
interface IExpansionPanelHeaderProps {
|
|
264
|
-
onClick?: (event: React$1.MouseEvent) => void;
|
|
265
|
-
children?: ReactNode;
|
|
266
|
-
isExpanded: boolean;
|
|
267
|
-
}
|
|
265
|
+
interface IExpansionPanelHeaderProps {
|
|
266
|
+
onClick?: (event: React$1.MouseEvent) => void;
|
|
267
|
+
children?: ReactNode;
|
|
268
|
+
isExpanded: boolean;
|
|
269
|
+
}
|
|
268
270
|
declare const ExpansionPanelHeader: (props: IExpansionPanelHeaderProps) => JSX.Element;
|
|
269
271
|
|
|
270
|
-
interface IExpansionPanelContentProps {
|
|
271
|
-
children?: ReactNode;
|
|
272
|
-
}
|
|
272
|
+
interface IExpansionPanelContentProps {
|
|
273
|
+
children?: ReactNode;
|
|
274
|
+
}
|
|
273
275
|
declare const ExpansionPanelContent: ({ children }: IExpansionPanelContentProps) => JSX.Element;
|
|
274
276
|
|
|
275
|
-
interface IFileInputProps extends React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
|
|
276
|
-
deletable?: boolean;
|
|
277
|
-
}
|
|
277
|
+
interface IFileInputProps extends React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
|
|
278
|
+
deletable?: boolean;
|
|
279
|
+
}
|
|
278
280
|
declare const FileInput: (props: IFileInputProps) => JSX.Element;
|
|
279
281
|
|
|
280
|
-
interface IFloatingActionButtonProps extends React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
281
|
-
icon?: React$1.ReactNode;
|
|
282
|
-
color?: COLOR;
|
|
283
|
-
size?: SIZE;
|
|
284
|
-
fixed?: boolean;
|
|
285
|
-
isActive?: boolean;
|
|
286
|
-
disabled?: boolean;
|
|
287
|
-
position?: 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
288
|
-
onClick?: (e: React$1.MouseEvent) => void;
|
|
289
|
-
}
|
|
282
|
+
interface IFloatingActionButtonProps extends React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
283
|
+
icon?: React$1.ReactNode;
|
|
284
|
+
color?: COLOR;
|
|
285
|
+
size?: SIZE;
|
|
286
|
+
fixed?: boolean;
|
|
287
|
+
isActive?: boolean;
|
|
288
|
+
disabled?: boolean;
|
|
289
|
+
position?: 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
290
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
291
|
+
}
|
|
290
292
|
declare const FloatingActionButton: (props: IFloatingActionButtonProps) => JSX.Element;
|
|
291
293
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
declare class FormControl {
|
|
296
|
-
value: any;
|
|
297
|
-
validators: string[];
|
|
298
|
-
type: IFormControlType;
|
|
299
|
-
config: IFormControlConfig;
|
|
300
|
-
constructor(value: any, validators: string[], type: IFormControlType, config: IFormControlConfig);
|
|
301
|
-
errors: IFormInputError[];
|
|
302
|
-
isValid: boolean;
|
|
303
|
-
isDirty: boolean;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
interface IControls {
|
|
307
|
-
[key: string]: FormControl;
|
|
308
|
-
}
|
|
309
|
-
interface IFormTextAreaOptions {
|
|
310
|
-
rows?: number;
|
|
311
|
-
resize?: boolean;
|
|
312
|
-
}
|
|
313
|
-
interface IFormSelectOptions {
|
|
314
|
-
multiple?: boolean;
|
|
315
|
-
}
|
|
316
|
-
interface IFormAutoCompleteOptions {
|
|
317
|
-
openOnFocus?: boolean;
|
|
318
|
-
}
|
|
319
|
-
interface IFormInputError {
|
|
320
|
-
validator: string;
|
|
321
|
-
message: string;
|
|
322
|
-
}
|
|
323
|
-
interface IFormInputOptions {
|
|
324
|
-
id?: string;
|
|
325
|
-
value: string;
|
|
326
|
-
label?: React.ReactNode;
|
|
327
|
-
}
|
|
328
|
-
interface IFormControlConfig {
|
|
329
|
-
label: string;
|
|
330
|
-
placeholder?: string;
|
|
331
|
-
formControlClassName?: string;
|
|
332
|
-
formGroupClassName?: string;
|
|
333
|
-
labelClassName?: string;
|
|
334
|
-
labelPosition?: string;
|
|
335
|
-
autoFocus?: boolean;
|
|
336
|
-
hint?: string;
|
|
337
|
-
disabled?: boolean;
|
|
338
|
-
readonly?: boolean;
|
|
339
|
-
options?: IFormInputOptions[];
|
|
340
|
-
textareaOptions?: IFormTextAreaOptions;
|
|
341
|
-
selectOptions?: IFormSelectOptions;
|
|
342
|
-
autoCompleteOptions?: IFormAutoCompleteOptions;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
interface IFormProps {
|
|
346
|
-
className?: string;
|
|
347
|
-
controls: IControls;
|
|
348
|
-
validateOnBlur?: boolean;
|
|
349
|
-
onSubmit?: (values: any) => void;
|
|
350
|
-
onChange?: (values: any) => void;
|
|
351
|
-
submitOnEnter?: boolean;
|
|
352
|
-
}
|
|
353
|
-
interface IFormState {
|
|
354
|
-
controls: IControls | undefined;
|
|
355
|
-
isValid: boolean;
|
|
356
|
-
isSubmitted: boolean;
|
|
357
|
-
isChanged: boolean;
|
|
358
|
-
submitOnEnter?: boolean;
|
|
359
|
-
}
|
|
360
|
-
declare class Form extends Component<IFormProps, IFormState> {
|
|
361
|
-
constructor(props: IFormProps);
|
|
362
|
-
getCssClasses(): string;
|
|
363
|
-
static getDerivedStateFromProps(nextProps: IFormProps, state: IFormState): {
|
|
364
|
-
controls: IControls;
|
|
365
|
-
} | null;
|
|
366
|
-
myForm: React$1.RefObject<HTMLFormElement>;
|
|
367
|
-
handleChange(): void;
|
|
368
|
-
private validateField;
|
|
369
|
-
private handleInputChange;
|
|
370
|
-
private handleOnBlur;
|
|
371
|
-
private isRequired;
|
|
372
|
-
private isInvalid;
|
|
373
|
-
getControl(name: string): FormControl;
|
|
374
|
-
private renderLabel;
|
|
375
|
-
handleFormSubmit(): void;
|
|
376
|
-
handleFormReset(): void;
|
|
377
|
-
handleOnKeyDown(e: React$1.KeyboardEvent<HTMLInputElement | undefined>): void;
|
|
378
|
-
destroy(): void;
|
|
379
|
-
getFormGroupCssClass(fieldKey: string): string | undefined;
|
|
380
|
-
render(): JSX.Element;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
interface IFormErrorProps {
|
|
384
|
-
className?: string;
|
|
385
|
-
errors?: IFormInputError[];
|
|
386
|
-
}
|
|
294
|
+
type IFormControlType = 'text' | 'textarea' | 'email' | 'number' | 'checkbox' | 'checkboxgroup' | 'radio' | 'select' | 'password' | 'color' | 'time' | 'file' | 'date' | 'datetime-local' | 'autocomplete';
|
|
295
|
+
type IFormValidatorType = 'required' | 'email' | 'match';
|
|
296
|
+
|
|
297
|
+
declare class FormControl {
|
|
298
|
+
value: any;
|
|
299
|
+
validators: string[];
|
|
300
|
+
type: IFormControlType;
|
|
301
|
+
config: IFormControlConfig;
|
|
302
|
+
constructor(value: any, validators: string[], type: IFormControlType, config: IFormControlConfig);
|
|
303
|
+
errors: IFormInputError[];
|
|
304
|
+
isValid: boolean;
|
|
305
|
+
isDirty: boolean;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
interface IControls {
|
|
309
|
+
[key: string]: FormControl;
|
|
310
|
+
}
|
|
311
|
+
interface IFormTextAreaOptions {
|
|
312
|
+
rows?: number;
|
|
313
|
+
resize?: boolean;
|
|
314
|
+
}
|
|
315
|
+
interface IFormSelectOptions {
|
|
316
|
+
multiple?: boolean;
|
|
317
|
+
}
|
|
318
|
+
interface IFormAutoCompleteOptions {
|
|
319
|
+
openOnFocus?: boolean;
|
|
320
|
+
}
|
|
321
|
+
interface IFormInputError {
|
|
322
|
+
validator: string;
|
|
323
|
+
message: string;
|
|
324
|
+
}
|
|
325
|
+
interface IFormInputOptions {
|
|
326
|
+
id?: string;
|
|
327
|
+
value: string;
|
|
328
|
+
label?: React.ReactNode;
|
|
329
|
+
}
|
|
330
|
+
interface IFormControlConfig {
|
|
331
|
+
label: string;
|
|
332
|
+
placeholder?: string;
|
|
333
|
+
formControlClassName?: string;
|
|
334
|
+
formGroupClassName?: string;
|
|
335
|
+
labelClassName?: string;
|
|
336
|
+
labelPosition?: string;
|
|
337
|
+
autoFocus?: boolean;
|
|
338
|
+
hint?: string;
|
|
339
|
+
disabled?: boolean;
|
|
340
|
+
readonly?: boolean;
|
|
341
|
+
options?: IFormInputOptions[];
|
|
342
|
+
textareaOptions?: IFormTextAreaOptions;
|
|
343
|
+
selectOptions?: IFormSelectOptions;
|
|
344
|
+
autoCompleteOptions?: IFormAutoCompleteOptions;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
interface IFormProps {
|
|
348
|
+
className?: string;
|
|
349
|
+
controls: IControls;
|
|
350
|
+
validateOnBlur?: boolean;
|
|
351
|
+
onSubmit?: (values: any) => void;
|
|
352
|
+
onChange?: (values: any) => void;
|
|
353
|
+
submitOnEnter?: boolean;
|
|
354
|
+
}
|
|
355
|
+
interface IFormState {
|
|
356
|
+
controls: IControls | undefined;
|
|
357
|
+
isValid: boolean;
|
|
358
|
+
isSubmitted: boolean;
|
|
359
|
+
isChanged: boolean;
|
|
360
|
+
submitOnEnter?: boolean;
|
|
361
|
+
}
|
|
362
|
+
declare class Form extends Component<IFormProps, IFormState> {
|
|
363
|
+
constructor(props: IFormProps);
|
|
364
|
+
getCssClasses(): string;
|
|
365
|
+
static getDerivedStateFromProps(nextProps: IFormProps, state: IFormState): {
|
|
366
|
+
controls: IControls;
|
|
367
|
+
} | null;
|
|
368
|
+
myForm: React$1.RefObject<HTMLFormElement>;
|
|
369
|
+
handleChange(): void;
|
|
370
|
+
private validateField;
|
|
371
|
+
private handleInputChange;
|
|
372
|
+
private handleOnBlur;
|
|
373
|
+
private isRequired;
|
|
374
|
+
private isInvalid;
|
|
375
|
+
getControl(name: string): FormControl;
|
|
376
|
+
private renderLabel;
|
|
377
|
+
handleFormSubmit(): void;
|
|
378
|
+
handleFormReset(): void;
|
|
379
|
+
handleOnKeyDown(e: React$1.KeyboardEvent<HTMLInputElement | undefined>): void;
|
|
380
|
+
destroy(): void;
|
|
381
|
+
getFormGroupCssClass(fieldKey: string): string | undefined;
|
|
382
|
+
render(): JSX.Element;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
interface IFormErrorProps {
|
|
386
|
+
className?: string;
|
|
387
|
+
errors?: IFormInputError[];
|
|
388
|
+
}
|
|
387
389
|
declare const FormError: (props: IFormErrorProps) => JSX.Element;
|
|
388
390
|
|
|
389
|
-
interface IFormGroupProps {
|
|
390
|
-
children?: React$1.ReactNode;
|
|
391
|
-
className?: string;
|
|
392
|
-
}
|
|
391
|
+
interface IFormGroupProps {
|
|
392
|
+
children?: React$1.ReactNode;
|
|
393
|
+
className?: string;
|
|
394
|
+
}
|
|
393
395
|
declare const FormGroup: (props: IFormGroupProps) => JSX.Element;
|
|
394
396
|
|
|
395
397
|
declare const FormHint: (props: React$1.ComponentProps<'small'>) => JSX.Element;
|
|
396
398
|
|
|
397
|
-
interface IFormInputEvent {
|
|
398
|
-
value: any;
|
|
399
|
-
type?: string;
|
|
400
|
-
name?: string;
|
|
401
|
-
}
|
|
402
|
-
interface IFormInputProps {
|
|
403
|
-
value: any;
|
|
404
|
-
name: string;
|
|
405
|
-
type: IFormControlType;
|
|
406
|
-
placeholder?: string;
|
|
407
|
-
className?: string;
|
|
408
|
-
disabled?: boolean;
|
|
409
|
-
readonly?: boolean;
|
|
410
|
-
isValid?: boolean;
|
|
411
|
-
autoFocus?: boolean;
|
|
412
|
-
options?: IFormInputOptions[];
|
|
413
|
-
textareaOptions?: IFormTextAreaOptions;
|
|
414
|
-
selectOptions?: IFormSelectOptions;
|
|
415
|
-
autoCompleteOptions?: IFormAutoCompleteOptions;
|
|
416
|
-
label?: string;
|
|
417
|
-
onInput?: (e: IFormInputEvent) => void;
|
|
418
|
-
onChange?: (e: IFormInputEvent) => void;
|
|
419
|
-
onBlur?: React$1.FocusEventHandler<HTMLInputElement> | undefined;
|
|
420
|
-
onKeyDown?: React$1.KeyboardEventHandler<HTMLInputElement | undefined>;
|
|
421
|
-
}
|
|
399
|
+
interface IFormInputEvent {
|
|
400
|
+
value: any;
|
|
401
|
+
type?: string;
|
|
402
|
+
name?: string;
|
|
403
|
+
}
|
|
404
|
+
interface IFormInputProps {
|
|
405
|
+
value: any;
|
|
406
|
+
name: string;
|
|
407
|
+
type: IFormControlType;
|
|
408
|
+
placeholder?: string;
|
|
409
|
+
className?: string;
|
|
410
|
+
disabled?: boolean;
|
|
411
|
+
readonly?: boolean;
|
|
412
|
+
isValid?: boolean;
|
|
413
|
+
autoFocus?: boolean;
|
|
414
|
+
options?: IFormInputOptions[];
|
|
415
|
+
textareaOptions?: IFormTextAreaOptions;
|
|
416
|
+
selectOptions?: IFormSelectOptions;
|
|
417
|
+
autoCompleteOptions?: IFormAutoCompleteOptions;
|
|
418
|
+
label?: string;
|
|
419
|
+
onInput?: (e: IFormInputEvent) => void;
|
|
420
|
+
onChange?: (e: IFormInputEvent) => void;
|
|
421
|
+
onBlur?: React$1.FocusEventHandler<HTMLInputElement> | undefined;
|
|
422
|
+
onKeyDown?: React$1.KeyboardEventHandler<HTMLInputElement | undefined>;
|
|
423
|
+
}
|
|
422
424
|
declare const FormInput: (props: IFormInputProps) => JSX.Element;
|
|
423
425
|
|
|
424
426
|
declare const FormLabel: ({ children, className, htmlFor, ...rest }: React$1.ComponentProps<'label'>) => JSX.Element;
|
|
@@ -433,394 +435,394 @@ declare const MaxValidator: (val: string, valueB: number) => boolean;
|
|
|
433
435
|
|
|
434
436
|
declare const MinValidator: (val: string, minLength: number) => boolean;
|
|
435
437
|
|
|
436
|
-
interface IColProps extends React$1.ComponentProps<'div'> {
|
|
437
|
-
xs?: number;
|
|
438
|
-
sm?: number;
|
|
439
|
-
md?: number;
|
|
440
|
-
lg?: number;
|
|
441
|
-
xl?: number;
|
|
442
|
-
}
|
|
438
|
+
interface IColProps extends React$1.ComponentProps<'div'> {
|
|
439
|
+
xs?: number;
|
|
440
|
+
sm?: number;
|
|
441
|
+
md?: number;
|
|
442
|
+
lg?: number;
|
|
443
|
+
xl?: number;
|
|
444
|
+
}
|
|
443
445
|
declare const Column: (props: IColProps) => JSX.Element;
|
|
444
446
|
|
|
445
|
-
interface IContainerProps extends React$1.ComponentProps<'div'> {
|
|
446
|
-
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
447
|
-
}
|
|
447
|
+
interface IContainerProps extends React$1.ComponentProps<'div'> {
|
|
448
|
+
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
449
|
+
}
|
|
448
450
|
declare const Row: ({ children, direction, className, ...rest }: IContainerProps) => JSX.Element;
|
|
449
451
|
|
|
450
|
-
interface IIconProps extends ComponentProps<'div'> {
|
|
451
|
-
iconColor?: COLOR;
|
|
452
|
-
children?: React$1.ReactNode;
|
|
453
|
-
}
|
|
452
|
+
interface IIconProps extends ComponentProps<'div'> {
|
|
453
|
+
iconColor?: COLOR;
|
|
454
|
+
children?: React$1.ReactNode;
|
|
455
|
+
}
|
|
454
456
|
declare const Icon: (props: IIconProps) => JSX.Element;
|
|
455
457
|
|
|
456
|
-
interface IIconButtonProps extends React$1.ComponentProps<'button'> {
|
|
457
|
-
icon?: React$1.ReactNode;
|
|
458
|
-
color?: COLOR;
|
|
459
|
-
size?: SIZE;
|
|
460
|
-
isActive?: boolean;
|
|
461
|
-
variant?: VARIANT;
|
|
462
|
-
shadow?: boolean;
|
|
463
|
-
}
|
|
458
|
+
interface IIconButtonProps extends React$1.ComponentProps<'button'> {
|
|
459
|
+
icon?: React$1.ReactNode;
|
|
460
|
+
color?: COLOR;
|
|
461
|
+
size?: SIZE;
|
|
462
|
+
isActive?: boolean;
|
|
463
|
+
variant?: VARIANT;
|
|
464
|
+
shadow?: boolean;
|
|
465
|
+
}
|
|
464
466
|
declare const IconButton: (props: IIconButtonProps) => JSX.Element;
|
|
465
467
|
|
|
466
468
|
declare const Link: (props: React$1.ComponentProps<'a'>) => JSX.Element;
|
|
467
469
|
|
|
468
|
-
interface IListProps extends React$1.ComponentProps<'ul'> {
|
|
469
|
-
isFlush?: boolean;
|
|
470
|
-
}
|
|
470
|
+
interface IListProps extends React$1.ComponentProps<'ul'> {
|
|
471
|
+
isFlush?: boolean;
|
|
472
|
+
}
|
|
471
473
|
declare const List: (props: IListProps) => JSX.Element;
|
|
472
474
|
|
|
473
|
-
interface IListItemProps extends React$1.ComponentProps<'li'> {
|
|
474
|
-
color?: COLOR;
|
|
475
|
-
active?: boolean;
|
|
476
|
-
isHoverable?: boolean;
|
|
477
|
-
disabled?: boolean;
|
|
478
|
-
}
|
|
475
|
+
interface IListItemProps extends React$1.ComponentProps<'li'> {
|
|
476
|
+
color?: COLOR;
|
|
477
|
+
active?: boolean;
|
|
478
|
+
isHoverable?: boolean;
|
|
479
|
+
disabled?: boolean;
|
|
480
|
+
}
|
|
479
481
|
declare const ListItem: (props: IListItemProps) => JSX.Element;
|
|
480
482
|
|
|
481
|
-
interface IListItemAvatarProps extends React$1.ComponentProps<'div'> {
|
|
482
|
-
avatar: React$1.ReactNode;
|
|
483
|
-
}
|
|
483
|
+
interface IListItemAvatarProps extends React$1.ComponentProps<'div'> {
|
|
484
|
+
avatar: React$1.ReactNode;
|
|
485
|
+
}
|
|
484
486
|
declare const ListItemAvatar: ({ avatar, ...rest }: IListItemAvatarProps) => JSX.Element;
|
|
485
487
|
|
|
486
|
-
interface IListItemIconProps extends React$1.ComponentProps<'div'> {
|
|
487
|
-
icon: React$1.ReactNode;
|
|
488
|
-
}
|
|
488
|
+
interface IListItemIconProps extends React$1.ComponentProps<'div'> {
|
|
489
|
+
icon: React$1.ReactNode;
|
|
490
|
+
}
|
|
489
491
|
declare const ListItemIcon: ({ icon, ...rest }: IListItemIconProps) => JSX.Element;
|
|
490
492
|
|
|
491
493
|
declare const ListItemAction: ({ children, onClick, ...rest }: React$1.ComponentProps<'div'>) => JSX.Element;
|
|
492
494
|
|
|
493
|
-
interface IListItemTextProps extends React$1.ComponentProps<'div'> {
|
|
494
|
-
primary: ReactNode;
|
|
495
|
-
secondary?: ReactNode;
|
|
496
|
-
}
|
|
495
|
+
interface IListItemTextProps extends React$1.ComponentProps<'div'> {
|
|
496
|
+
primary: ReactNode;
|
|
497
|
+
secondary?: ReactNode;
|
|
498
|
+
}
|
|
497
499
|
declare const ListItemText: ({ primary, secondary, ...rest }: IListItemTextProps) => JSX.Element;
|
|
498
500
|
|
|
499
501
|
declare const LoadingIndicator: ({ ...rest }: React$1.ComponentProps<'div'>) => JSX.Element;
|
|
500
502
|
|
|
501
|
-
interface ILoadingIndicatorContainerProps {
|
|
502
|
-
children: React$1.ReactNode;
|
|
503
|
-
isFixed?: boolean;
|
|
504
|
-
}
|
|
503
|
+
interface ILoadingIndicatorContainerProps {
|
|
504
|
+
children: React$1.ReactNode;
|
|
505
|
+
isFixed?: boolean;
|
|
506
|
+
}
|
|
505
507
|
declare const LoadingIndicatorContainer: ({ children, isFixed }: ILoadingIndicatorContainerProps) => JSX.Element;
|
|
506
508
|
|
|
507
|
-
interface ILoadingIndicatorService {
|
|
508
|
-
show(message: string): void;
|
|
509
|
-
}
|
|
510
|
-
declare class LoadingIndicatorService implements ILoadingIndicatorService {
|
|
511
|
-
private container;
|
|
512
|
-
private handler;
|
|
513
|
-
private root;
|
|
514
|
-
show(): void;
|
|
515
|
-
hide(): void;
|
|
516
|
-
}
|
|
509
|
+
interface ILoadingIndicatorService {
|
|
510
|
+
show(message: string): void;
|
|
511
|
+
}
|
|
512
|
+
declare class LoadingIndicatorService implements ILoadingIndicatorService {
|
|
513
|
+
private container;
|
|
514
|
+
private handler;
|
|
515
|
+
private root;
|
|
516
|
+
show(): void;
|
|
517
|
+
hide(): void;
|
|
518
|
+
}
|
|
517
519
|
declare const loadingIndicatorService: LoadingIndicatorService;
|
|
518
520
|
|
|
519
|
-
|
|
521
|
+
type MenuPosition = 'right' | 'left';
|
|
520
522
|
|
|
521
|
-
interface IMenuProps extends React$1.DetailedHTMLProps<React$1.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
522
|
-
toggle?: ReactElement;
|
|
523
|
-
open?: boolean;
|
|
524
|
-
children?: ReactElement<IListItemProps> | ReactElement<IListItemProps>[];
|
|
525
|
-
menuPosition?: MenuPosition;
|
|
526
|
-
onClickBackdrop?: () => void;
|
|
527
|
-
}
|
|
523
|
+
interface IMenuProps extends React$1.DetailedHTMLProps<React$1.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
524
|
+
toggle?: ReactElement;
|
|
525
|
+
open?: boolean;
|
|
526
|
+
children?: ReactElement<IListItemProps> | ReactElement<IListItemProps>[];
|
|
527
|
+
menuPosition?: MenuPosition;
|
|
528
|
+
onClickBackdrop?: () => void;
|
|
529
|
+
}
|
|
528
530
|
declare const Menu: (props: IMenuProps) => JSX.Element;
|
|
529
531
|
|
|
530
|
-
interface IMenuBodyProps {
|
|
531
|
-
children?: ReactElement<IListItemProps> | ReactElement<IListItemProps>[];
|
|
532
|
-
className?: string;
|
|
533
|
-
menuPosition?: MenuPosition;
|
|
534
|
-
parentRef: React$1.RefObject<HTMLDivElement>;
|
|
535
|
-
shadow?: boolean;
|
|
536
|
-
onClickBackdrop?: () => void;
|
|
537
|
-
}
|
|
532
|
+
interface IMenuBodyProps {
|
|
533
|
+
children?: ReactElement<IListItemProps> | ReactElement<IListItemProps>[];
|
|
534
|
+
className?: string;
|
|
535
|
+
menuPosition?: MenuPosition;
|
|
536
|
+
parentRef: React$1.RefObject<HTMLDivElement>;
|
|
537
|
+
shadow?: boolean;
|
|
538
|
+
onClickBackdrop?: () => void;
|
|
539
|
+
}
|
|
538
540
|
declare const MenuBody: (props: IMenuBodyProps) => JSX.Element;
|
|
539
541
|
|
|
540
542
|
declare const MenuItem: (props: IListItemProps) => JSX.Element;
|
|
541
543
|
|
|
542
|
-
interface IMenuToggleProps {
|
|
543
|
-
children?: ReactNode;
|
|
544
|
-
}
|
|
544
|
+
interface IMenuToggleProps {
|
|
545
|
+
children?: ReactNode;
|
|
546
|
+
}
|
|
545
547
|
declare const MenuToggle: ({ children }: IMenuToggleProps) => ReactNode;
|
|
546
548
|
|
|
547
549
|
declare const MenuDivider: () => JSX.Element;
|
|
548
550
|
|
|
549
|
-
interface IModalProps$1 {
|
|
550
|
-
target?: HTMLElement;
|
|
551
|
-
className?: string;
|
|
552
|
-
children?: ReactNode;
|
|
553
|
-
header?: string | ReactElement;
|
|
554
|
-
footer?: string | ReactElement;
|
|
555
|
-
onHeaderCloseClick?: () => void;
|
|
556
|
-
onBackdropClick?: () => void;
|
|
557
|
-
isDismissable?: boolean;
|
|
558
|
-
fullScreen?: boolean;
|
|
559
|
-
size?: SIZE;
|
|
560
|
-
}
|
|
551
|
+
interface IModalProps$1 {
|
|
552
|
+
target?: HTMLElement;
|
|
553
|
+
className?: string;
|
|
554
|
+
children?: ReactNode;
|
|
555
|
+
header?: string | ReactElement;
|
|
556
|
+
footer?: string | ReactElement;
|
|
557
|
+
onHeaderCloseClick?: () => void;
|
|
558
|
+
onBackdropClick?: () => void;
|
|
559
|
+
isDismissable?: boolean;
|
|
560
|
+
fullScreen?: boolean;
|
|
561
|
+
size?: SIZE;
|
|
562
|
+
}
|
|
561
563
|
declare const Modal: (props: IModalProps$1) => JSX.Element;
|
|
562
564
|
|
|
563
|
-
interface IModalBodyProps {
|
|
564
|
-
children?: ReactNode;
|
|
565
|
-
}
|
|
565
|
+
interface IModalBodyProps {
|
|
566
|
+
children?: ReactNode;
|
|
567
|
+
}
|
|
566
568
|
declare const ModalBody: ({ children }: IModalBodyProps) => JSX.Element;
|
|
567
569
|
|
|
568
|
-
interface IModalFooterProps extends React$1.ComponentProps<'div'> {
|
|
569
|
-
shadow?: boolean;
|
|
570
|
-
}
|
|
570
|
+
interface IModalFooterProps extends React$1.ComponentProps<'div'> {
|
|
571
|
+
shadow?: boolean;
|
|
572
|
+
}
|
|
571
573
|
declare const ModalFooter: (props: IModalFooterProps) => JSX.Element;
|
|
572
574
|
|
|
573
|
-
interface IModalHeaderProps extends React$1.ComponentProps<'div'> {
|
|
574
|
-
onClose?: () => void;
|
|
575
|
-
isDismissable?: boolean;
|
|
576
|
-
shadow?: boolean;
|
|
577
|
-
}
|
|
575
|
+
interface IModalHeaderProps extends React$1.ComponentProps<'div'> {
|
|
576
|
+
onClose?: () => void;
|
|
577
|
+
isDismissable?: boolean;
|
|
578
|
+
shadow?: boolean;
|
|
579
|
+
}
|
|
578
580
|
declare const ModalHeader: (props: IModalHeaderProps) => JSX.Element;
|
|
579
581
|
|
|
580
|
-
declare enum MODALTYPE {
|
|
581
|
-
BASIC = "BASIC",
|
|
582
|
-
FORM = "FORM"
|
|
583
|
-
}
|
|
584
|
-
declare enum MODALBUTTONTYPE {
|
|
585
|
-
OK = "OK",
|
|
586
|
-
CANCEL = "CANCEL",
|
|
587
|
-
RESET = "RESET",
|
|
588
|
-
DEFAULT = "DEFAULT"
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
interface IModalButton {
|
|
592
|
-
label: string;
|
|
593
|
-
variant?: VARIANT;
|
|
594
|
-
color?: COLOR;
|
|
595
|
-
handler?: () => void;
|
|
596
|
-
autoFocus?: boolean;
|
|
597
|
-
type?: MODALBUTTONTYPE;
|
|
598
|
-
focus?: boolean;
|
|
599
|
-
shadow?: boolean;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
interface IModalService {
|
|
603
|
-
show(title: string, description: string | ReactElement, options?: IModalOptions): Promise<void>;
|
|
604
|
-
}
|
|
605
|
-
interface IModalOptions {
|
|
606
|
-
isDismissable?: boolean;
|
|
607
|
-
buttons?: IModalButton[];
|
|
608
|
-
fullScreen?: boolean;
|
|
609
|
-
size?: SIZE;
|
|
610
|
-
}
|
|
611
|
-
declare class ModalService implements IModalService {
|
|
612
|
-
private container;
|
|
613
|
-
private root;
|
|
614
|
-
show(title: string, description: string | ReactElement, options?: IModalOptions): Promise<void>;
|
|
615
|
-
showForm<T>(title: string, formControls: IControls, options?: IModalOptions): Promise<T>;
|
|
616
|
-
private hide;
|
|
617
|
-
}
|
|
582
|
+
declare enum MODALTYPE {
|
|
583
|
+
BASIC = "BASIC",
|
|
584
|
+
FORM = "FORM"
|
|
585
|
+
}
|
|
586
|
+
declare enum MODALBUTTONTYPE {
|
|
587
|
+
OK = "OK",
|
|
588
|
+
CANCEL = "CANCEL",
|
|
589
|
+
RESET = "RESET",
|
|
590
|
+
DEFAULT = "DEFAULT"
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
interface IModalButton {
|
|
594
|
+
label: string;
|
|
595
|
+
variant?: VARIANT;
|
|
596
|
+
color?: COLOR;
|
|
597
|
+
handler?: () => void;
|
|
598
|
+
autoFocus?: boolean;
|
|
599
|
+
type?: MODALBUTTONTYPE;
|
|
600
|
+
focus?: boolean;
|
|
601
|
+
shadow?: boolean;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
interface IModalService {
|
|
605
|
+
show(title: string, description: string | ReactElement, options?: IModalOptions): Promise<void>;
|
|
606
|
+
}
|
|
607
|
+
interface IModalOptions {
|
|
608
|
+
isDismissable?: boolean;
|
|
609
|
+
buttons?: IModalButton[];
|
|
610
|
+
fullScreen?: boolean;
|
|
611
|
+
size?: SIZE;
|
|
612
|
+
}
|
|
613
|
+
declare class ModalService implements IModalService {
|
|
614
|
+
private container;
|
|
615
|
+
private root;
|
|
616
|
+
show(title: string, description: string | ReactElement, options?: IModalOptions): Promise<void>;
|
|
617
|
+
showForm<T>(title: string, formControls: IControls, options?: IModalOptions): Promise<T>;
|
|
618
|
+
private hide;
|
|
619
|
+
}
|
|
618
620
|
declare const modalService: ModalService;
|
|
619
621
|
|
|
620
|
-
interface IModalProps {
|
|
621
|
-
title?: string;
|
|
622
|
-
description?: string | ReactElement;
|
|
623
|
-
formControls?: IControls;
|
|
624
|
-
modalType?: MODALTYPE;
|
|
625
|
-
onOk: <T>(values?: T) => void;
|
|
626
|
-
onChange?: <T>(values?: T) => void;
|
|
627
|
-
onCancel?: () => void;
|
|
628
|
-
onBackdropClick?: () => void;
|
|
629
|
-
isDismissable?: boolean;
|
|
630
|
-
buttons?: IModalButton[];
|
|
631
|
-
fullScreen?: boolean;
|
|
632
|
-
size?: SIZE;
|
|
633
|
-
}
|
|
622
|
+
interface IModalProps {
|
|
623
|
+
title?: string;
|
|
624
|
+
description?: string | ReactElement;
|
|
625
|
+
formControls?: IControls;
|
|
626
|
+
modalType?: MODALTYPE;
|
|
627
|
+
onOk: <T>(values?: T) => void;
|
|
628
|
+
onChange?: <T>(values?: T) => void;
|
|
629
|
+
onCancel?: () => void;
|
|
630
|
+
onBackdropClick?: () => void;
|
|
631
|
+
isDismissable?: boolean;
|
|
632
|
+
buttons?: IModalButton[];
|
|
633
|
+
fullScreen?: boolean;
|
|
634
|
+
size?: SIZE;
|
|
635
|
+
}
|
|
634
636
|
declare const GlobalModal: ({ title, description, formControls, onOk, onChange, onCancel, onBackdropClick, isDismissable, buttons, size, fullScreen }: IModalProps) => JSX.Element;
|
|
635
637
|
|
|
636
|
-
interface INumberSelectProps {
|
|
637
|
-
value?: number;
|
|
638
|
-
from?: number;
|
|
639
|
-
to?: number;
|
|
640
|
-
className?: string;
|
|
641
|
-
id?: string;
|
|
642
|
-
name?: string;
|
|
643
|
-
disabled?: boolean;
|
|
644
|
-
onChange?: (val: number) => void;
|
|
645
|
-
}
|
|
638
|
+
interface INumberSelectProps {
|
|
639
|
+
value?: number;
|
|
640
|
+
from?: number;
|
|
641
|
+
to?: number;
|
|
642
|
+
className?: string;
|
|
643
|
+
id?: string;
|
|
644
|
+
name?: string;
|
|
645
|
+
disabled?: boolean;
|
|
646
|
+
onChange?: (val: number) => void;
|
|
647
|
+
}
|
|
646
648
|
declare const NumberSelect: (props: INumberSelectProps) => JSX.Element;
|
|
647
649
|
|
|
648
|
-
interface IPortalProps {
|
|
649
|
-
children: React.ReactNode;
|
|
650
|
-
target?: HTMLElement;
|
|
651
|
-
className?: string;
|
|
652
|
-
}
|
|
650
|
+
interface IPortalProps {
|
|
651
|
+
children: React.ReactNode;
|
|
652
|
+
target?: HTMLElement;
|
|
653
|
+
className?: string;
|
|
654
|
+
}
|
|
653
655
|
declare const Portal: ({ children, target, className }: IPortalProps) => JSX.Element;
|
|
654
656
|
|
|
655
|
-
interface IProgressBarProps extends React$1.ComponentProps<'div'> {
|
|
656
|
-
className?: string;
|
|
657
|
-
color?: COLOR;
|
|
658
|
-
value?: number;
|
|
659
|
-
indeterminate?: boolean;
|
|
660
|
-
}
|
|
657
|
+
interface IProgressBarProps extends React$1.ComponentProps<'div'> {
|
|
658
|
+
className?: string;
|
|
659
|
+
color?: COLOR;
|
|
660
|
+
value?: number;
|
|
661
|
+
indeterminate?: boolean;
|
|
662
|
+
}
|
|
661
663
|
declare const ProgressBar: (props: IProgressBarProps) => JSX.Element;
|
|
662
664
|
|
|
663
|
-
interface ISelectProps {
|
|
664
|
-
id?: string;
|
|
665
|
-
name?: string;
|
|
666
|
-
className?: string;
|
|
667
|
-
options?: ISelectOption[];
|
|
668
|
-
value?: string | string[];
|
|
669
|
-
multiple?: boolean;
|
|
670
|
-
multipleMaxCountItems?: number;
|
|
671
|
-
disabled?: boolean;
|
|
672
|
-
readOnly?: boolean;
|
|
673
|
-
onChange?: (val: string | string[]) => void;
|
|
674
|
-
onKeyDown?: (event: React$1.KeyboardEvent<HTMLDivElement>) => void;
|
|
675
|
-
}
|
|
665
|
+
interface ISelectProps {
|
|
666
|
+
id?: string;
|
|
667
|
+
name?: string;
|
|
668
|
+
className?: string;
|
|
669
|
+
options?: ISelectOption[];
|
|
670
|
+
value?: string | string[];
|
|
671
|
+
multiple?: boolean;
|
|
672
|
+
multipleMaxCountItems?: number;
|
|
673
|
+
disabled?: boolean;
|
|
674
|
+
readOnly?: boolean;
|
|
675
|
+
onChange?: (val: string | string[]) => void;
|
|
676
|
+
onKeyDown?: (event: React$1.KeyboardEvent<HTMLDivElement>) => void;
|
|
677
|
+
}
|
|
676
678
|
declare const Select: (props: ISelectProps) => JSX.Element;
|
|
677
679
|
|
|
678
|
-
interface ISidebarItem {
|
|
679
|
-
id: string;
|
|
680
|
-
path: string;
|
|
681
|
-
label: string;
|
|
682
|
-
icon?: string;
|
|
683
|
-
items?: ISidebarItem[];
|
|
684
|
-
isCollapsible?: boolean;
|
|
685
|
-
isCollapsed?: boolean;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
interface ISidebarProps extends React$1.ComponentProps<'nav'> {
|
|
689
|
-
items: ISidebarItem[];
|
|
690
|
-
currentUrl: string;
|
|
691
|
-
onItemClicked: (path: string) => void;
|
|
692
|
-
}
|
|
680
|
+
interface ISidebarItem {
|
|
681
|
+
id: string;
|
|
682
|
+
path: string;
|
|
683
|
+
label: string;
|
|
684
|
+
icon?: string;
|
|
685
|
+
items?: ISidebarItem[];
|
|
686
|
+
isCollapsible?: boolean;
|
|
687
|
+
isCollapsed?: boolean;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
interface ISidebarProps extends React$1.ComponentProps<'nav'> {
|
|
691
|
+
items: ISidebarItem[];
|
|
692
|
+
currentUrl: string;
|
|
693
|
+
onItemClicked: (path: string) => void;
|
|
694
|
+
}
|
|
693
695
|
declare const Sidebar: (props: ISidebarProps) => JSX.Element;
|
|
694
696
|
|
|
695
|
-
interface ISkeletonAvatarProps extends React$1.ComponentProps<'div'> {
|
|
696
|
-
indeterminate?: boolean;
|
|
697
|
-
}
|
|
697
|
+
interface ISkeletonAvatarProps extends React$1.ComponentProps<'div'> {
|
|
698
|
+
indeterminate?: boolean;
|
|
699
|
+
}
|
|
698
700
|
declare const SkeletonAvatar: (props: ISkeletonAvatarProps) => JSX.Element;
|
|
699
701
|
|
|
700
|
-
interface ISkeletonTextProps extends React$1.ComponentProps<'div'> {
|
|
701
|
-
indeterminate?: boolean;
|
|
702
|
-
}
|
|
702
|
+
interface ISkeletonTextProps extends React$1.ComponentProps<'div'> {
|
|
703
|
+
indeterminate?: boolean;
|
|
704
|
+
}
|
|
703
705
|
declare const SkeletonText: (props: ISkeletonTextProps) => JSX.Element;
|
|
704
706
|
|
|
705
|
-
interface ISkeletonFooterProps extends React$1.ComponentProps<'div'> {
|
|
706
|
-
indeterminate?: boolean;
|
|
707
|
-
}
|
|
707
|
+
interface ISkeletonFooterProps extends React$1.ComponentProps<'div'> {
|
|
708
|
+
indeterminate?: boolean;
|
|
709
|
+
}
|
|
708
710
|
declare const SkeletonFooter: (props: ISkeletonFooterProps) => JSX.Element;
|
|
709
711
|
|
|
710
|
-
interface ISkeletonImageProps extends React$1.ComponentProps<'div'> {
|
|
711
|
-
indeterminate?: boolean;
|
|
712
|
-
}
|
|
712
|
+
interface ISkeletonImageProps extends React$1.ComponentProps<'div'> {
|
|
713
|
+
indeterminate?: boolean;
|
|
714
|
+
}
|
|
713
715
|
declare const SkeletonImage: (props: ISkeletonImageProps) => JSX.Element;
|
|
714
716
|
|
|
715
|
-
interface ISnackbarProps extends ComponentProps<'div'> {
|
|
716
|
-
color?: COLOR;
|
|
717
|
-
actionText?: string;
|
|
718
|
-
onOk?: (e: React$1.MouseEvent) => void;
|
|
719
|
-
}
|
|
717
|
+
interface ISnackbarProps extends ComponentProps<'div'> {
|
|
718
|
+
color?: COLOR;
|
|
719
|
+
actionText?: string;
|
|
720
|
+
onOk?: (e: React$1.MouseEvent) => void;
|
|
721
|
+
}
|
|
720
722
|
declare const Snackbar: (props: ISnackbarProps) => JSX.Element;
|
|
721
723
|
|
|
722
|
-
interface ISnackbarService {
|
|
723
|
-
show(message: React$1.ReactNode | string, options?: ISnackbarOptions): Promise<void>;
|
|
724
|
-
}
|
|
725
|
-
interface ISnackbarOptions {
|
|
726
|
-
actionText?: string;
|
|
727
|
-
timeout?: number;
|
|
728
|
-
color?: COLOR;
|
|
729
|
-
target?: HTMLElement;
|
|
730
|
-
}
|
|
731
|
-
declare class SnackbarService implements ISnackbarService {
|
|
732
|
-
private container;
|
|
733
|
-
private handler;
|
|
734
|
-
private root;
|
|
735
|
-
show(message: React$1.ReactNode | string, options?: ISnackbarOptions): Promise<void>;
|
|
736
|
-
private hide;
|
|
737
|
-
}
|
|
724
|
+
interface ISnackbarService {
|
|
725
|
+
show(message: React$1.ReactNode | string, options?: ISnackbarOptions): Promise<void>;
|
|
726
|
+
}
|
|
727
|
+
interface ISnackbarOptions {
|
|
728
|
+
actionText?: string;
|
|
729
|
+
timeout?: number;
|
|
730
|
+
color?: COLOR;
|
|
731
|
+
target?: HTMLElement;
|
|
732
|
+
}
|
|
733
|
+
declare class SnackbarService implements ISnackbarService {
|
|
734
|
+
private container;
|
|
735
|
+
private handler;
|
|
736
|
+
private root;
|
|
737
|
+
show(message: React$1.ReactNode | string, options?: ISnackbarOptions): Promise<void>;
|
|
738
|
+
private hide;
|
|
739
|
+
}
|
|
738
740
|
declare const snackbarService: SnackbarService;
|
|
739
741
|
|
|
740
|
-
interface ISpeedDialProps extends React$1.DetailedHTMLProps<React$1.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
741
|
-
onClose?: (e: React$1.MouseEvent) => void;
|
|
742
|
-
onOpen?: (e: React$1.MouseEvent) => void;
|
|
743
|
-
open?: boolean;
|
|
744
|
-
}
|
|
742
|
+
interface ISpeedDialProps extends React$1.DetailedHTMLProps<React$1.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
743
|
+
onClose?: (e: React$1.MouseEvent) => void;
|
|
744
|
+
onOpen?: (e: React$1.MouseEvent) => void;
|
|
745
|
+
open?: boolean;
|
|
746
|
+
}
|
|
745
747
|
declare const SpeedDial: (props: ISpeedDialProps) => JSX.Element;
|
|
746
748
|
|
|
747
|
-
interface ISpeedDialActionProps extends React$1.DetailedHTMLProps<React$1.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
748
|
-
icon: React$1.ReactNode;
|
|
749
|
-
tooltipTitle?: string;
|
|
750
|
-
color?: COLOR;
|
|
751
|
-
onClick?: (e: React$1.MouseEvent) => void;
|
|
752
|
-
}
|
|
749
|
+
interface ISpeedDialActionProps extends React$1.DetailedHTMLProps<React$1.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
750
|
+
icon: React$1.ReactNode;
|
|
751
|
+
tooltipTitle?: string;
|
|
752
|
+
color?: COLOR;
|
|
753
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
754
|
+
}
|
|
753
755
|
declare const SpeedDialAction: (props: ISpeedDialActionProps) => JSX.Element;
|
|
754
756
|
|
|
755
|
-
interface ISpeedDialIconProps extends React$1.DetailedHTMLProps<React$1.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
756
|
-
openIcon?: ReactElement;
|
|
757
|
-
}
|
|
757
|
+
interface ISpeedDialIconProps extends React$1.DetailedHTMLProps<React$1.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
758
|
+
openIcon?: ReactElement;
|
|
759
|
+
}
|
|
758
760
|
declare const SpeedDialIcon: (props: ISpeedDialIconProps) => JSX.Element;
|
|
759
761
|
|
|
760
|
-
interface IStepProps {
|
|
761
|
-
value: string;
|
|
762
|
-
index?: number;
|
|
763
|
-
label?: ReactNode;
|
|
764
|
-
children?: ReactNode;
|
|
765
|
-
showLabel?: boolean;
|
|
766
|
-
isActive?: boolean;
|
|
767
|
-
isDone?: boolean;
|
|
768
|
-
isDisabled?: boolean;
|
|
769
|
-
isOptional?: boolean;
|
|
770
|
-
className?: string;
|
|
771
|
-
showProgressCheckIcon?: boolean;
|
|
772
|
-
onClick?: (e: {
|
|
773
|
-
event: React$1.MouseEvent;
|
|
774
|
-
value: string;
|
|
775
|
-
}) => void;
|
|
776
|
-
}
|
|
762
|
+
interface IStepProps {
|
|
763
|
+
value: string;
|
|
764
|
+
index?: number;
|
|
765
|
+
label?: ReactNode;
|
|
766
|
+
children?: ReactNode;
|
|
767
|
+
showLabel?: boolean;
|
|
768
|
+
isActive?: boolean;
|
|
769
|
+
isDone?: boolean;
|
|
770
|
+
isDisabled?: boolean;
|
|
771
|
+
isOptional?: boolean;
|
|
772
|
+
className?: string;
|
|
773
|
+
showProgressCheckIcon?: boolean;
|
|
774
|
+
onClick?: (e: {
|
|
775
|
+
event: React$1.MouseEvent;
|
|
776
|
+
value: string;
|
|
777
|
+
}) => void;
|
|
778
|
+
}
|
|
777
779
|
declare const Step: (props: IStepProps) => JSX.Element;
|
|
778
780
|
|
|
779
|
-
interface IStepperProps {
|
|
780
|
-
children?: ReactElement<IStepProps> | ReactElement<IStepProps>[];
|
|
781
|
-
isLinear?: boolean;
|
|
782
|
-
isDisabled?: boolean;
|
|
783
|
-
showLabel?: boolean;
|
|
784
|
-
showProgressCheckIcon?: boolean;
|
|
785
|
-
isHorizontal?: boolean;
|
|
786
|
-
onChange?: (val: number) => void;
|
|
787
|
-
onFinish?: () => void;
|
|
788
|
-
alternativeLabel?: boolean;
|
|
789
|
-
value?: number;
|
|
790
|
-
isReadonly?: boolean;
|
|
791
|
-
showDoneButton?: boolean;
|
|
792
|
-
showResetButton?: boolean;
|
|
793
|
-
showSteps?: boolean;
|
|
794
|
-
showDots?: boolean;
|
|
795
|
-
}
|
|
781
|
+
interface IStepperProps {
|
|
782
|
+
children?: ReactElement<IStepProps> | ReactElement<IStepProps>[];
|
|
783
|
+
isLinear?: boolean;
|
|
784
|
+
isDisabled?: boolean;
|
|
785
|
+
showLabel?: boolean;
|
|
786
|
+
showProgressCheckIcon?: boolean;
|
|
787
|
+
isHorizontal?: boolean;
|
|
788
|
+
onChange?: (val: number) => void;
|
|
789
|
+
onFinish?: () => void;
|
|
790
|
+
alternativeLabel?: boolean;
|
|
791
|
+
value?: number;
|
|
792
|
+
isReadonly?: boolean;
|
|
793
|
+
showDoneButton?: boolean;
|
|
794
|
+
showResetButton?: boolean;
|
|
795
|
+
showSteps?: boolean;
|
|
796
|
+
showDots?: boolean;
|
|
797
|
+
}
|
|
796
798
|
declare const Stepper: (props: IStepperProps) => JSX.Element;
|
|
797
799
|
|
|
798
|
-
interface IStepperActionsProps {
|
|
799
|
-
className?: string;
|
|
800
|
-
showDoneButton?: boolean;
|
|
801
|
-
showResetButton?: boolean;
|
|
802
|
-
isCompleted?: boolean;
|
|
803
|
-
isFirstStep?: boolean;
|
|
804
|
-
isStepOptional?: boolean;
|
|
805
|
-
onBack?: () => void;
|
|
806
|
-
onSkip?: () => void;
|
|
807
|
-
onNext?: () => void;
|
|
808
|
-
onReset?: () => void;
|
|
809
|
-
}
|
|
800
|
+
interface IStepperActionsProps {
|
|
801
|
+
className?: string;
|
|
802
|
+
showDoneButton?: boolean;
|
|
803
|
+
showResetButton?: boolean;
|
|
804
|
+
isCompleted?: boolean;
|
|
805
|
+
isFirstStep?: boolean;
|
|
806
|
+
isStepOptional?: boolean;
|
|
807
|
+
onBack?: () => void;
|
|
808
|
+
onSkip?: () => void;
|
|
809
|
+
onNext?: () => void;
|
|
810
|
+
onReset?: () => void;
|
|
811
|
+
}
|
|
810
812
|
declare const StepperActions: (props: IStepperActionsProps) => JSX.Element;
|
|
811
813
|
|
|
812
|
-
interface IDot extends React$1.ComponentProps<'div'> {
|
|
813
|
-
color?: COLOR;
|
|
814
|
-
isActive?: boolean;
|
|
815
|
-
}
|
|
814
|
+
interface IDot extends React$1.ComponentProps<'div'> {
|
|
815
|
+
color?: COLOR;
|
|
816
|
+
isActive?: boolean;
|
|
817
|
+
}
|
|
816
818
|
declare const Dot: (props: IDot) => JSX.Element;
|
|
817
819
|
|
|
818
|
-
interface ITableProps extends React$1.ComponentProps<'table'> {
|
|
819
|
-
striped?: boolean;
|
|
820
|
-
bordered?: boolean;
|
|
821
|
-
hover?: boolean;
|
|
822
|
-
responsive?: boolean;
|
|
823
|
-
}
|
|
820
|
+
interface ITableProps extends React$1.ComponentProps<'table'> {
|
|
821
|
+
striped?: boolean;
|
|
822
|
+
bordered?: boolean;
|
|
823
|
+
hover?: boolean;
|
|
824
|
+
responsive?: boolean;
|
|
825
|
+
}
|
|
824
826
|
declare const Table: (props: ITableProps) => JSX.Element;
|
|
825
827
|
|
|
826
828
|
declare const TableRow: (props: React$1.ComponentProps<'tr'>) => JSX.Element;
|
|
@@ -829,148 +831,148 @@ declare const TableHead: (props: React$1.ComponentProps<'thead'>) => JSX.Element
|
|
|
829
831
|
|
|
830
832
|
declare const TableBody: (props: React$1.ComponentProps<'tbody'>) => JSX.Element;
|
|
831
833
|
|
|
832
|
-
interface ITableCellProps extends React$1.ComponentProps<'th'>, React$1.ComponentProps<'td'> {
|
|
833
|
-
component?: 'th';
|
|
834
|
-
}
|
|
834
|
+
interface ITableCellProps extends React$1.ComponentProps<'th'>, React$1.ComponentProps<'td'> {
|
|
835
|
+
component?: 'th';
|
|
836
|
+
}
|
|
835
837
|
declare const TableCell: (props: ITableCellProps) => JSX.Element;
|
|
836
838
|
|
|
837
|
-
interface ITabProps {
|
|
838
|
-
label: ReactNode;
|
|
839
|
-
value: string;
|
|
840
|
-
disabled?: boolean;
|
|
841
|
-
className?: string;
|
|
842
|
-
onClick?: (e: {
|
|
843
|
-
event: React$1.MouseEvent;
|
|
844
|
-
value: string;
|
|
845
|
-
}) => void;
|
|
846
|
-
}
|
|
839
|
+
interface ITabProps {
|
|
840
|
+
label: ReactNode;
|
|
841
|
+
value: string;
|
|
842
|
+
disabled?: boolean;
|
|
843
|
+
className?: string;
|
|
844
|
+
onClick?: (e: {
|
|
845
|
+
event: React$1.MouseEvent;
|
|
846
|
+
value: string;
|
|
847
|
+
}) => void;
|
|
848
|
+
}
|
|
847
849
|
declare const Tab: (props: ITabProps) => JSX.Element;
|
|
848
850
|
|
|
849
|
-
interface ITabsProps {
|
|
850
|
-
color?: COLOR;
|
|
851
|
-
indicatorColor?: COLOR;
|
|
852
|
-
children?: ReactElement<ITabProps> | ReactElement<ITabProps>[];
|
|
853
|
-
className?: string;
|
|
854
|
-
fixed?: boolean;
|
|
855
|
-
onChange?: (value: string) => void;
|
|
856
|
-
value?: string;
|
|
857
|
-
}
|
|
851
|
+
interface ITabsProps {
|
|
852
|
+
color?: COLOR;
|
|
853
|
+
indicatorColor?: COLOR;
|
|
854
|
+
children?: ReactElement<ITabProps> | ReactElement<ITabProps>[];
|
|
855
|
+
className?: string;
|
|
856
|
+
fixed?: boolean;
|
|
857
|
+
onChange?: (value: string) => void;
|
|
858
|
+
value?: string;
|
|
859
|
+
}
|
|
858
860
|
declare const Tabs: (props: ITabsProps) => JSX.Element;
|
|
859
861
|
|
|
860
|
-
interface ITabPanelProps extends React$1.DetailedHTMLProps<React$1.HTMLProps<HTMLDivElement>, HTMLDivElement> {
|
|
861
|
-
value: string;
|
|
862
|
-
index: string;
|
|
863
|
-
}
|
|
862
|
+
interface ITabPanelProps extends React$1.DetailedHTMLProps<React$1.HTMLProps<HTMLDivElement>, HTMLDivElement> {
|
|
863
|
+
value: string;
|
|
864
|
+
index: string;
|
|
865
|
+
}
|
|
864
866
|
declare const TabPanel: (props: ITabPanelProps) => JSX.Element;
|
|
865
867
|
|
|
866
|
-
interface ITextareaProps extends React$1.ComponentProps<'textarea'> {
|
|
867
|
-
error?: boolean;
|
|
868
|
-
}
|
|
868
|
+
interface ITextareaProps extends React$1.ComponentProps<'textarea'> {
|
|
869
|
+
error?: boolean;
|
|
870
|
+
}
|
|
869
871
|
declare const Textarea: (props: ITextareaProps) => JSX.Element;
|
|
870
872
|
|
|
871
|
-
declare enum TIMEMODE {
|
|
872
|
-
HOUR = 0,
|
|
873
|
-
MINUTE = 1,
|
|
874
|
-
SECONDS = 2,
|
|
875
|
-
MILLISECONDS = 3
|
|
876
|
-
}
|
|
877
|
-
interface ITimeSelectProps {
|
|
878
|
-
value?: Date;
|
|
879
|
-
className?: string;
|
|
880
|
-
id?: string;
|
|
881
|
-
name?: string;
|
|
882
|
-
showHours?: boolean;
|
|
883
|
-
showMinutes?: boolean;
|
|
884
|
-
showSeconds?: boolean;
|
|
885
|
-
showMilliSeconds?: boolean;
|
|
886
|
-
disabled?: boolean;
|
|
887
|
-
onChange?: (val: Date) => void;
|
|
888
|
-
}
|
|
873
|
+
declare enum TIMEMODE {
|
|
874
|
+
HOUR = 0,
|
|
875
|
+
MINUTE = 1,
|
|
876
|
+
SECONDS = 2,
|
|
877
|
+
MILLISECONDS = 3
|
|
878
|
+
}
|
|
879
|
+
interface ITimeSelectProps {
|
|
880
|
+
value?: Date;
|
|
881
|
+
className?: string;
|
|
882
|
+
id?: string;
|
|
883
|
+
name?: string;
|
|
884
|
+
showHours?: boolean;
|
|
885
|
+
showMinutes?: boolean;
|
|
886
|
+
showSeconds?: boolean;
|
|
887
|
+
showMilliSeconds?: boolean;
|
|
888
|
+
disabled?: boolean;
|
|
889
|
+
onChange?: (val: Date) => void;
|
|
890
|
+
}
|
|
889
891
|
declare const TimeSelect: (props: ITimeSelectProps) => JSX.Element;
|
|
890
892
|
|
|
891
|
-
interface IHourProps {
|
|
892
|
-
value?: number;
|
|
893
|
-
className?: string;
|
|
894
|
-
id?: string;
|
|
895
|
-
name?: string;
|
|
896
|
-
disabled?: boolean;
|
|
897
|
-
onChange?: (val: number) => void;
|
|
898
|
-
}
|
|
893
|
+
interface IHourProps {
|
|
894
|
+
value?: number;
|
|
895
|
+
className?: string;
|
|
896
|
+
id?: string;
|
|
897
|
+
name?: string;
|
|
898
|
+
disabled?: boolean;
|
|
899
|
+
onChange?: (val: number) => void;
|
|
900
|
+
}
|
|
899
901
|
declare const HourSelect: (props: IHourProps) => JSX.Element;
|
|
900
902
|
|
|
901
|
-
interface IMinuteProps {
|
|
902
|
-
value?: number;
|
|
903
|
-
className?: string;
|
|
904
|
-
id?: string;
|
|
905
|
-
name?: string;
|
|
906
|
-
disabled?: boolean;
|
|
907
|
-
onChange?: (val: number) => void;
|
|
908
|
-
}
|
|
903
|
+
interface IMinuteProps {
|
|
904
|
+
value?: number;
|
|
905
|
+
className?: string;
|
|
906
|
+
id?: string;
|
|
907
|
+
name?: string;
|
|
908
|
+
disabled?: boolean;
|
|
909
|
+
onChange?: (val: number) => void;
|
|
910
|
+
}
|
|
909
911
|
declare const MinuteSelect: (props: IMinuteProps) => JSX.Element;
|
|
910
912
|
|
|
911
|
-
interface ISecondProps {
|
|
912
|
-
value?: number;
|
|
913
|
-
className?: string;
|
|
914
|
-
id?: string;
|
|
915
|
-
name?: string;
|
|
916
|
-
disabled?: boolean;
|
|
917
|
-
onChange?: (val: number) => void;
|
|
918
|
-
}
|
|
913
|
+
interface ISecondProps {
|
|
914
|
+
value?: number;
|
|
915
|
+
className?: string;
|
|
916
|
+
id?: string;
|
|
917
|
+
name?: string;
|
|
918
|
+
disabled?: boolean;
|
|
919
|
+
onChange?: (val: number) => void;
|
|
920
|
+
}
|
|
919
921
|
declare const SecondSelect: (props: ISecondProps) => JSX.Element;
|
|
920
922
|
|
|
921
|
-
interface IMilliSecondProps {
|
|
922
|
-
className?: string;
|
|
923
|
-
value?: number;
|
|
924
|
-
steps?: number;
|
|
925
|
-
id?: string;
|
|
926
|
-
name?: string;
|
|
927
|
-
disabled?: boolean;
|
|
928
|
-
onChange?: (val: number) => void;
|
|
929
|
-
}
|
|
923
|
+
interface IMilliSecondProps {
|
|
924
|
+
className?: string;
|
|
925
|
+
value?: number;
|
|
926
|
+
steps?: number;
|
|
927
|
+
id?: string;
|
|
928
|
+
name?: string;
|
|
929
|
+
disabled?: boolean;
|
|
930
|
+
onChange?: (val: number) => void;
|
|
931
|
+
}
|
|
930
932
|
declare const MilliSecondSelect: (props: IMilliSecondProps) => JSX.Element;
|
|
931
933
|
|
|
932
|
-
declare enum TooltipPlacement {
|
|
933
|
-
top = "top",
|
|
934
|
-
bottom = "bottom",
|
|
935
|
-
right = "right",
|
|
936
|
-
left = "left"
|
|
934
|
+
declare enum TooltipPlacement {
|
|
935
|
+
top = "top",
|
|
936
|
+
bottom = "bottom",
|
|
937
|
+
right = "right",
|
|
938
|
+
left = "left"
|
|
937
939
|
}
|
|
938
940
|
|
|
939
|
-
interface ITooltipProps extends React$1.ComponentProps<'div'> {
|
|
940
|
-
placement?: TooltipPlacement;
|
|
941
|
-
text?: string;
|
|
942
|
-
delay?: number;
|
|
943
|
-
isOpen?: boolean;
|
|
944
|
-
isShowClose?: boolean;
|
|
945
|
-
}
|
|
941
|
+
interface ITooltipProps extends React$1.ComponentProps<'div'> {
|
|
942
|
+
placement?: TooltipPlacement;
|
|
943
|
+
text?: string;
|
|
944
|
+
delay?: number;
|
|
945
|
+
isOpen?: boolean;
|
|
946
|
+
isShowClose?: boolean;
|
|
947
|
+
}
|
|
946
948
|
declare const Tooltip: (props: ITooltipProps) => JSX.Element;
|
|
947
949
|
|
|
948
950
|
declare const TreeView: (props: React$1.ComponentProps<'ul'>) => JSX.Element;
|
|
949
951
|
|
|
950
|
-
interface ITreeItemProps extends React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
|
|
951
|
-
nodeId?: string;
|
|
952
|
-
label?: string;
|
|
953
|
-
isExpanded?: boolean;
|
|
954
|
-
isSelected?: boolean;
|
|
955
|
-
isSelectable?: boolean;
|
|
956
|
-
onToggleExpand?: (id: string) => void;
|
|
957
|
-
onItemSelect?: (e: {
|
|
958
|
-
id: string;
|
|
959
|
-
isSelected: boolean;
|
|
960
|
-
}) => void;
|
|
961
|
-
}
|
|
952
|
+
interface ITreeItemProps extends React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
|
|
953
|
+
nodeId?: string;
|
|
954
|
+
label?: string;
|
|
955
|
+
isExpanded?: boolean;
|
|
956
|
+
isSelected?: boolean;
|
|
957
|
+
isSelectable?: boolean;
|
|
958
|
+
onToggleExpand?: (id: string) => void;
|
|
959
|
+
onItemSelect?: (e: {
|
|
960
|
+
id: string;
|
|
961
|
+
isSelected: boolean;
|
|
962
|
+
}) => void;
|
|
963
|
+
}
|
|
962
964
|
declare const TreeItem: (props: ITreeItemProps) => JSX.Element;
|
|
963
965
|
|
|
964
|
-
interface IWrapperProps {
|
|
965
|
-
as?: string;
|
|
966
|
-
children: React$1.ReactNode;
|
|
967
|
-
className?: string;
|
|
968
|
-
wrap?: boolean;
|
|
969
|
-
}
|
|
970
|
-
interface ITypographyProps extends React$1.ComponentProps<'span'> {
|
|
971
|
-
as?: string;
|
|
972
|
-
wrap?: boolean;
|
|
973
|
-
}
|
|
966
|
+
interface IWrapperProps {
|
|
967
|
+
as?: string;
|
|
968
|
+
children: React$1.ReactNode;
|
|
969
|
+
className?: string;
|
|
970
|
+
wrap?: boolean;
|
|
971
|
+
}
|
|
972
|
+
interface ITypographyProps extends React$1.ComponentProps<'span'> {
|
|
973
|
+
as?: string;
|
|
974
|
+
wrap?: boolean;
|
|
975
|
+
}
|
|
974
976
|
declare const Typography: ({ children, as, wrap, ...rest }: ITypographyProps) => JSX.Element;
|
|
975
977
|
|
|
976
978
|
declare const useConstructor: (callBack: () => void) => void;
|
|
@@ -981,16 +983,16 @@ declare function useDebounce(callback: () => void, timeout: number, deps: React$
|
|
|
981
983
|
|
|
982
984
|
declare function useHover(): (boolean | React.MutableRefObject<null>)[];
|
|
983
985
|
|
|
984
|
-
declare function useMobileDetect(): {
|
|
985
|
-
isMobile: boolean;
|
|
986
|
+
declare function useMobileDetect(): {
|
|
987
|
+
isMobile: boolean;
|
|
986
988
|
};
|
|
987
989
|
|
|
988
990
|
declare const useOnDestroy: (callBack: () => void) => void;
|
|
989
991
|
|
|
990
|
-
interface IUseWindowSize {
|
|
991
|
-
width: number;
|
|
992
|
-
height: number;
|
|
993
|
-
}
|
|
992
|
+
interface IUseWindowSize {
|
|
993
|
+
width: number;
|
|
994
|
+
height: number;
|
|
995
|
+
}
|
|
994
996
|
declare function useWindowSize(): IUseWindowSize;
|
|
995
997
|
|
|
996
998
|
declare const CaretDownSolidIcon: () => JSX.Element;
|
|
@@ -1021,8 +1023,8 @@ declare const TimesCircleSolidIcon: () => JSX.Element;
|
|
|
1021
1023
|
|
|
1022
1024
|
declare const TimesSolidIcon: () => JSX.Element;
|
|
1023
1025
|
|
|
1024
|
-
interface IDictionary<T> {
|
|
1025
|
-
[key: string]: T;
|
|
1026
|
+
interface IDictionary<T> {
|
|
1027
|
+
[key: string]: T;
|
|
1026
1028
|
}
|
|
1027
1029
|
|
|
1028
|
-
export { Alert, AppBar, AppBarTitle, AutoComplete, Backdrop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonContext, ButtonGroup, COLOR, Card, CardBody, CardFooter, CardImage, CardSubtitle, CardText, CardTitle, CaretDownSolidIcon, CheckSolidIcon, CheckSquareRegularIcon, Checkbox, ChevronDownSolidIcon, ChevronLeftSolidIcon, ChevronRightSolidIcon, ChevronUpSolidIcon, Chip, CircleSolidIcon, Column, ConditionalWrapper, CssTransition, DATEMODE, DatePicker, DateSelect, DaySelect, Dot, Drawer, EmailValidator, ExpansionPanel, ExpansionPanelContent, ExpansionPanelHeader, FileInput, FloatingActionButton, Form, FormControl, FormError, FormGroup, FormHint, FormInput, FormLabel, GlobalModal, HomeSolidIcon, HourSelect, HtmlBaseProps, HtmlInputProps, IAlertProps, IAppBarProps, IAppBarTitleProps, IAutoCompleteProps, IBackdropProps, IBadgeProps, IBreadcrumbItemProps, IBreadcrumbProps, IButtonContext, IButtonGroupProps, IButtonProps, ICheckboxProps, IChipProps, IContainerProps, IControls, IDatePickerProps, IDateSelectProps, IDaySelectProps, IDictionary, IDot, IDrawerProps, IExpansionPanelContentProps, IExpansionPanelHeaderProps, IExpansionPanelProps, IFileInputProps, IFloatingActionButtonProps, IFormAutoCompleteOptions, IFormControlConfig, IFormControlType, IFormInputError, IFormInputEvent, IFormInputOptions, IFormInputProps, IFormProps, IFormSelectOptions, IFormState, IFormTextAreaOptions, IFormValidatorType, IHourProps, IIconButtonProps, IIconProps, IListItemProps, IListProps, ILoadingIndicatorContainerProps, ILoadingIndicatorService, IMenuBodyProps, IMenuProps, IMilliSecondProps, IMinuteProps, IModalButton, IModalOptions, IModalProps$1 as IModalProps, IModalService, IMonthProps, INumberSelectProps, IPortalProps, IProgressBarProps, ISecondProps, ISelectOption, ISelectProps, ISidebarItem, ISkeletonAvatarProps, ISkeletonFooterProps, ISkeletonImageProps, ISkeletonTextProps, ISnackbarOptions, ISnackbarProps, ISnackbarService, ISpeedDialActionProps, ISpeedDialIconProps, ISpeedDialProps, IStepProps, IStepperActionsProps, IStepperProps, ITabPanelProps, ITabProps, ITableCellProps, ITableProps, ITabsProps, ITextareaProps, ITimeSelectProps, ITooltipProps, ITreeItemProps, ITypographyProps, IUseWindowSize, IWrapperProps, IYearProps, Icon, IconButton, IsEmptyValidator, IsEqualValidator, Link, List, ListItem, ListItemAction, ListItemAvatar, ListItemIcon, ListItemText, LoadingIndicator, LoadingIndicatorContainer, MODALBUTTONTYPE, MODALTYPE, MaxValidator, Menu, MenuBody, MenuDivider, MenuItem, MenuPosition, MenuToggle, MilliSecondSelect, MinValidator, MinuteSelect, Modal, ModalBody, ModalFooter, ModalHeader, MonthSelect, NumberSelect, POSITION, PlusSolidIcon, Portal, ProgressBar, Row, SIZE, STATUS, SecondSelect, Select, Sidebar, SkeletonAvatar, SkeletonFooter, SkeletonImage, SkeletonText, Snackbar, SpeedDial, SpeedDialAction, SpeedDialIcon, SpinnerSolidIcon, SquareRegularIcon, Step, Stepper, StepperActions, TIMEMODE, Tab, TabPanel, Table, TableBody, TableCell, TableHead, TableRow, Tabs, Textarea, TimeSelect, TimesCircleSolidIcon, TimesSolidIcon, Tooltip, TreeItem, TreeView, Typography, VARIANT, YearSelect, loadingIndicatorService, modalService, snackbarService, useButtonContext, useConstructor, useCssClasses, useDebounce, useHover, useMobileDetect, useOnDestroy, useWindowSize };
|
|
1030
|
+
export { Alert, AppBar, AppBarTitle, AutoComplete, Backdrop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonContext, ButtonGroup, COLOR, Card, CardBody, CardFooter, CardImage, CardSubtitle, CardText, CardTitle, CaretDownSolidIcon, CheckSolidIcon, CheckSquareRegularIcon, Checkbox, ChevronDownSolidIcon, ChevronLeftSolidIcon, ChevronRightSolidIcon, ChevronUpSolidIcon, Chip, CircleSolidIcon, Column, ConditionalWrapper, CssTransition, DATEMODE, DatePicker, DateSelect, DaySelect, Dot, Drawer, EmailValidator, ExpansionPanel, ExpansionPanelContent, ExpansionPanelHeader, FileInput, FloatingActionButton, Form, FormControl, FormError, FormGroup, FormHint, FormInput, FormLabel, GlobalModal, HomeSolidIcon, HourSelect, HtmlBaseProps, HtmlInputProps, IAlertProps, IAppBarProps, IAppBarTitleProps, IAutoCompleteProps, IBackdropProps, IBadgeProps, IBreadcrumbItemProps, IBreadcrumbProps, IButtonContext, IButtonGroupProps, IButtonProps, ICheckboxProps, IChipProps, IContainerProps, IControls, IDatePickerProps, IDateSelectProps, IDaySelectProps, IDictionary, IDot, IDrawerProps, IExpansionPanelContentProps, IExpansionPanelHeaderProps, IExpansionPanelProps, IFileInputProps, IFloatingActionButtonProps, IFormAutoCompleteOptions, IFormControlConfig, IFormControlType, IFormInputError, IFormInputEvent, IFormInputOptions, IFormInputProps, IFormProps, IFormSelectOptions, IFormState, IFormTextAreaOptions, IFormValidatorType, IHourProps, IIconButtonProps, IIconProps, IListItemProps, IListProps, ILoadingIndicatorContainerProps, ILoadingIndicatorService, IMenuBodyProps, IMenuProps, IMilliSecondProps, IMinuteProps, IModalButton, IModalOptions, IModalProps$1 as IModalProps, IModalService, IMonthProps, INumberSelectProps, IPortalProps, IProgressBarProps, ISecondProps, ISelectOption, ISelectProps, ISidebarItem, ISkeletonAvatarProps, ISkeletonFooterProps, ISkeletonImageProps, ISkeletonTextProps, ISnackbarOptions, ISnackbarProps, ISnackbarService, ISpeedDialActionProps, ISpeedDialIconProps, ISpeedDialProps, IStepProps, IStepperActionsProps, IStepperProps, ITabPanelProps, ITabProps, ITableCellProps, ITableProps, ITabsProps, ITextareaProps, ITimeSelectProps, ITooltipProps, ITreeItemProps, ITypographyProps, IUseWindowSize, IWrapperProps, IYearProps, Icon, IconButton, IsEmptyValidator, IsEqualValidator, Link, List, ListItem, ListItemAction, ListItemAvatar, ListItemIcon, ListItemText, LoadingIndicator, LoadingIndicatorContainer, MODALBUTTONTYPE, MODALTYPE, MaxValidator, Menu, MenuBody, MenuDivider, MenuItem, MenuPosition, MenuToggle, MilliSecondSelect, MinValidator, MinuteSelect, Modal, ModalBody, ModalFooter, ModalHeader, MonthSelect, NumberSelect, POSITION, PlusSolidIcon, Portal, ProgressBar, Row, SIZE, STATUS, SecondSelect, Select, Sidebar, SkeletonAvatar, SkeletonFooter, SkeletonImage, SkeletonText, Snackbar, SpeedDial, SpeedDialAction, SpeedDialIcon, SpinnerSolidIcon, SquareRegularIcon, Step, Stepper, StepperActions, TIMEMODE, Tab, TabPanel, Table, TableBody, TableCell, TableHead, TableRow, Tabs, Textarea, TimeSelect, TimesCircleSolidIcon, TimesSolidIcon, Tooltip, TooltipPlacement, TreeItem, TreeView, Typography, VARIANT, YearSelect, loadingIndicatorService, modalService, snackbarService, useButtonContext, useConstructor, useCssClasses, useDebounce, useHover, useMobileDetect, useOnDestroy, useWindowSize };
|