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,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IContainerProps extends React.ComponentProps<'div'> {
|
|
3
|
-
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
4
|
-
}
|
|
5
|
-
export declare const Row: ({ children, direction, className, ...rest }: IContainerProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Row';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { COLOR } from '../component.enums';
|
|
4
|
-
export interface IIconProps extends ComponentProps<'div'> {
|
|
5
|
-
iconColor?: COLOR;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const Icon: (props: IIconProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Icon';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { COLOR, SIZE, VARIANT } from '../component.enums';
|
|
3
|
-
export interface IIconButtonProps extends React.ComponentProps<'button'> {
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
color?: COLOR;
|
|
6
|
-
size?: SIZE;
|
|
7
|
-
isActive?: boolean;
|
|
8
|
-
variant?: VARIANT;
|
|
9
|
-
shadow?: boolean;
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const IconButton: (props: IIconButtonProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './IconButton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Link';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { COLOR } from '../component.enums';
|
|
3
|
-
export interface IListItemProps extends React.ComponentProps<'li'> {
|
|
4
|
-
color?: COLOR;
|
|
5
|
-
active?: boolean;
|
|
6
|
-
isHoverable?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const ListItem: (props: IListItemProps) => JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IListItemTextProps extends React.ComponentProps<'div'> {
|
|
4
|
-
primary: ReactNode;
|
|
5
|
-
secondary?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const ListItemText: ({ primary, secondary, ...rest }: IListItemTextProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ILoadingIndicatorService {
|
|
2
|
-
show(message: string): void;
|
|
3
|
-
}
|
|
4
|
-
declare class LoadingIndicatorService implements ILoadingIndicatorService {
|
|
5
|
-
private container;
|
|
6
|
-
private handler;
|
|
7
|
-
private root;
|
|
8
|
-
show(): void;
|
|
9
|
-
hide(): void;
|
|
10
|
-
}
|
|
11
|
-
export declare const loadingIndicatorService: LoadingIndicatorService;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { MenuPosition } from './menu.types';
|
|
4
|
-
import type { IListItemProps } from '../List';
|
|
5
|
-
export interface IMenuProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
6
|
-
toggle?: ReactElement;
|
|
7
|
-
open?: boolean;
|
|
8
|
-
children?: ReactElement<IListItemProps> | ReactElement<IListItemProps>[];
|
|
9
|
-
menuPosition?: MenuPosition;
|
|
10
|
-
onClickBackdrop?: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const Menu: (props: IMenuProps) => JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { MenuPosition } from './menu.types';
|
|
4
|
-
import type { IListItemProps } from '../List';
|
|
5
|
-
export interface IMenuBodyProps {
|
|
6
|
-
children?: ReactElement<IListItemProps> | ReactElement<IListItemProps>[];
|
|
7
|
-
className?: string;
|
|
8
|
-
menuPosition?: MenuPosition;
|
|
9
|
-
parentRef: React.RefObject<HTMLDivElement>;
|
|
10
|
-
shadow?: boolean;
|
|
11
|
-
onClickBackdrop?: () => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const MenuBody: (props: IMenuBodyProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type MenuPosition = 'right' | 'left';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import { SIZE } from '../component.enums';
|
|
3
|
-
import type { IControls } from '../Form';
|
|
4
|
-
import { MODALTYPE } from './modal.enum';
|
|
5
|
-
import type { IModalButton } from './modal.interfaces';
|
|
6
|
-
interface IModalProps {
|
|
7
|
-
title?: string;
|
|
8
|
-
description?: string | ReactElement;
|
|
9
|
-
formControls?: IControls;
|
|
10
|
-
modalType?: MODALTYPE;
|
|
11
|
-
onOk: <T>(values?: T) => void;
|
|
12
|
-
onChange?: <T>(values?: T) => void;
|
|
13
|
-
onCancel?: () => void;
|
|
14
|
-
onBackdropClick?: () => void;
|
|
15
|
-
isDismissable?: boolean;
|
|
16
|
-
buttons?: IModalButton[];
|
|
17
|
-
fullScreen?: boolean;
|
|
18
|
-
size?: SIZE;
|
|
19
|
-
}
|
|
20
|
-
export declare const GlobalModal: ({ title, description, formControls, onOk, onChange, onCancel, onBackdropClick, isDismissable, buttons, size, fullScreen }: IModalProps) => JSX.Element;
|
|
21
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import type { SIZE } from '../component.enums';
|
|
3
|
-
export interface IModalProps {
|
|
4
|
-
target?: HTMLElement;
|
|
5
|
-
className?: string;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
header?: string | ReactElement;
|
|
8
|
-
footer?: string | ReactElement;
|
|
9
|
-
onHeaderCloseClick?: () => void;
|
|
10
|
-
onBackdropClick?: () => void;
|
|
11
|
-
isDismissable?: boolean;
|
|
12
|
-
fullScreen?: boolean;
|
|
13
|
-
size?: SIZE;
|
|
14
|
-
}
|
|
15
|
-
export declare const Modal: (props: IModalProps) => JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { COLOR, VARIANT } from '../component.enums';
|
|
2
|
-
import type { MODALBUTTONTYPE } from './modal.enum';
|
|
3
|
-
export interface IModalButton {
|
|
4
|
-
label: string;
|
|
5
|
-
variant?: VARIANT;
|
|
6
|
-
color?: COLOR;
|
|
7
|
-
handler?: () => void;
|
|
8
|
-
autoFocus?: boolean;
|
|
9
|
-
type?: MODALBUTTONTYPE;
|
|
10
|
-
focus?: boolean;
|
|
11
|
-
shadow?: boolean;
|
|
12
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { IControls } from '../Form';
|
|
2
|
-
import type { ReactElement } from 'react';
|
|
3
|
-
import type { IModalButton } from './modal.interfaces';
|
|
4
|
-
import type { SIZE } from '../component.enums';
|
|
5
|
-
export interface IModalService {
|
|
6
|
-
show(title: string, description: string | ReactElement, options?: IModalOptions): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
export interface IModalOptions {
|
|
9
|
-
isDismissable?: boolean;
|
|
10
|
-
buttons?: IModalButton[];
|
|
11
|
-
fullScreen?: boolean;
|
|
12
|
-
size?: SIZE;
|
|
13
|
-
}
|
|
14
|
-
declare class ModalService implements IModalService {
|
|
15
|
-
private container;
|
|
16
|
-
private root;
|
|
17
|
-
show(title: string, description: string | ReactElement, options?: IModalOptions): Promise<void>;
|
|
18
|
-
showForm<T>(title: string, formControls: IControls, options?: IModalOptions): Promise<T>;
|
|
19
|
-
private hide;
|
|
20
|
-
}
|
|
21
|
-
export declare const modalService: ModalService;
|
|
22
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface INumberSelectProps {
|
|
3
|
-
value?: number;
|
|
4
|
-
from?: number;
|
|
5
|
-
to?: number;
|
|
6
|
-
className?: string;
|
|
7
|
-
id?: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
onChange?: (val: number) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const NumberSelect: (props: INumberSelectProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './NumberSelect';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Portal';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { COLOR } from '../component.enums';
|
|
3
|
-
export interface IProgressBarProps extends React.ComponentProps<'div'> {
|
|
4
|
-
className?: string;
|
|
5
|
-
color?: COLOR;
|
|
6
|
-
value?: number;
|
|
7
|
-
indeterminate?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const ProgressBar: (props: IProgressBarProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ProgressBar';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ISelectOption } from '../component.interfaces';
|
|
3
|
-
export interface ISelectProps {
|
|
4
|
-
id?: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
options?: ISelectOption[];
|
|
8
|
-
value?: string | string[];
|
|
9
|
-
multiple?: boolean;
|
|
10
|
-
multipleMaxCountItems?: number;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
readOnly?: boolean;
|
|
13
|
-
onChange?: (val: string | string[]) => void;
|
|
14
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const Select: (props: ISelectProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Select';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ISidebarItem } from './sidebar.interfaces';
|
|
3
|
-
interface ISidebarProps extends React.ComponentProps<'nav'> {
|
|
4
|
-
items: ISidebarItem[];
|
|
5
|
-
currentUrl: string;
|
|
6
|
-
onItemClicked: (path: string) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const Sidebar: (props: ISidebarProps) => JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare class SidebarItemModel {
|
|
2
|
-
id: string;
|
|
3
|
-
label: string;
|
|
4
|
-
path: string;
|
|
5
|
-
icon?: string | undefined;
|
|
6
|
-
isActive?: boolean | undefined;
|
|
7
|
-
items?: SidebarItemModel[] | undefined;
|
|
8
|
-
isCollapsible: boolean;
|
|
9
|
-
isCollapsed: boolean;
|
|
10
|
-
constructor(id: string, label: string, path: string, icon?: string | undefined, isActive?: boolean | undefined, items?: SidebarItemModel[] | undefined, isCollapsible?: boolean, isCollapsed?: boolean);
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { COLOR } from '../component.enums';
|
|
4
|
-
export interface ISnackbarProps extends ComponentProps<'div'> {
|
|
5
|
-
color?: COLOR;
|
|
6
|
-
actionText?: string;
|
|
7
|
-
onOk?: (e: React.MouseEvent) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const Snackbar: (props: ISnackbarProps) => JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { COLOR } from '../component.enums';
|
|
3
|
-
export interface ISnackbarService {
|
|
4
|
-
show(message: React.ReactNode | string, options?: ISnackbarOptions): Promise<void>;
|
|
5
|
-
}
|
|
6
|
-
export interface ISnackbarOptions {
|
|
7
|
-
actionText?: string;
|
|
8
|
-
timeout?: number;
|
|
9
|
-
color?: COLOR;
|
|
10
|
-
target?: HTMLElement;
|
|
11
|
-
}
|
|
12
|
-
declare class SnackbarService implements ISnackbarService {
|
|
13
|
-
private container;
|
|
14
|
-
private handler;
|
|
15
|
-
private root;
|
|
16
|
-
show(message: React.ReactNode | string, options?: ISnackbarOptions): Promise<void>;
|
|
17
|
-
private hide;
|
|
18
|
-
}
|
|
19
|
-
export declare const snackbarService: SnackbarService;
|
|
20
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ISpeedDialProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
3
|
-
onClose?: (e: React.MouseEvent) => void;
|
|
4
|
-
onOpen?: (e: React.MouseEvent) => void;
|
|
5
|
-
open?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const SpeedDial: (props: ISpeedDialProps) => JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { COLOR } from '../component.enums';
|
|
3
|
-
export interface ISpeedDialActionProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
4
|
-
icon: React.ReactNode;
|
|
5
|
-
tooltipTitle?: string;
|
|
6
|
-
color?: COLOR;
|
|
7
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const SpeedDialAction: (props: ISpeedDialActionProps) => JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ISpeedDialIconProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
4
|
-
openIcon?: ReactElement;
|
|
5
|
-
}
|
|
6
|
-
export declare const SpeedDialIcon: (props: ISpeedDialIconProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Dot';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface IStepProps {
|
|
4
|
-
value: string;
|
|
5
|
-
index?: number;
|
|
6
|
-
label?: ReactNode;
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
showLabel?: boolean;
|
|
9
|
-
isActive?: boolean;
|
|
10
|
-
isDone?: boolean;
|
|
11
|
-
isDisabled?: boolean;
|
|
12
|
-
isOptional?: boolean;
|
|
13
|
-
className?: string;
|
|
14
|
-
showProgressCheckIcon?: boolean;
|
|
15
|
-
onClick?: (e: {
|
|
16
|
-
event: React.MouseEvent;
|
|
17
|
-
value: string;
|
|
18
|
-
}) => void;
|
|
19
|
-
}
|
|
20
|
-
export declare const Step: (props: IStepProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Step';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { IStepProps } from './Step';
|
|
3
|
-
export interface IStepperProps {
|
|
4
|
-
children?: ReactElement<IStepProps> | ReactElement<IStepProps>[];
|
|
5
|
-
isLinear?: boolean;
|
|
6
|
-
isDisabled?: boolean;
|
|
7
|
-
showLabel?: boolean;
|
|
8
|
-
showProgressCheckIcon?: boolean;
|
|
9
|
-
isHorizontal?: boolean;
|
|
10
|
-
onChange?: (val: number) => void;
|
|
11
|
-
onFinish?: () => void;
|
|
12
|
-
alternativeLabel?: boolean;
|
|
13
|
-
value?: number;
|
|
14
|
-
isReadonly?: boolean;
|
|
15
|
-
showDoneButton?: boolean;
|
|
16
|
-
showResetButton?: boolean;
|
|
17
|
-
showSteps?: boolean;
|
|
18
|
-
showDots?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare const Stepper: (props: IStepperProps) => JSX.Element;
|