sevago-sso-fe 1.0.55 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +252 -23
- package/dist/common/constant/apps.data.d.ts +19 -0
- package/dist/common/constant/color.constant.d.ts +40 -0
- package/dist/common/constant/hierarchical.constant.d.ts +8 -0
- package/dist/common/constant/index.d.ts +4 -2
- package/dist/common/enums/app-category.enum.d.ts +6 -0
- package/dist/common/index.d.ts +1 -0
- package/dist/common/interfaces/image-with-preview.interface.d.ts +3 -0
- package/dist/common/interfaces/index.d.ts +1 -0
- package/dist/common/utils/index.d.ts +1 -3
- package/dist/common/utils/other/hierarchical.utils.d.ts +1 -0
- package/dist/common/utils/validator.utils.d.ts +2 -0
- package/dist/components/app-grid/app-grid.component.d.ts +1 -3
- package/dist/components/banner/banner.component.d.ts +5 -0
- package/dist/components/banner/index.d.ts +1 -0
- package/dist/components/bread-cumbs/bread-cumbs.d.ts +9 -0
- package/dist/components/bread-cumbs/index.d.ts +1 -0
- package/dist/components/elements/avatar/avatar-online-status.element.d.ts +12 -0
- package/dist/components/elements/avatar/avatar-user-info.element.d.ts +14 -0
- package/dist/components/elements/avatar/avatar.element.d.ts +9 -0
- package/dist/components/elements/avatar/index.d.ts +3 -0
- package/dist/components/elements/button/button-icon-circle.element.d.ts +5 -0
- package/dist/components/elements/button/button-icon-content-opacity.element.d.ts +9 -0
- package/dist/components/elements/button/button-icon-square.element.d.ts +7 -0
- package/dist/components/elements/button/button-icon.element.d.ts +6 -0
- package/dist/components/elements/button/button-image.element.d.ts +10 -0
- package/dist/components/elements/button/button-upload-file.element.d.ts +9 -0
- package/dist/components/elements/button/button.element.d.ts +10 -0
- package/dist/components/elements/button/index.d.ts +7 -0
- package/dist/components/elements/check-box/check-box.element.d.ts +8 -0
- package/dist/components/elements/check-box/index.d.ts +1 -0
- package/dist/components/elements/dialog/dialog-confirm-action.element.d.ts +16 -0
- package/dist/components/elements/dialog/dialog.element.d.ts +30 -0
- package/dist/components/elements/dialog/index.d.ts +2 -0
- package/dist/components/elements/divider/dashed-divider.element.d.ts +11 -0
- package/dist/components/elements/divider/index.d.ts +1 -0
- package/dist/components/elements/icon/icon-button.element.d.ts +10 -0
- package/dist/components/elements/icon/icon-content-badge-count-subs.element.d.ts +9 -0
- package/dist/components/elements/icon/icon-content-badge-count.element.d.ts +10 -0
- package/dist/components/elements/icon/icon-content-opacity.element.d.ts +10 -0
- package/dist/components/elements/icon/icon-content-subs.element.d.ts +8 -0
- package/dist/components/elements/icon/icon-content.element.d.ts +15 -0
- package/dist/components/elements/icon/index.d.ts +6 -0
- package/dist/components/elements/image/image-content-caption.component.d.ts +15 -0
- package/dist/components/elements/image/image-name-time.component.d.ts +9 -0
- package/dist/components/elements/image/image.element.d.ts +1 -1
- package/dist/components/elements/image/index.d.ts +2 -0
- package/dist/components/elements/index.d.ts +12 -4
- package/dist/components/elements/link/index.d.ts +2 -0
- package/dist/components/elements/link/link-internal.element.d.ts +8 -0
- package/dist/components/elements/link/link.element.d.ts +7 -0
- package/dist/components/elements/pagination/index.d.ts +1 -0
- package/dist/components/elements/pagination/pagination.element.d.ts +14 -0
- package/dist/components/elements/radio/index.d.ts +1 -0
- package/dist/components/elements/radio/radio-group.element.d.ts +16 -0
- package/dist/components/elements/switch/index.d.ts +2 -0
- package/dist/components/elements/switch/switch-content.element.d.ts +10 -0
- package/dist/components/elements/switch/switch.element.d.ts +7 -0
- package/dist/components/elements/tabs/index.d.ts +5 -0
- package/dist/components/elements/tabs/tabs-badge-count-subs.component.d.ts +17 -0
- package/dist/components/elements/tabs/tabs-badge-count.component.d.ts +13 -0
- package/dist/components/elements/tabs/tabs-subs.component.d.ts +16 -0
- package/dist/components/elements/tabs/tabs.component.d.ts +21 -0
- package/dist/components/elements/tabs/tabs.constant.d.ts +21 -0
- package/dist/components/elements/tag/index.d.ts +2 -0
- package/dist/components/elements/tag/tag-on-click.element.d.ts +8 -0
- package/dist/components/elements/tag/tag.element.d.ts +18 -0
- package/dist/components/elements/text-field/index.d.ts +1 -0
- package/dist/components/elements/text-field/text-field-date.element.d.ts +0 -0
- package/dist/components/elements/text-field/text-field-label.element.d.ts +9 -0
- package/dist/components/elements/text-field/text-field-month-year.element.d.ts +0 -0
- package/dist/components/elements/text-field/text-field-number.element.d.ts +0 -0
- package/dist/components/elements/text-field/text-field-search-custom.element.d.ts +9 -0
- package/dist/components/elements/text-field/text-field-search.element.d.ts +9 -0
- package/dist/components/elements/text-field/text-field-select-search-object.element.d.ts +0 -0
- package/dist/components/elements/text-field/text-field-select-search.element.d.ts +0 -0
- package/dist/components/elements/text-field/text-field.element.d.ts +13 -0
- package/dist/components/elements/text-field/text-highlight.element.d.ts +3 -0
- package/dist/components/elements/time-ago/index.d.ts +2 -0
- package/dist/components/elements/time-ago/time-ago-content.component.d.ts +7 -0
- package/dist/components/elements/time-ago/time-ago.component.d.ts +6 -0
- package/dist/components/elements/tooltip/index.d.ts +2 -0
- package/dist/components/elements/tooltip/tooltip-on-click.element.d.ts +7 -0
- package/dist/components/elements/tooltip/tooltip-on-hover.element.d.ts +9 -0
- package/dist/components/elements/typography/index.d.ts +1 -0
- package/dist/components/elements/typography/typography-content-caption.component.d.ts +1 -0
- package/dist/components/elements/typography/typography-grid-info-row.component.d.ts +14 -0
- package/dist/components/elements/typography/typography-info-row.component.d.ts +11 -0
- package/dist/components/elements/typography/typography-info-user.component.d.ts +19 -0
- package/dist/components/elements/typography/typography-limit-one-line.component.d.ts +7 -0
- package/dist/components/elements/wrapper/index.d.ts +3 -0
- package/dist/components/elements/wrapper/wrapper-chart.element.d.ts +9 -0
- package/dist/components/elements/wrapper/wrapper-content.element.d.ts +18 -0
- package/dist/components/elements/wrapper/wrapper.element.d.ts +23 -0
- package/dist/components/index.d.ts +5 -2
- package/dist/components/loading/index.d.ts +1 -0
- package/dist/components/loading/loading.component.d.ts +7 -0
- package/dist/components/sidebar/apps-sidebar.component.d.ts +2 -0
- package/dist/components/sidebar/system-monitor-sidebar.part.d.ts +2 -0
- package/dist/components/system-monitor/system-monitor.screen.d.ts +2 -0
- package/dist/index.cjs.js +4284 -1251
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4123 -1090
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/common/utils/string.utils.d.ts +0 -10
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AvatarProps } from '@mui/material';
|
|
2
|
+
import { default as React, ReactNode } from 'react';
|
|
3
|
+
import { SizeProps } from '../../../common';
|
|
4
|
+
export interface AvatarElementProps extends AvatarProps {
|
|
5
|
+
url?: string | null;
|
|
6
|
+
size?: SizeProps;
|
|
7
|
+
tooltipContent?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const AvatarElement: React.FC<AvatarElementProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface ButtonIconContentOpacityElementProps extends ButtonProps {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
icon: string;
|
|
6
|
+
content: any;
|
|
7
|
+
isQuare?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const ButtonIconContentOpacityElement: React.FC<ButtonIconContentOpacityElementProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface ButtonIconSquareElementProps extends ButtonProps {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
icon: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const ButtonIconSquareElement: React.FC<ButtonIconSquareElementProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ButtonProps, SxProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface ButtonImageElementProps extends ButtonProps {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
startIcon?: string;
|
|
6
|
+
endIcon?: string;
|
|
7
|
+
content: string;
|
|
8
|
+
sx?: SxProps;
|
|
9
|
+
}
|
|
10
|
+
export declare const ButtonImageElement: React.FC<ButtonImageElementProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { FileWithPreview } from '../../../common/interfaces/image-with-preview.interface';
|
|
4
|
+
export interface ButtonUploadFileElementProps extends Omit<ButtonProps, "onChange"> {
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
onChange: (files: FileWithPreview[]) => void;
|
|
7
|
+
accept?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const ButtonUploadFileElement: React.FC<ButtonUploadFileElementProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface ButtonElementProps extends ButtonProps {
|
|
4
|
+
content?: string;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
startIcon?: string | React.ReactNode;
|
|
7
|
+
endIcon?: string | React.ReactNode;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const ButtonElement: React.FC<ButtonElementProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { ButtonIconCircleElement } from './button-icon-circle.element';
|
|
2
|
+
export { ButtonIconContentOpacityElement } from './button-icon-content-opacity.element';
|
|
3
|
+
export { ButtonIconSquareElement } from './button-icon-square.element';
|
|
4
|
+
export { ButtonIconElement } from './button-icon.element';
|
|
5
|
+
export { ButtonImageElement } from './button-image.element';
|
|
6
|
+
export { ButtonUploadFileElement } from './button-upload-file.element';
|
|
7
|
+
export { ButtonElement } from './button.element';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CheckboxProps, SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface CheckboxElementProps extends CheckboxProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
sx?: SxProps<Theme>;
|
|
6
|
+
name?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const CheckboxElement: React.FC<CheckboxElementProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CheckboxElement } from './check-box.element';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SnackbarType } from '../../../common';
|
|
3
|
+
interface DialogConfirmActionElementProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
closeText?: string;
|
|
8
|
+
confirmText?: string;
|
|
9
|
+
confirmColor?: SnackbarType;
|
|
10
|
+
closeColor?: SnackbarType;
|
|
11
|
+
onClose: () => void;
|
|
12
|
+
onConfirm: () => void;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const DialogConfirmActionElement: React.FC<DialogConfirmActionElementProps>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DialogProps, SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React, ReactNode } from 'react';
|
|
3
|
+
import { SnackbarType } from '../../../common';
|
|
4
|
+
import { ButtonElementProps } from '../button/button.element';
|
|
5
|
+
export interface DialogElementProps extends DialogProps {
|
|
6
|
+
iconLabel?: string;
|
|
7
|
+
label: string;
|
|
8
|
+
nodeLabel?: ReactNode;
|
|
9
|
+
nodeHelp?: ReactNode;
|
|
10
|
+
nodeBottomLeft?: ReactNode;
|
|
11
|
+
buttonRight?: ButtonElementProps & {
|
|
12
|
+
buttonType?: SnackbarType;
|
|
13
|
+
};
|
|
14
|
+
buttonCenter?: ButtonElementProps & {
|
|
15
|
+
buttonType?: SnackbarType;
|
|
16
|
+
};
|
|
17
|
+
buttonLeft?: ButtonElementProps & {
|
|
18
|
+
buttonType?: SnackbarType;
|
|
19
|
+
};
|
|
20
|
+
nodeContent?: ReactNode;
|
|
21
|
+
isForm?: boolean;
|
|
22
|
+
widthButton?: number;
|
|
23
|
+
sxDialogTitle?: SxProps<Theme>;
|
|
24
|
+
sxContent?: SxProps<Theme>;
|
|
25
|
+
closeButton?: boolean;
|
|
26
|
+
fullWidth?: boolean;
|
|
27
|
+
sxTitle?: SxProps<Theme>;
|
|
28
|
+
sxBottom?: SxProps<Theme>;
|
|
29
|
+
}
|
|
30
|
+
export declare const DialogElement: React.FC<DialogElementProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface DashedDividerElementProps {
|
|
3
|
+
orientation?: "horizontal" | "vertical";
|
|
4
|
+
color?: string;
|
|
5
|
+
thickness?: number;
|
|
6
|
+
length?: string | number;
|
|
7
|
+
sx?: any;
|
|
8
|
+
dashed?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const DashedDividerElement: React.FC<DashedDividerElementProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DashedDividerElement } from './dashed-divider.element';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
interface IconButtonElementProps {
|
|
4
|
+
icon: string;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
sx?: SxProps;
|
|
7
|
+
size?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const IconButtonElement: React.FC<IconButtonElementProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TabBadgeCount } from '../tabs/tabs-badge-count.component';
|
|
3
|
+
import { IconContentElementProps } from './icon-content.element';
|
|
4
|
+
export interface IconContentBadgeCountSubsElementProps extends IconContentElementProps {
|
|
5
|
+
subs: TabBadgeCount[];
|
|
6
|
+
idSubSelect?: string;
|
|
7
|
+
badgeCount: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const IconContentBadgeCountSubsElement: React.FC<IconContentBadgeCountSubsElementProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { Theme } from '@emotion/react';
|
|
4
|
+
import { IconContentElementProps } from './icon-content.element';
|
|
5
|
+
export interface IconContentBadgeCountElementProps extends IconContentElementProps {
|
|
6
|
+
badgeCount: number;
|
|
7
|
+
sxBadge?: SxProps<Theme>;
|
|
8
|
+
isAddCountToContent?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const IconContentBadgeCountElement: React.FC<IconContentBadgeCountElementProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface IconContentOpacityElementProps {
|
|
4
|
+
icon: string;
|
|
5
|
+
content?: any;
|
|
6
|
+
color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | any;
|
|
7
|
+
onClick: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
8
|
+
sx?: SxProps<Theme>;
|
|
9
|
+
}
|
|
10
|
+
export declare const IconContentOpacityElement: React.FC<IconContentOpacityElementProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TabComponent } from '../tabs/tabs.component';
|
|
3
|
+
import { IconContentElementProps } from './icon-content.element';
|
|
4
|
+
export interface IconContentSubsElementProps extends IconContentElementProps {
|
|
5
|
+
subs: TabComponent[];
|
|
6
|
+
idSubSelect?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const IconContentSubsElement: React.FC<IconContentSubsElementProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { IconElementProps } from './icon.element';
|
|
4
|
+
export interface IconContentElementProps extends IconElementProps {
|
|
5
|
+
content: any;
|
|
6
|
+
size?: "large" | "small" | "medium";
|
|
7
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
8
|
+
sx?: SxProps<Theme>;
|
|
9
|
+
sxIcon?: SxProps<Theme>;
|
|
10
|
+
sxText?: SxProps<Theme>;
|
|
11
|
+
applyCssOnClick?: boolean;
|
|
12
|
+
id?: string;
|
|
13
|
+
isNowrap?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const IconContentElement: React.FC<IconContentElementProps>;
|
|
@@ -1 +1,7 @@
|
|
|
1
1
|
export { IconElement } from './icon.element';
|
|
2
|
+
export { IconContentElement } from './icon-content.element';
|
|
3
|
+
export { IconContentBadgeCountElement } from './icon-content-badge-count.element';
|
|
4
|
+
export { IconContentBadgeCountSubsElement } from './icon-content-badge-count-subs.element';
|
|
5
|
+
export { IconButtonElement } from './icon-button.element';
|
|
6
|
+
export { IconContentSubsElement } from './icon-content-subs.element';
|
|
7
|
+
export { IconContentOpacityElement } from './icon-content-opacity.element';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SxProps } from '@mui/system';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { SizeProps } from '../../../common';
|
|
4
|
+
export interface ImageContentCaptionComponentProps {
|
|
5
|
+
url?: string;
|
|
6
|
+
content?: string;
|
|
7
|
+
caption?: string;
|
|
8
|
+
sizeType?: SizeProps;
|
|
9
|
+
sx?: SxProps;
|
|
10
|
+
sxContent?: SxProps;
|
|
11
|
+
sxCaption?: SxProps;
|
|
12
|
+
alt?: string;
|
|
13
|
+
userTitleName?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const ImageContentCaptionComponent: React.FC<ImageContentCaptionComponentProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SizeProps } from '../../../common';
|
|
3
|
+
export interface ImageContentTimeComponentProps {
|
|
4
|
+
url: string;
|
|
5
|
+
content: string;
|
|
6
|
+
time: Date;
|
|
7
|
+
sizeType?: SizeProps;
|
|
8
|
+
}
|
|
9
|
+
export declare const ImageContentTimeComponent: React.FC<ImageContentTimeComponentProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BoxProps } from '@mui/material';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
+
import { SizeProps } from '../../../common';
|
|
3
4
|
import { ImageSizeType } from './image.enum';
|
|
4
|
-
import { SizeProps } from '../../../common/constant/apps.data';
|
|
5
5
|
export interface ImageElementProps extends BoxProps {
|
|
6
6
|
url: string;
|
|
7
7
|
isBorder?: boolean;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export * from './avatar';
|
|
2
|
+
export * from './button';
|
|
3
|
+
export * from './check-box';
|
|
4
|
+
export * from './dialog';
|
|
5
|
+
export * from './divider';
|
|
6
|
+
export * from './icon';
|
|
7
|
+
export * from './image';
|
|
8
|
+
export * from './link';
|
|
9
|
+
export * from './radio';
|
|
10
|
+
export * from './tabs';
|
|
11
|
+
export * from './time-ago';
|
|
12
|
+
export * from './typography';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface LinkInternalElementProps {
|
|
4
|
+
content: string;
|
|
5
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
|
+
sx?: SxProps<Theme>;
|
|
7
|
+
}
|
|
8
|
+
export declare const LinkInternalElement: React.FC<LinkInternalElementProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PaginationElement } from './pagination.element';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface PaginationElementProps {
|
|
4
|
+
total?: number;
|
|
5
|
+
page: number;
|
|
6
|
+
take: number;
|
|
7
|
+
openRowsPerPage?: boolean;
|
|
8
|
+
onChange: (pagination: {
|
|
9
|
+
page: number;
|
|
10
|
+
take: number;
|
|
11
|
+
}) => void;
|
|
12
|
+
sx?: SxProps<Theme>;
|
|
13
|
+
}
|
|
14
|
+
export declare const PaginationElement: React.FC<PaginationElementProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React, ReactNode } from 'react';
|
|
3
|
+
export interface RadioGroupElementProps {
|
|
4
|
+
name?: string;
|
|
5
|
+
direction?: "row" | "column";
|
|
6
|
+
label?: string;
|
|
7
|
+
iconLabel?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
defaultValue?: any;
|
|
10
|
+
value?: any;
|
|
11
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
sx?: SxProps<Theme>;
|
|
15
|
+
}
|
|
16
|
+
export declare const RadioGroupElement: React.FC<RadioGroupElementProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface SwitchContentElementProps {
|
|
4
|
+
name?: string;
|
|
5
|
+
content: string;
|
|
6
|
+
value?: boolean;
|
|
7
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
|
|
8
|
+
sx?: SxProps<Theme>;
|
|
9
|
+
}
|
|
10
|
+
export declare const SwitchContentElement: React.FC<SwitchContentElementProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { TabsBadgeCountSubsComponent } from './tabs-badge-count-subs.component';
|
|
2
|
+
export { TabsBadgeCountComponent } from './tabs-badge-count.component';
|
|
3
|
+
export { TabsSubsComponent } from './tabs-subs.component';
|
|
4
|
+
export { TabsComponent } from './tabs.component';
|
|
5
|
+
export { TAB_BACKGROUND_STYLES, TAB_STYLES } from './tabs.constant';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TabBadgeCount } from './tabs-badge-count.component';
|
|
3
|
+
export interface TabBadgeCountSubs {
|
|
4
|
+
id?: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
name: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
href?: string;
|
|
9
|
+
subs?: TabBadgeCount[];
|
|
10
|
+
badgeCount: number;
|
|
11
|
+
}
|
|
12
|
+
export interface TabsBadgeCountSubsComponentProps {
|
|
13
|
+
idSelect?: string;
|
|
14
|
+
tabs: TabBadgeCountSubs[];
|
|
15
|
+
size?: "large" | "small" | "medium";
|
|
16
|
+
}
|
|
17
|
+
export declare const TabsBadgeCountSubsComponent: React.FC<TabsBadgeCountSubsComponentProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TabComponent } from './tabs.component';
|
|
3
|
+
export interface TabBadgeCount extends TabComponent {
|
|
4
|
+
badgeCount: number;
|
|
5
|
+
}
|
|
6
|
+
export interface TabsBadgeCountComponentProps {
|
|
7
|
+
idSelect?: string;
|
|
8
|
+
tabs: TabBadgeCount[];
|
|
9
|
+
size?: "large" | "small" | "medium";
|
|
10
|
+
direction?: "column" | "row";
|
|
11
|
+
isSubs?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const TabsBadgeCountComponent: React.FC<TabsBadgeCountComponentProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TabComponent } from './tabs.component';
|
|
3
|
+
export interface TabSubs {
|
|
4
|
+
id?: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
name: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
href?: string;
|
|
9
|
+
subs?: TabComponent[];
|
|
10
|
+
}
|
|
11
|
+
export interface TabsSubsComponentProps {
|
|
12
|
+
idSelect?: string;
|
|
13
|
+
tabs: TabSubs[];
|
|
14
|
+
size?: "large" | "small" | "medium";
|
|
15
|
+
}
|
|
16
|
+
export declare const TabsSubsComponent: React.FC<TabsSubsComponentProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface TabComponent {
|
|
4
|
+
id: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
href?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface TabsComponentProps {
|
|
11
|
+
idSelect?: string;
|
|
12
|
+
tabs: TabComponent[];
|
|
13
|
+
size?: "large" | "small" | "medium";
|
|
14
|
+
direction?: "column" | "row";
|
|
15
|
+
variant?: "contained" | "outlined";
|
|
16
|
+
onChange?: (newValue: string) => void;
|
|
17
|
+
sx?: SxProps;
|
|
18
|
+
sxTabs?: SxProps;
|
|
19
|
+
sxWrapper?: SxProps;
|
|
20
|
+
}
|
|
21
|
+
export declare const TabsComponent: React.FC<TabsComponentProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Theme } from '@emotion/react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { default as React } from 'react';
|
|
4
|
+
interface StyledTabsProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
value: number;
|
|
7
|
+
onChange: (event: React.SyntheticEvent, newValue: number) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const StyledTabs: import('@emotion/styled').StyledComponent<StyledTabsProps & {
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export declare const StyledTab: import('@emotion/styled').StyledComponent<{
|
|
13
|
+
label: string;
|
|
14
|
+
sx?: SxProps;
|
|
15
|
+
icon?: string;
|
|
16
|
+
} & {
|
|
17
|
+
theme?: Theme;
|
|
18
|
+
}, {}, {}>;
|
|
19
|
+
export declare const TAB_STYLES: SxProps<Theme>;
|
|
20
|
+
export declare const TAB_BACKGROUND_STYLES: SxProps<Theme>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface TagOnClickElementProps {
|
|
3
|
+
content: string;
|
|
4
|
+
active: boolean;
|
|
5
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
|
+
size?: "small" | "medium";
|
|
7
|
+
}
|
|
8
|
+
export declare const TagOnClickElement: React.FC<TagOnClickElementProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export type TagType = "success" | "warning" | "info" | "secondary" | "primary" | "error";
|
|
4
|
+
export type TagSize = "large" | "medium" | "small";
|
|
5
|
+
export type TagVariant = "contained" | "outlined" | "outlined-border";
|
|
6
|
+
export declare const lightenColor: (hex: string, percent: number) => string;
|
|
7
|
+
export interface TagElementProps {
|
|
8
|
+
type: string;
|
|
9
|
+
content: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
sx?: SxProps<Theme>;
|
|
12
|
+
variation?: "body1" | "caption";
|
|
13
|
+
variant?: TagVariant;
|
|
14
|
+
size?: TagSize;
|
|
15
|
+
color?: string;
|
|
16
|
+
iconProps?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export declare const TagElement: React.FC<TagElementProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './text-highlight.element';
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface TextFieldLabelElementProps {
|
|
3
|
+
label?: string | React.ReactNode;
|
|
4
|
+
iconLabel?: string;
|
|
5
|
+
colorLabel?: string;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const TextFieldLabelElement: React.FC<TextFieldLabelElementProps>;
|
|
9
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseTextFieldProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface TextFieldSearchCustomElementProps extends BaseTextFieldProps {
|
|
4
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
|
|
5
|
+
label?: string;
|
|
6
|
+
iconLabel?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const TextFieldSearchCustomElement: React.FC<TextFieldSearchCustomElementProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseTextFieldProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface TextFieldSearchElementProps extends BaseTextFieldProps {
|
|
4
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
|
|
5
|
+
label?: string;
|
|
6
|
+
iconLabel?: string;
|
|
7
|
+
searchIcon?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const TextFieldSearchElement: React.FC<TextFieldSearchElementProps>;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TextFieldProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface TextFieldElementProps extends Omit<TextFieldProps, ""> {
|
|
4
|
+
iconLabel?: string;
|
|
5
|
+
error?: any;
|
|
6
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
|
|
7
|
+
InputProps?: TextFieldProps["InputProps"];
|
|
8
|
+
colorLabel?: string;
|
|
9
|
+
description?: string | null;
|
|
10
|
+
showResetButton?: boolean;
|
|
11
|
+
onReset?: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const TextFieldElement: React.FC<TextFieldElementProps>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const highlightText: (text: string, searchTerm: string) => React.ReactNode;
|
|
3
|
+
export declare const highlightYellow: (text: string | React.ReactNode, highlightQuery: string, showEmptyAsDots: boolean) => string | number | bigint | true | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element;
|