react-asc 25.5.6 → 25.6.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 +4070 -4176
- package/index.js +4069 -4175
- 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 +9 -2
- package/vite.config.d.ts +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
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
|
+
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,6 +1,6 @@
|
|
|
1
|
-
export * from './List';
|
|
2
|
-
export * from './ListItem';
|
|
3
|
-
export * from './ListItemAvatar';
|
|
4
|
-
export * from './ListItemIcon';
|
|
5
|
-
export * from './ListItemAction';
|
|
6
|
-
export * from './ListItemText';
|
|
1
|
+
export * from './List';
|
|
2
|
+
export * from './ListItem';
|
|
3
|
+
export * from './ListItemAvatar';
|
|
4
|
+
export * from './ListItemIcon';
|
|
5
|
+
export * from './ListItemAction';
|
|
6
|
+
export * from './ListItemText';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import type { IListItemProps } from './ListItem';
|
|
3
|
-
export declare class ListItemModel {
|
|
4
|
-
constructor(dto: ReactElement<IListItemProps>);
|
|
5
|
-
key: unknown;
|
|
6
|
-
props: IListItemProps | undefined;
|
|
7
|
-
type: unknown;
|
|
8
|
-
}
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { IListItemProps } from './ListItem';
|
|
3
|
+
export declare class ListItemModel {
|
|
4
|
+
constructor(dto: ReactElement<IListItemProps>);
|
|
5
|
+
key: unknown;
|
|
6
|
+
props: IListItemProps | undefined;
|
|
7
|
+
type: unknown;
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const LoadingIndicator: ({ ...rest }: React.ComponentProps<'div'>) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const LoadingIndicator: ({ ...rest }: React.ComponentProps<'div'>) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ILoadingIndicatorContainerProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
isFixed?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const LoadingIndicatorContainer: ({ children, isFixed }: ILoadingIndicatorContainerProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ILoadingIndicatorContainerProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
isFixed?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const LoadingIndicatorContainer: ({ children, isFixed }: ILoadingIndicatorContainerProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './LoadingIndicator';
|
|
2
|
-
export * from './LoadingIndicatorContainer';
|
|
3
|
-
export * from './loading-indicator.service';
|
|
1
|
+
export * from './LoadingIndicator';
|
|
2
|
+
export * from './LoadingIndicatorContainer';
|
|
3
|
+
export * from './loading-indicator.service';
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
+
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 +1,12 @@
|
|
|
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
|
+
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 +1,13 @@
|
|
|
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
|
+
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,6 +1,6 @@
|
|
|
1
|
-
import type { Context, Dispatch } from 'react';
|
|
2
|
-
export interface IMenuContext {
|
|
3
|
-
isShow: boolean;
|
|
4
|
-
setIsShow: Dispatch<boolean>;
|
|
5
|
-
}
|
|
6
|
-
export declare const MenuContext: Context<IMenuContext>;
|
|
1
|
+
import type { Context, Dispatch } from 'react';
|
|
2
|
+
export interface IMenuContext {
|
|
3
|
+
isShow: boolean;
|
|
4
|
+
setIsShow: Dispatch<boolean>;
|
|
5
|
+
}
|
|
6
|
+
export declare const MenuContext: Context<IMenuContext>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const MenuDivider: () => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const MenuDivider: () => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { IListItemProps } from '../List';
|
|
3
|
-
export declare const MenuItem: (props: IListItemProps) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IListItemProps } from '../List';
|
|
3
|
+
export declare const MenuItem: (props: IListItemProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
interface IMenuToggleProps {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
}
|
|
5
|
-
export declare const MenuToggle: ({ children }: IMenuToggleProps) => ReactNode;
|
|
6
|
-
export {};
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
interface IMenuToggleProps {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare const MenuToggle: ({ children }: IMenuToggleProps) => ReactNode;
|
|
6
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './Menu';
|
|
2
|
-
export * from './MenuBody';
|
|
3
|
-
export * from './MenuItem';
|
|
4
|
-
export * from './MenuToggle';
|
|
5
|
-
export * from './MenuDivider';
|
|
6
|
-
export * from './menu.types';
|
|
1
|
+
export * from './Menu';
|
|
2
|
+
export * from './MenuBody';
|
|
3
|
+
export * from './MenuItem';
|
|
4
|
+
export * from './MenuToggle';
|
|
5
|
+
export * from './MenuDivider';
|
|
6
|
+
export * from './menu.types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type MenuPosition = 'right' | 'left';
|
|
@@ -1,21 +1,21 @@
|
|
|
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
|
+
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 +1,15 @@
|
|
|
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
|
+
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,6 +1,6 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
interface IModalBodyProps {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
}
|
|
5
|
-
export declare const ModalBody: ({ children }: IModalBodyProps) => JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
interface IModalBodyProps {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare const ModalBody: ({ children }: IModalBodyProps) => JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IModalFooterProps extends React.ComponentProps<'div'> {
|
|
3
|
-
shadow?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare const ModalFooter: (props: IModalFooterProps) => JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IModalFooterProps extends React.ComponentProps<'div'> {
|
|
3
|
+
shadow?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const ModalFooter: (props: IModalFooterProps) => JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IModalHeaderProps extends React.ComponentProps<'div'> {
|
|
3
|
-
onClose?: () => void;
|
|
4
|
-
isDismissable?: boolean;
|
|
5
|
-
shadow?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const ModalHeader: (props: IModalHeaderProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IModalHeaderProps extends React.ComponentProps<'div'> {
|
|
3
|
+
onClose?: () => void;
|
|
4
|
+
isDismissable?: boolean;
|
|
5
|
+
shadow?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const ModalHeader: (props: IModalHeaderProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './Modal';
|
|
2
|
-
export * from './ModalBody';
|
|
3
|
-
export * from './ModalFooter';
|
|
4
|
-
export * from './ModalHeader';
|
|
5
|
-
export * from './modal.service';
|
|
6
|
-
export * from './GlobalModal';
|
|
7
|
-
export * from './modal.enum';
|
|
8
|
-
export * from './modal.interfaces';
|
|
1
|
+
export * from './Modal';
|
|
2
|
+
export * from './ModalBody';
|
|
3
|
+
export * from './ModalFooter';
|
|
4
|
+
export * from './ModalHeader';
|
|
5
|
+
export * from './modal.service';
|
|
6
|
+
export * from './GlobalModal';
|
|
7
|
+
export * from './modal.enum';
|
|
8
|
+
export * from './modal.interfaces';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare enum MODALTYPE {
|
|
2
|
-
BASIC = "BASIC",
|
|
3
|
-
FORM = "FORM"
|
|
4
|
-
}
|
|
5
|
-
export declare enum MODALBUTTONTYPE {
|
|
6
|
-
OK = "OK",
|
|
7
|
-
CANCEL = "CANCEL",
|
|
8
|
-
RESET = "RESET",
|
|
9
|
-
DEFAULT = "DEFAULT"
|
|
10
|
-
}
|
|
1
|
+
export declare enum MODALTYPE {
|
|
2
|
+
BASIC = "BASIC",
|
|
3
|
+
FORM = "FORM"
|
|
4
|
+
}
|
|
5
|
+
export declare enum MODALBUTTONTYPE {
|
|
6
|
+
OK = "OK",
|
|
7
|
+
CANCEL = "CANCEL",
|
|
8
|
+
RESET = "RESET",
|
|
9
|
+
DEFAULT = "DEFAULT"
|
|
10
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
+
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 +1,22 @@
|
|
|
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
|
+
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 +1,12 @@
|
|
|
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
|
+
/// <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 +1 @@
|
|
|
1
|
-
export * from './NumberSelect';
|
|
1
|
+
export * from './NumberSelect';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IPortalProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
target?: HTMLElement;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const Portal: ({ children, target, className }: IPortalProps) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IPortalProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
target?: HTMLElement;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Portal: ({ children, target, className }: IPortalProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Portal';
|
|
1
|
+
export * from './Portal';
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
+
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 +1 @@
|
|
|
1
|
-
export * from './ProgressBar';
|
|
1
|
+
export * from './ProgressBar';
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
+
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 +1 @@
|
|
|
1
|
-
export * from './Select';
|
|
1
|
+
export * from './Select';
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
+
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,2 +1,2 @@
|
|
|
1
|
-
export * from './Sidebar';
|
|
2
|
-
export * from './sidebar.interfaces';
|
|
1
|
+
export * from './Sidebar';
|
|
2
|
+
export * from './sidebar.interfaces';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface ISidebarItem {
|
|
2
|
-
id: string;
|
|
3
|
-
path: string;
|
|
4
|
-
label: string;
|
|
5
|
-
icon?: string;
|
|
6
|
-
items?: ISidebarItem[];
|
|
7
|
-
isCollapsible?: boolean;
|
|
8
|
-
isCollapsed?: boolean;
|
|
9
|
-
}
|
|
1
|
+
export interface ISidebarItem {
|
|
2
|
+
id: string;
|
|
3
|
+
path: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
items?: ISidebarItem[];
|
|
7
|
+
isCollapsible?: boolean;
|
|
8
|
+
isCollapsed?: boolean;
|
|
9
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
+
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
|
+
}
|