react-asc 25.8.2 → 25.10.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/apple-touch-icon.png +0 -0
- package/assets/index-5bb661b4.js +100 -0
- package/assets/index-b3809a2b.css +1 -0
- package/assets/workbox-window.prod.es5-a7b12eab.js +2 -0
- package/changelog.md +1510 -0
- package/favicon-16x16.png +0 -0
- package/favicon-32x32.png +0 -0
- package/favicon.ico +0 -0
- package/favicon.svg +23 -0
- package/index.html +24 -0
- package/manifest.webmanifest +1 -0
- package/package.json +7 -1
- package/pwa-192x192.png +0 -0
- package/pwa-512x512.png +0 -0
- package/robots.txt +3 -0
- package/showcase/alert.description.md +1 -0
- package/showcase/alert.md +14 -0
- package/showcase/appbar.description.md +1 -0
- package/showcase/appbar.md +8 -0
- package/showcase/autocomplete.description.md +1 -0
- package/showcase/autocomplete.md +49 -0
- package/showcase/backdrop.description.md +1 -0
- package/showcase/backdrop.md +11 -0
- package/showcase/badge.description.md +1 -0
- package/showcase/badge.md +8 -0
- package/showcase/breadcrumb.description.md +1 -0
- package/showcase/breadcrumb.md +5 -0
- package/showcase/button.description.md +1 -0
- package/showcase/button.md +44 -0
- package/showcase/buttongroup.description.md +1 -0
- package/showcase/buttongroup.md +5 -0
- package/showcase/card.description.md +1 -0
- package/showcase/card.md +9 -0
- package/showcase/checkbox.description.md +1 -0
- package/showcase/checkbox.md +1 -0
- package/showcase/chip.description.md +1 -0
- package/showcase/chip.md +3 -0
- package/showcase/csstransition.md +38 -0
- package/showcase/dateselect.md +8 -0
- package/showcase/drawer.md +13 -0
- package/showcase/expansionpanel.md +40 -0
- package/showcase/fileinput.md +1 -0
- package/showcase/floatingactionbutton.md +4 -0
- package/showcase/form.md +6 -0
- package/showcase/grid.md +5 -0
- package/showcase/hookuseconstructor.description.md +1 -0
- package/showcase/hookuseconstructor.md +5 -0
- package/showcase/hookusedebounce.description.md +3 -0
- package/showcase/hookusedebounce.md +17 -0
- package/showcase/hookusehover.md +11 -0
- package/showcase/hookusemobiledetect.description.md +2 -0
- package/showcase/hookusemobiledetect.md +11 -0
- package/showcase/hookuseondestroy.description.md +1 -0
- package/showcase/hookuseondestroy.md +5 -0
- package/showcase/hookuseprevious.description.md +1 -0
- package/showcase/hookuseprevious.md +14 -0
- package/showcase/hookusewindowsize.description.md +2 -0
- package/showcase/hookusewindowsize.md +11 -0
- package/showcase/icon.md +3 -0
- package/showcase/iconbutton.md +5 -0
- package/showcase/link.md +1 -0
- package/showcase/list.md +98 -0
- package/showcase/loadingindicator.md +38 -0
- package/showcase/menu.md +17 -0
- package/showcase/modal.md +46 -0
- package/showcase/numberselect.md +20 -0
- package/showcase/progressbar.description.md +1 -0
- package/showcase/progressbar.md +3 -0
- package/showcase/select.md +20 -0
- package/showcase/servicelogger.md +9 -0
- package/showcase/skeleton.description.md +5 -0
- package/showcase/skeleton.md +5 -0
- package/showcase/snackbar.md +22 -0
- package/showcase/speeddial.md +43 -0
- package/showcase/stepper.description.md +1 -0
- package/showcase/stepper.md +40 -0
- package/showcase/table.md +30 -0
- package/showcase/tabs.md +35 -0
- package/showcase/timeselect.md +1 -0
- package/showcase/tooltip.md +6 -0
- package/showcase/treeview.md +12 -0
- package/showcase/typography.md +6 -0
- package/sw.js +1 -0
- package/workbox-fa446783.js +1 -0
- package/index.d.ts +0 -1032
- package/index.es.js +0 -7069
- package/index.js +0 -7198
- package/lib/components/Alert/Alert.d.ts +0 -12
- package/lib/components/Alert/index.d.ts +0 -1
- package/lib/components/AppBar/AppBar.d.ts +0 -11
- package/lib/components/AppBar/AppBarTitle.d.ts +0 -6
- package/lib/components/AppBar/index.d.ts +0 -2
- package/lib/components/AutoComplete/AutoComplete.d.ts +0 -18
- package/lib/components/AutoComplete/index.d.ts +0 -1
- package/lib/components/Backdrop/Backdrop.d.ts +0 -6
- package/lib/components/Backdrop/index.d.ts +0 -1
- package/lib/components/Badge/Badge.d.ts +0 -9
- package/lib/components/Badge/index.d.ts +0 -1
- package/lib/components/Breadcrumb/Breadcrumb.d.ts +0 -6
- package/lib/components/Breadcrumb/BreadcrumbItem.d.ts +0 -6
- package/lib/components/Breadcrumb/index.d.ts +0 -2
- package/lib/components/Button/Button.d.ts +0 -14
- package/lib/components/Button/ButtonContext.d.ts +0 -7
- package/lib/components/Button/index.d.ts +0 -2
- package/lib/components/ButtonGroup/ButtonGroup.d.ts +0 -6
- package/lib/components/ButtonGroup/index.d.ts +0 -1
- package/lib/components/Card/Card.d.ts +0 -6
- package/lib/components/Card/CardBody.d.ts +0 -2
- package/lib/components/Card/CardFooter.d.ts +0 -2
- package/lib/components/Card/CardImage.d.ts +0 -2
- package/lib/components/Card/CardSubtitle.d.ts +0 -2
- package/lib/components/Card/CardText.d.ts +0 -2
- package/lib/components/Card/CardTitle.d.ts +0 -6
- package/lib/components/Card/index.d.ts +0 -7
- package/lib/components/Checkbox/Checkbox.d.ts +0 -7
- package/lib/components/Checkbox/index.d.ts +0 -1
- package/lib/components/Chip/Chip.d.ts +0 -11
- package/lib/components/Chip/index.d.ts +0 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +0 -8
- package/lib/components/ConditionalWrapper/index.d.ts +0 -1
- package/lib/components/CssTransition/CssTransition.d.ts +0 -8
- package/lib/components/CssTransition/index.d.ts +0 -1
- package/lib/components/DatePicker/DatePicker.d.ts +0 -10
- package/lib/components/DatePicker/index.d.ts +0 -1
- package/lib/components/DateSelect/DateSelect.d.ts +0 -17
- package/lib/components/DateSelect/DaySelect.d.ts +0 -12
- package/lib/components/DateSelect/MonthSelect.d.ts +0 -10
- package/lib/components/DateSelect/YearSelect.d.ts +0 -12
- package/lib/components/DateSelect/index.d.ts +0 -4
- package/lib/components/Drawer/Drawer.d.ts +0 -9
- package/lib/components/Drawer/index.d.ts +0 -1
- package/lib/components/ExpansionPanel/ExpansionPanel.d.ts +0 -10
- package/lib/components/ExpansionPanel/ExpansionPanelContent.d.ts +0 -5
- package/lib/components/ExpansionPanel/ExpansionPanelHeader.d.ts +0 -8
- package/lib/components/ExpansionPanel/index.d.ts +0 -3
- package/lib/components/FileInput/FileInput.d.ts +0 -5
- package/lib/components/FileInput/index.d.ts +0 -1
- package/lib/components/FloatingActionButton/FloatingActionButton.d.ts +0 -13
- package/lib/components/FloatingActionButton/index.d.ts +0 -1
- package/lib/components/Form/Form.d.ts +0 -40
- package/lib/components/Form/FormError.d.ts +0 -8
- package/lib/components/Form/FormGroup.d.ts +0 -7
- package/lib/components/Form/FormHint/FormHint.d.ts +0 -2
- package/lib/components/Form/FormHint/index.d.ts +0 -1
- package/lib/components/Form/FormInput/FormInput.d.ts +0 -29
- package/lib/components/Form/FormInput/index.d.ts +0 -1
- package/lib/components/Form/FormLabel/FormLabel.d.ts +0 -2
- package/lib/components/Form/FormLabel/index.d.ts +0 -1
- package/lib/components/Form/form.interfaces.d.ts +0 -40
- package/lib/components/Form/form.models.d.ts +0 -12
- package/lib/components/Form/form.types.d.ts +0 -2
- package/lib/components/Form/index.d.ts +0 -10
- package/lib/components/Form/validators/EmailValidtor.d.ts +0 -1
- package/lib/components/Form/validators/IsEmptyValidator.d.ts +0 -1
- package/lib/components/Form/validators/IsEqualValidator.d.ts +0 -1
- package/lib/components/Form/validators/MaxValidator.d.ts +0 -1
- package/lib/components/Form/validators/MinValidator.d.ts +0 -1
- package/lib/components/Form/validators/index.d.ts +0 -5
- package/lib/components/Grid/Column/Column.d.ts +0 -10
- package/lib/components/Grid/Column/index.d.ts +0 -1
- package/lib/components/Grid/Row/Row.d.ts +0 -5
- package/lib/components/Grid/Row/index.d.ts +0 -1
- package/lib/components/Grid/index.d.ts +0 -2
- package/lib/components/Icon/Icon.d.ts +0 -8
- package/lib/components/Icon/index.d.ts +0 -1
- package/lib/components/IconButton/IconButton.d.ts +0 -12
- package/lib/components/IconButton/index.d.ts +0 -1
- package/lib/components/Link/Link.d.ts +0 -2
- package/lib/components/Link/Link.test.d.ts +0 -1
- package/lib/components/Link/index.d.ts +0 -1
- package/lib/components/List/List.d.ts +0 -5
- package/lib/components/List/ListItem.d.ts +0 -9
- package/lib/components/List/ListItemAction.d.ts +0 -2
- package/lib/components/List/ListItemAvatar.d.ts +0 -6
- package/lib/components/List/ListItemIcon.d.ts +0 -6
- package/lib/components/List/ListItemText.d.ts +0 -8
- package/lib/components/List/index.d.ts +0 -6
- package/lib/components/List/list.models.d.ts +0 -8
- package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +0 -2
- package/lib/components/LoadingIndicator/LoadingIndicatorContainer.d.ts +0 -6
- package/lib/components/LoadingIndicator/index.d.ts +0 -3
- package/lib/components/LoadingIndicator/loading-indicator.service.d.ts +0 -12
- package/lib/components/Menu/Menu.d.ts +0 -12
- package/lib/components/Menu/MenuBody.d.ts +0 -13
- package/lib/components/Menu/MenuContext.d.ts +0 -6
- package/lib/components/Menu/MenuDivider.d.ts +0 -2
- package/lib/components/Menu/MenuItem.d.ts +0 -3
- package/lib/components/Menu/MenuToggle.d.ts +0 -6
- package/lib/components/Menu/index.d.ts +0 -6
- package/lib/components/Menu/menu.types.d.ts +0 -1
- package/lib/components/Modal/GlobalModal.d.ts +0 -21
- package/lib/components/Modal/Modal.d.ts +0 -15
- package/lib/components/Modal/ModalBody.d.ts +0 -6
- package/lib/components/Modal/ModalFooter.d.ts +0 -6
- package/lib/components/Modal/ModalHeader.d.ts +0 -8
- package/lib/components/Modal/index.d.ts +0 -8
- package/lib/components/Modal/modal.enum.d.ts +0 -10
- package/lib/components/Modal/modal.interfaces.d.ts +0 -12
- package/lib/components/Modal/modal.service.d.ts +0 -22
- package/lib/components/NumberSelect/NumberSelect.d.ts +0 -12
- package/lib/components/NumberSelect/index.d.ts +0 -1
- package/lib/components/Portal/Portal.d.ts +0 -7
- package/lib/components/Portal/index.d.ts +0 -1
- package/lib/components/ProgressBar/ProgressBar.d.ts +0 -9
- package/lib/components/ProgressBar/index.d.ts +0 -1
- package/lib/components/Select/Select.d.ts +0 -16
- package/lib/components/Select/index.d.ts +0 -1
- package/lib/components/Sidebar/Sidebar.d.ts +0 -9
- package/lib/components/Sidebar/index.d.ts +0 -2
- package/lib/components/Sidebar/sidebar.interfaces.d.ts +0 -9
- package/lib/components/Sidebar/sidebar.models.d.ts +0 -11
- package/lib/components/Skeleton/SkeletonAvatar.d.ts +0 -5
- package/lib/components/Skeleton/SkeletonFooter.d.ts +0 -5
- package/lib/components/Skeleton/SkeletonImage.d.ts +0 -5
- package/lib/components/Skeleton/SkeletonText.d.ts +0 -5
- package/lib/components/Skeleton/index.d.ts +0 -4
- package/lib/components/Snackbar/Snackbar.d.ts +0 -9
- package/lib/components/Snackbar/index.d.ts +0 -2
- package/lib/components/Snackbar/snackbar.service.d.ts +0 -20
- package/lib/components/SpeedDial/SpeedDial.d.ts +0 -7
- package/lib/components/SpeedDial/SpeedDialAction.d.ts +0 -9
- package/lib/components/SpeedDial/SpeedDialActions.d.ts +0 -2
- package/lib/components/SpeedDial/SpeedDialIcon.d.ts +0 -6
- package/lib/components/SpeedDial/index.d.ts +0 -3
- package/lib/components/Stepper/Dot/Dot.d.ts +0 -7
- package/lib/components/Stepper/Dot/index.d.ts +0 -1
- package/lib/components/Stepper/Step/Step.d.ts +0 -20
- package/lib/components/Stepper/Step/index.d.ts +0 -1
- package/lib/components/Stepper/StepConnector/StepConnector.d.ts +0 -6
- package/lib/components/Stepper/StepPanel/StepPanel.d.ts +0 -5
- package/lib/components/Stepper/Stepper.d.ts +0 -20
- package/lib/components/Stepper/StepperActions/StepperActions.d.ts +0 -14
- package/lib/components/Stepper/StepperActions/index.d.ts +0 -1
- package/lib/components/Stepper/index.d.ts +0 -4
- package/lib/components/Table/Table.d.ts +0 -8
- package/lib/components/Table/TableBody.d.ts +0 -2
- package/lib/components/Table/TableCell.d.ts +0 -5
- package/lib/components/Table/TableContext.d.ts +0 -6
- package/lib/components/Table/TableHead.d.ts +0 -2
- package/lib/components/Table/TableRow.d.ts +0 -2
- package/lib/components/Table/index.d.ts +0 -5
- package/lib/components/Tabs/Tab.d.ts +0 -13
- package/lib/components/Tabs/TabContext.d.ts +0 -8
- package/lib/components/Tabs/TabIndicator.d.ts +0 -10
- package/lib/components/Tabs/TabPanel.d.ts +0 -6
- package/lib/components/Tabs/Tabs.d.ts +0 -13
- package/lib/components/Tabs/index.d.ts +0 -3
- package/lib/components/Textarea/Textarea.d.ts +0 -5
- package/lib/components/Textarea/index.d.ts +0 -1
- package/lib/components/TimeSelect/HourSelect.d.ts +0 -10
- package/lib/components/TimeSelect/MilliSecondSelect.d.ts +0 -11
- package/lib/components/TimeSelect/MinuteSelect.d.ts +0 -10
- package/lib/components/TimeSelect/SecondSelect.d.ts +0 -10
- package/lib/components/TimeSelect/TimeSelect.d.ts +0 -20
- package/lib/components/TimeSelect/index.d.ts +0 -5
- package/lib/components/Tooltip/Tooltip.d.ts +0 -10
- package/lib/components/Tooltip/index.d.ts +0 -2
- package/lib/components/Tooltip/tooltip.enums.d.ts +0 -6
- package/lib/components/TreeView/TreeItem.d.ts +0 -14
- package/lib/components/TreeView/TreeView.d.ts +0 -2
- package/lib/components/TreeView/index.d.ts +0 -2
- package/lib/components/Typography/Typography.d.ts +0 -12
- package/lib/components/Typography/index.d.ts +0 -1
- package/lib/components/component.enums.d.ts +0 -26
- package/lib/components/component.interfaces.d.ts +0 -18
- package/lib/components/index.d.ts +0 -46
- package/lib/hooks/index.d.ts +0 -7
- package/lib/hooks/useConstructor.d.ts +0 -1
- package/lib/hooks/useCssClasses.d.ts +0 -1
- package/lib/hooks/useDebounce.d.ts +0 -2
- package/lib/hooks/useHover.d.ts +0 -2
- package/lib/hooks/useMobileDetect.d.ts +0 -3
- package/lib/hooks/useOnDestroy.d.ts +0 -1
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/icons/CaretDownSolidIcon.d.ts +0 -2
- package/lib/icons/CheckSolidIcon.d.ts +0 -2
- package/lib/icons/CheckSquareRegularIcon.d.ts +0 -2
- package/lib/icons/ChevronDownSolidIcon.d.ts +0 -2
- package/lib/icons/ChevronLeftSolidIcon.d.ts +0 -2
- package/lib/icons/ChevronRightSolidIcon.d.ts +0 -2
- package/lib/icons/ChevronUpSolidIcon.d.ts +0 -2
- package/lib/icons/CircleSolidIcon.d.ts +0 -2
- package/lib/icons/HomeSolidIcon.d.ts +0 -2
- package/lib/icons/PlusSolidIcon.d.ts +0 -2
- package/lib/icons/SpinnerSolidIcon.d.ts +0 -2
- package/lib/icons/SquareRegularIcon.d.ts +0 -2
- package/lib/icons/TimesCircleSolidIcon.d.ts +0 -2
- package/lib/icons/TimesSolidIcon.d.ts +0 -2
- package/lib/icons/index.d.ts +0 -14
- package/lib/index.d.ts +0 -4
- package/lib/interfaces/index.d.ts +0 -1
- package/lib/interfaces/interfaces.d.ts +0 -3
- package/vite.config.d.ts +0 -2
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { SIZE } from '../component.enums';
|
|
4
|
-
import { COLOR, VARIANT } from '../component.enums';
|
|
5
|
-
export interface IAlertProps extends React.ComponentProps<'div'> {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
variant?: VARIANT;
|
|
9
|
-
color?: COLOR;
|
|
10
|
-
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
11
|
-
}
|
|
12
|
-
export declare const Alert: (props: IAlertProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Alert';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { SIZE } from '../component.enums';
|
|
4
|
-
import { COLOR } from '../component.enums';
|
|
5
|
-
export interface IAppBarProps extends React.ComponentProps<'nav'> {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
color?: COLOR;
|
|
9
|
-
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
10
|
-
}
|
|
11
|
-
export declare const AppBar: (props: IAppBarProps) => JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ISelectOption } from '../component.interfaces';
|
|
3
|
-
export interface IAutoCompleteProps {
|
|
4
|
-
id?: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
options?: ISelectOption[];
|
|
8
|
-
value?: string;
|
|
9
|
-
openOnFocus?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
readOnly?: boolean;
|
|
13
|
-
debounce?: number;
|
|
14
|
-
showClearButton?: boolean;
|
|
15
|
-
onSelect?: (val: ISelectOption) => void;
|
|
16
|
-
onChange?: (val: string | undefined) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const AutoComplete: (props: IAutoCompleteProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AutoComplete';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Backdrop';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { COLOR } from '../component.enums';
|
|
3
|
-
export interface IBadgeProps {
|
|
4
|
-
color?: COLOR;
|
|
5
|
-
content?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare const Badge: (props: IBadgeProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Badge';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { COLOR, VARIANT } from '../component.enums';
|
|
3
|
-
export interface IButtonProps extends React.ComponentProps<'button'> {
|
|
4
|
-
color?: COLOR;
|
|
5
|
-
isActive?: boolean;
|
|
6
|
-
isRounded?: boolean;
|
|
7
|
-
variant?: VARIANT;
|
|
8
|
-
startIcon?: React.ReactNode;
|
|
9
|
-
endIcon?: React.ReactNode;
|
|
10
|
-
shadow?: boolean;
|
|
11
|
-
block?: boolean;
|
|
12
|
-
loading?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const Button: React.FunctionComponent<IButtonProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { COLOR } from '../component.enums';
|
|
3
|
-
export interface IButtonContext {
|
|
4
|
-
color: COLOR | null;
|
|
5
|
-
}
|
|
6
|
-
export declare const ButtonContext: React.Context<IButtonContext>;
|
|
7
|
-
export declare const useButtonContext: () => IButtonContext;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ButtonGroup';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Checkbox';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { COLOR } from '../component.enums';
|
|
3
|
-
export interface IChipProps extends React.ComponentProps<'div'> {
|
|
4
|
-
color?: COLOR;
|
|
5
|
-
shadow?: boolean;
|
|
6
|
-
onClick?: (e: React.MouseEvent<Element>) => void;
|
|
7
|
-
isDeletable?: boolean;
|
|
8
|
-
onDelete?: (e: React.MouseEvent<Element>) => void;
|
|
9
|
-
deleteIcon?: JSX.Element;
|
|
10
|
-
}
|
|
11
|
-
export declare const Chip: (props: IChipProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Chip';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
interface IConditionalWrapperProps {
|
|
3
|
-
condition: boolean;
|
|
4
|
-
wrapper: (children: React.ReactNode) => JSX.Element;
|
|
5
|
-
children: any;
|
|
6
|
-
}
|
|
7
|
-
export declare const ConditionalWrapper: ({ condition, wrapper, children }: IConditionalWrapperProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ConditionalWrapper';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './CssTransition';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import 'react-calendar/dist/Calendar.css';
|
|
3
|
-
export interface IDatePickerProps {
|
|
4
|
-
value?: Date;
|
|
5
|
-
selectRange?: boolean;
|
|
6
|
-
minDate?: Date;
|
|
7
|
-
maxDate?: Date;
|
|
8
|
-
onChange?: (val: Date) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const DatePicker: (props: IDatePickerProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DatePicker';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare enum DATEMODE {
|
|
3
|
-
YEAR = 0,
|
|
4
|
-
MONTH = 1,
|
|
5
|
-
DAY = 2
|
|
6
|
-
}
|
|
7
|
-
export interface IDateSelectProps {
|
|
8
|
-
value?: Date;
|
|
9
|
-
className?: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
yearConfig?: {
|
|
12
|
-
from?: number;
|
|
13
|
-
to?: number;
|
|
14
|
-
};
|
|
15
|
-
onChange?: (val: Date) => void;
|
|
16
|
-
}
|
|
17
|
-
export declare const DateSelect: (props: IDateSelectProps) => JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IDaySelectProps {
|
|
3
|
-
day?: number;
|
|
4
|
-
month?: number;
|
|
5
|
-
year?: number;
|
|
6
|
-
className?: string;
|
|
7
|
-
id?: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
onChange?: (val: number) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const DaySelect: (props: IDaySelectProps) => JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IMonthProps {
|
|
3
|
-
value?: number;
|
|
4
|
-
className?: string;
|
|
5
|
-
id?: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
onChange?: (val: number) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const MonthSelect: (props: IMonthProps) => JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IYearProps {
|
|
3
|
-
from?: number;
|
|
4
|
-
to?: number;
|
|
5
|
-
value?: number;
|
|
6
|
-
className?: string;
|
|
7
|
-
id?: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
onChange?: (val: number) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const YearSelect: (props: IYearProps) => JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IDrawerProps extends React.ComponentProps<'div'> {
|
|
3
|
-
position?: 'left' | 'right';
|
|
4
|
-
shadow?: boolean;
|
|
5
|
-
onClickBackdrop?: () => void;
|
|
6
|
-
permanent?: boolean;
|
|
7
|
-
target?: HTMLElement;
|
|
8
|
-
}
|
|
9
|
-
export declare const Drawer: (props: IDrawerProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Drawer';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface IExpansionPanelProps extends React.ComponentProps<'div'> {
|
|
4
|
-
header: ReactNode;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
isExpanded?: boolean;
|
|
7
|
-
shadow?: boolean;
|
|
8
|
-
onToggle?: (event: React.MouseEvent, isExpanded: boolean) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const ExpansionPanel: (props: IExpansionPanelProps) => JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface IExpansionPanelHeaderProps {
|
|
4
|
-
onClick?: (event: React.MouseEvent) => void;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
isExpanded: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const ExpansionPanelHeader: (props: IExpansionPanelHeaderProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FileInput';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { COLOR, SIZE } from '../component.enums';
|
|
3
|
-
export interface IFloatingActionButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
color?: COLOR;
|
|
6
|
-
size?: SIZE;
|
|
7
|
-
fixed?: boolean;
|
|
8
|
-
isActive?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
position?: 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
11
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const FloatingActionButton: (props: IFloatingActionButtonProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FloatingActionButton';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import type { IControls } from './form.interfaces';
|
|
3
|
-
import type { FormControl } from './form.models';
|
|
4
|
-
export interface IFormProps {
|
|
5
|
-
className?: string;
|
|
6
|
-
controls: IControls;
|
|
7
|
-
validateOnBlur?: boolean;
|
|
8
|
-
onSubmit?: (values: any) => void;
|
|
9
|
-
onChange?: (values: any) => void;
|
|
10
|
-
submitOnEnter?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface IFormState {
|
|
13
|
-
controls: IControls | undefined;
|
|
14
|
-
isValid: boolean;
|
|
15
|
-
isSubmitted: boolean;
|
|
16
|
-
isChanged: boolean;
|
|
17
|
-
submitOnEnter?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare class Form extends Component<IFormProps, IFormState> {
|
|
20
|
-
constructor(props: IFormProps);
|
|
21
|
-
getCssClasses(): string;
|
|
22
|
-
static getDerivedStateFromProps(nextProps: IFormProps, state: IFormState): {
|
|
23
|
-
controls: IControls;
|
|
24
|
-
} | null;
|
|
25
|
-
myForm: React.RefObject<HTMLFormElement>;
|
|
26
|
-
handleChange(): void;
|
|
27
|
-
private validateField;
|
|
28
|
-
private handleInputChange;
|
|
29
|
-
private handleOnBlur;
|
|
30
|
-
private isRequired;
|
|
31
|
-
private isInvalid;
|
|
32
|
-
getControl(name: string): FormControl;
|
|
33
|
-
private renderLabel;
|
|
34
|
-
handleFormSubmit(): void;
|
|
35
|
-
handleFormReset(): void;
|
|
36
|
-
handleOnKeyDown(e: React.KeyboardEvent<HTMLInputElement | undefined>): void;
|
|
37
|
-
destroy(): void;
|
|
38
|
-
getFormGroupCssClass(fieldKey: string): string | undefined;
|
|
39
|
-
render(): JSX.Element;
|
|
40
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FormHint';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { IFormAutoCompleteOptions, IFormInputOptions, IFormSelectOptions, IFormTextAreaOptions } from '../form.interfaces';
|
|
3
|
-
import type { IFormControlType } from '../form.types';
|
|
4
|
-
export interface IFormInputEvent {
|
|
5
|
-
value: any;
|
|
6
|
-
type?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IFormInputProps {
|
|
10
|
-
value: any;
|
|
11
|
-
name: string;
|
|
12
|
-
type: IFormControlType;
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
readonly?: boolean;
|
|
17
|
-
isValid?: boolean;
|
|
18
|
-
autoFocus?: boolean;
|
|
19
|
-
options?: IFormInputOptions[];
|
|
20
|
-
textareaOptions?: IFormTextAreaOptions;
|
|
21
|
-
selectOptions?: IFormSelectOptions;
|
|
22
|
-
autoCompleteOptions?: IFormAutoCompleteOptions;
|
|
23
|
-
label?: string;
|
|
24
|
-
onInput?: (e: IFormInputEvent) => void;
|
|
25
|
-
onChange?: (e: IFormInputEvent) => void;
|
|
26
|
-
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
27
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement | undefined>;
|
|
28
|
-
}
|
|
29
|
-
export declare const FormInput: (props: IFormInputProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FormInput';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FormLabel';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { FormControl } from './form.models';
|
|
3
|
-
export interface IControls {
|
|
4
|
-
[key: string]: FormControl;
|
|
5
|
-
}
|
|
6
|
-
export interface IFormTextAreaOptions {
|
|
7
|
-
rows?: number;
|
|
8
|
-
resize?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface IFormSelectOptions {
|
|
11
|
-
multiple?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface IFormAutoCompleteOptions {
|
|
14
|
-
openOnFocus?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface IFormInputError {
|
|
17
|
-
validator: string;
|
|
18
|
-
message: string;
|
|
19
|
-
}
|
|
20
|
-
export interface IFormInputOptions {
|
|
21
|
-
id?: string;
|
|
22
|
-
value: string;
|
|
23
|
-
label?: React.ReactNode;
|
|
24
|
-
}
|
|
25
|
-
export interface IFormControlConfig {
|
|
26
|
-
label: string;
|
|
27
|
-
placeholder?: string;
|
|
28
|
-
formControlClassName?: string;
|
|
29
|
-
formGroupClassName?: string;
|
|
30
|
-
labelClassName?: string;
|
|
31
|
-
labelPosition?: string;
|
|
32
|
-
autoFocus?: boolean;
|
|
33
|
-
hint?: string;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
readonly?: boolean;
|
|
36
|
-
options?: IFormInputOptions[];
|
|
37
|
-
textareaOptions?: IFormTextAreaOptions;
|
|
38
|
-
selectOptions?: IFormSelectOptions;
|
|
39
|
-
autoCompleteOptions?: IFormAutoCompleteOptions;
|
|
40
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { IFormControlConfig, IFormInputError } from './form.interfaces';
|
|
2
|
-
import type { IFormControlType } from './form.types';
|
|
3
|
-
export declare class FormControl {
|
|
4
|
-
value: any;
|
|
5
|
-
validators: string[];
|
|
6
|
-
type: IFormControlType;
|
|
7
|
-
config: IFormControlConfig;
|
|
8
|
-
constructor(value: any, validators: string[], type: IFormControlType, config: IFormControlConfig);
|
|
9
|
-
errors: IFormInputError[];
|
|
10
|
-
isValid: boolean;
|
|
11
|
-
isDirty: boolean;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './Form';
|
|
2
|
-
export * from './FormError';
|
|
3
|
-
export * from './FormGroup';
|
|
4
|
-
export * from './FormHint';
|
|
5
|
-
export * from './FormInput';
|
|
6
|
-
export * from './FormLabel';
|
|
7
|
-
export * from './form.models';
|
|
8
|
-
export * from './form.interfaces';
|
|
9
|
-
export * from './form.types';
|
|
10
|
-
export * from './validators';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const EmailValidator: (value: string) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const IsEmptyValidator: (value: string) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const IsEqualValidator: (valueA: unknown, valueB: unknown) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MaxValidator: (val: string, valueB: number) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MinValidator: (val: string, minLength: number) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Column';
|