sevago-sso-fe 1.0.57 → 1.0.58

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.
Files changed (67) hide show
  1. package/dist/common/constant/apps.data.d.ts +1 -1
  2. package/dist/common/constant/index.d.ts +2 -0
  3. package/dist/common/constant/tree.constant.d.ts +19 -0
  4. package/dist/common/constant/typography.constant.d.ts +1 -1
  5. package/dist/common/utils/index.d.ts +1 -0
  6. package/dist/common/utils/other/get-limit-line-css.utils.d.ts +0 -1
  7. package/dist/common/utils/other/index.d.ts +2 -1
  8. package/dist/common/utils/string.utils.d.ts +11 -0
  9. package/dist/components/app-grid/app-grid.component.d.ts +2 -2
  10. package/dist/components/elements/avatar/avatar-online-status.element.d.ts +1 -1
  11. package/dist/components/elements/button/button-upload-file.element.d.ts +1 -1
  12. package/dist/components/elements/divider/dashed-divider.element.d.ts +1 -1
  13. package/dist/components/elements/icon/icon-content-opacity.element.d.ts +1 -1
  14. package/dist/components/elements/icon/icon-content.element.d.ts +1 -1
  15. package/dist/components/elements/icon/icon.element.d.ts +1 -1
  16. package/dist/components/elements/icon/index.d.ts +5 -5
  17. package/dist/components/elements/index.d.ts +7 -0
  18. package/dist/components/elements/radio/index.d.ts +1 -1
  19. package/dist/components/elements/radio/radio-group.element.d.ts +1 -1
  20. package/dist/components/elements/switch/index.d.ts +1 -1
  21. package/dist/components/elements/tabs/tabs-badge-count-subs.component.d.ts +1 -1
  22. package/dist/components/elements/tabs/tabs-badge-count.component.d.ts +2 -2
  23. package/dist/components/elements/tabs/tabs-subs.component.d.ts +1 -1
  24. package/dist/components/elements/tabs/tabs.component.d.ts +3 -3
  25. package/dist/components/elements/tag/index.d.ts +1 -1
  26. package/dist/components/elements/tag/tag-on-click.element.d.ts +1 -1
  27. package/dist/components/elements/tag/tag.element.d.ts +4 -4
  28. package/dist/components/elements/text-field/index.d.ts +8 -0
  29. package/dist/components/elements/text-field/text-field-date.element.d.ts +21 -0
  30. package/dist/components/elements/text-field/text-field-number.element.d.ts +19 -0
  31. package/dist/components/elements/text-field/text-field-select-search-object.element.d.ts +26 -0
  32. package/dist/components/elements/text-field/text-field-select-search.element.d.ts +21 -0
  33. package/dist/components/elements/text-field/text-field.element.d.ts +2 -2
  34. package/dist/components/elements/tooltip/tooltip-on-click.element.d.ts +1 -1
  35. package/dist/components/elements/typography/index.d.ts +4 -1
  36. package/dist/components/elements/typography/typography-grid-info-row.component.d.ts +3 -3
  37. package/dist/components/elements/typography/typography-info-user.component.d.ts +2 -2
  38. package/dist/components/elements/user/index.d.ts +1 -0
  39. package/dist/components/elements/user/user-info.element.d.ts +9 -0
  40. package/dist/components/empty/empty.component.d.ts +4 -0
  41. package/dist/components/empty/index.d.ts +1 -0
  42. package/dist/components/index.d.ts +6 -0
  43. package/dist/components/layouts/default.layout.d.ts +5 -0
  44. package/dist/components/layouts/index.d.ts +1 -0
  45. package/dist/components/loading/loading.component.d.ts +1 -1
  46. package/dist/components/logo/index.d.ts +1 -0
  47. package/dist/components/logo/logo.component.d.ts +9 -0
  48. package/dist/components/motion/motion-box.component.d.ts +2 -2
  49. package/dist/components/note/index.d.ts +1 -0
  50. package/dist/components/note/note.component.d.ts +8 -0
  51. package/dist/components/price/index.d.ts +1 -0
  52. package/dist/components/price/price.component.d.ts +14 -0
  53. package/dist/components/review/index.d.ts +1 -0
  54. package/dist/components/review/review.component.d.ts +9 -0
  55. package/dist/components/sidebar/apps-sidebar.component.d.ts +1 -1
  56. package/dist/components/sidebar/system-monitor-sidebar.part.d.ts +2 -3
  57. package/dist/components/styles/image.style.d.ts +3 -0
  58. package/dist/components/styles/index.d.ts +5 -0
  59. package/dist/components/styles/input.style.d.ts +1 -0
  60. package/dist/components/styles/link.style.d.ts +1 -0
  61. package/dist/components/styles/paper.style.d.ts +7 -0
  62. package/dist/components/styles/picker.style.d.ts +47 -0
  63. package/dist/index.cjs.js +33732 -1051
  64. package/dist/index.cjs.js.map +1 -1
  65. package/dist/index.esm.js +33817 -1136
  66. package/dist/index.esm.js.map +1 -1
  67. package/package.json +9 -3
@@ -240,7 +240,7 @@ export declare const APP_OBJ: {
240
240
  };
241
241
  };
242
242
  export declare const SIZE_EXTRA_LARGE = 36;
243
- export type SizeProps = "extra_small" | "small" | "medium" | "large" | "extra_large" | "avatar_group";
243
+ export type SizeProps = 'extra_small' | 'small' | 'medium' | 'large' | 'extra_large' | 'avatar_group';
244
244
  export declare const MAP_SIZE: Record<string, {
245
245
  width: number;
246
246
  height: number;
@@ -1,8 +1,10 @@
1
1
  export * from './apps.data';
2
2
  export * from './color.constant';
3
3
  export * from './icons.constant';
4
+ export * from './hierarchical.constant';
4
5
  export * from './mode.constant';
5
6
  export * from './opacity.constant';
6
7
  export * from './reg-exp.constant';
7
8
  export * as STYLE from './style.constant';
9
+ export * from './tree.constant';
8
10
  export * from './typography.constant';
@@ -0,0 +1,19 @@
1
+ export declare const TREE_COLOR: {
2
+ TREE_LEVEL_1: string;
3
+ TREE_LEVEL_2: string;
4
+ TREE_LEVEL_3: string;
5
+ TREE_LEVEL_4: string;
6
+ };
7
+ export declare const TREE_LINE_COLOR = "#176B5A";
8
+ export declare const BORDER_COLOR: {
9
+ RED: string;
10
+ };
11
+ export declare const TREE_TEXT_COLOR: {
12
+ WHITE: string;
13
+ BLACK: string;
14
+ GREEN: string;
15
+ RED: string;
16
+ };
17
+ export declare const TREE_WIDTH: {
18
+ NORMAL: number;
19
+ };
@@ -1,5 +1,5 @@
1
1
  export declare const TYPOGRAPHY_STYLES: {
2
- "2xl": {
2
+ '2xl': {
3
3
  regular: {
4
4
  fontFamily: string;
5
5
  fontWeight: number;
@@ -1,3 +1,4 @@
1
1
  export * from './other';
2
+ export * from './string.utils';
2
3
  export * from './time.utils';
3
4
  export * from './validator.utils';
@@ -1,2 +1 @@
1
1
  export declare const getLimitLineCss: (line: number) => any;
2
- export declare const truncateText: (text: string, maxLength?: number) => string;
@@ -1,2 +1,3 @@
1
- export * from './get-limit-line-css.utils';
2
1
  export * from './app.utils';
2
+ export * from './get-limit-line-css.utils';
3
+ export * from './hierarchical.utils';
@@ -0,0 +1,11 @@
1
+ export declare const stringToColor: (string: string) => string;
2
+ /**
3
+ * Pha màu để làm nhạt màu gốc (blend với màu trắng)
4
+ * @param color Màu HEX gốc (VD: '#008a77')
5
+ * @param percentage Phần trăm nhạt đi (0-100)
6
+ */
7
+ export declare const lightenColorTree: (color: string, percentage: number) => string;
8
+ export declare const extractNumberAtStartString: (string: string) => number;
9
+ export declare const stripHtml: (html: string) => string;
10
+ export declare const getErrorMessage: (e: unknown) => string;
11
+ export declare const truncateText: (text: string, maxLength?: number) => string;
@@ -7,8 +7,8 @@ export interface AppGridProps {
7
7
  iconSize?: number;
8
8
  iconRadius?: number;
9
9
  gap?: number | string;
10
- titleVariant?: "subtitle1" | "body1" | "caption";
11
- captionVariant?: "caption" | "body2";
10
+ titleVariant?: 'subtitle1' | 'body1' | 'caption';
11
+ captionVariant?: 'caption' | 'body2';
12
12
  titleColor?: string;
13
13
  captionColor?: string;
14
14
  showPagination?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  interface AvatarOnlineStatusElementProps {
3
3
  url?: string | null;
4
- size?: "small" | "medium" | "large" | "extra_large";
4
+ size?: 'small' | 'medium' | 'large' | 'extra_large';
5
5
  online?: boolean;
6
6
  children?: React.ReactNode;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { ButtonProps } from '@mui/material';
2
2
  import { default as React } from 'react';
3
3
  import { FileWithPreview } from '../../../common/interfaces/image-with-preview.interface';
4
- export interface ButtonUploadFileElementProps extends Omit<ButtonProps, "onChange"> {
4
+ export interface ButtonUploadFileElementProps extends Omit<ButtonProps, 'onChange'> {
5
5
  multiple?: boolean;
6
6
  onChange: (files: FileWithPreview[]) => void;
7
7
  accept?: string;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  interface DashedDividerElementProps {
3
- orientation?: "horizontal" | "vertical";
3
+ orientation?: 'horizontal' | 'vertical';
4
4
  color?: string;
5
5
  thickness?: number;
6
6
  length?: string | number;
@@ -3,7 +3,7 @@ import { default as React } from 'react';
3
3
  export interface IconContentOpacityElementProps {
4
4
  icon: string;
5
5
  content?: any;
6
- color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | any;
6
+ color?: 'inherit' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning' | any;
7
7
  onClick: (event: React.MouseEvent<HTMLDivElement>) => void;
8
8
  sx?: SxProps<Theme>;
9
9
  }
@@ -3,7 +3,7 @@ import { default as React } from 'react';
3
3
  import { IconElementProps } from './icon.element';
4
4
  export interface IconContentElementProps extends IconElementProps {
5
5
  content: any;
6
- size?: "large" | "small" | "medium";
6
+ size?: 'large' | 'small' | 'medium';
7
7
  onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
8
8
  sx?: SxProps<Theme>;
9
9
  sxIcon?: SxProps<Theme>;
@@ -2,7 +2,7 @@ import { IconProps, SxProps, Theme } from '@mui/material';
2
2
  import { default as React } from 'react';
3
3
  export interface IconElementProps extends IconProps {
4
4
  icon?: any;
5
- size?: "large" | "small" | "medium";
5
+ size?: 'large' | 'small' | 'medium';
6
6
  disabled?: boolean;
7
7
  fill?: 0 | 1;
8
8
  sx?: SxProps<Theme>;
@@ -1,7 +1,7 @@
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
1
  export { IconButtonElement } from './icon-button.element';
6
- export { IconContentSubsElement } from './icon-content-subs.element';
2
+ export { IconContentBadgeCountSubsElement } from './icon-content-badge-count-subs.element';
3
+ export { IconContentBadgeCountElement } from './icon-content-badge-count.element';
7
4
  export { IconContentOpacityElement } from './icon-content-opacity.element';
5
+ export { IconContentSubsElement } from './icon-content-subs.element';
6
+ export { IconContentElement } from './icon-content.element';
7
+ export { IconElement } from './icon.element';
@@ -6,7 +6,14 @@ export * from './divider';
6
6
  export * from './icon';
7
7
  export * from './image';
8
8
  export * from './link';
9
+ export * from './pagination';
9
10
  export * from './radio';
11
+ export * from './switch';
10
12
  export * from './tabs';
13
+ export * from './tag';
14
+ export * from './text-field';
11
15
  export * from './time-ago';
16
+ export * from './tooltip';
12
17
  export * from './typography';
18
+ export * from './user';
19
+ export * from './wrapper';
@@ -1,2 +1,2 @@
1
- export { RadioElement } from './radio.element';
2
1
  export { RadioGroupElement } from './radio-group.element';
2
+ export { RadioElement } from './radio.element';
@@ -2,7 +2,7 @@ import { SxProps, Theme } from '@mui/material';
2
2
  import { default as React, ReactNode } from 'react';
3
3
  export interface RadioGroupElementProps {
4
4
  name?: string;
5
- direction?: "row" | "column";
5
+ direction?: 'row' | 'column';
6
6
  label?: string;
7
7
  iconLabel?: string;
8
8
  disabled?: boolean;
@@ -1,2 +1,2 @@
1
- export { SwitchElement } from './switch.element';
2
1
  export { SwitchContentElement } from './switch-content.element';
2
+ export { SwitchElement } from './switch.element';
@@ -12,6 +12,6 @@ export interface TabBadgeCountSubs {
12
12
  export interface TabsBadgeCountSubsComponentProps {
13
13
  idSelect?: string;
14
14
  tabs: TabBadgeCountSubs[];
15
- size?: "large" | "small" | "medium";
15
+ size?: 'large' | 'small' | 'medium';
16
16
  }
17
17
  export declare const TabsBadgeCountSubsComponent: React.FC<TabsBadgeCountSubsComponentProps>;
@@ -6,8 +6,8 @@ export interface TabBadgeCount extends TabComponent {
6
6
  export interface TabsBadgeCountComponentProps {
7
7
  idSelect?: string;
8
8
  tabs: TabBadgeCount[];
9
- size?: "large" | "small" | "medium";
10
- direction?: "column" | "row";
9
+ size?: 'large' | 'small' | 'medium';
10
+ direction?: 'column' | 'row';
11
11
  isSubs?: boolean;
12
12
  }
13
13
  export declare const TabsBadgeCountComponent: React.FC<TabsBadgeCountComponentProps>;
@@ -11,6 +11,6 @@ export interface TabSubs {
11
11
  export interface TabsSubsComponentProps {
12
12
  idSelect?: string;
13
13
  tabs: TabSubs[];
14
- size?: "large" | "small" | "medium";
14
+ size?: 'large' | 'small' | 'medium';
15
15
  }
16
16
  export declare const TabsSubsComponent: React.FC<TabsSubsComponentProps>;
@@ -10,9 +10,9 @@ export interface TabComponent {
10
10
  export interface TabsComponentProps {
11
11
  idSelect?: string;
12
12
  tabs: TabComponent[];
13
- size?: "large" | "small" | "medium";
14
- direction?: "column" | "row";
15
- variant?: "contained" | "outlined";
13
+ size?: 'large' | 'small' | 'medium';
14
+ direction?: 'column' | 'row';
15
+ variant?: 'contained' | 'outlined';
16
16
  onChange?: (newValue: string) => void;
17
17
  sx?: SxProps;
18
18
  sxTabs?: SxProps;
@@ -1,2 +1,2 @@
1
- export { TagElement } from './tag.element';
2
1
  export { TagOnClickElement } from './tag-on-click.element';
2
+ export { TagElement } from './tag.element';
@@ -3,6 +3,6 @@ export interface TagOnClickElementProps {
3
3
  content: string;
4
4
  active: boolean;
5
5
  onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
6
- size?: "small" | "medium";
6
+ size?: 'small' | 'medium';
7
7
  }
8
8
  export declare const TagOnClickElement: React.FC<TagOnClickElementProps>;
@@ -1,15 +1,15 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
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";
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
6
  export declare const lightenColor: (hex: string, percent: number) => string;
7
7
  export interface TagElementProps {
8
8
  type: string;
9
9
  content: string;
10
10
  width?: number;
11
11
  sx?: SxProps<Theme>;
12
- variation?: "body1" | "caption";
12
+ variation?: 'body1' | 'caption';
13
13
  variant?: TagVariant;
14
14
  size?: TagSize;
15
15
  color?: string;
@@ -1 +1,9 @@
1
+ export { TextFieldDateElement } from './text-field-date.element';
2
+ export { TextFieldLabelElement } from './text-field-label.element';
3
+ export { TextFieldNumberElement } from './text-field-number.element';
4
+ export { TextFieldSearchCustomElement } from './text-field-search-custom.element';
5
+ export { TextFieldSearchElement } from './text-field-search.element';
6
+ export { TextFieldSelectSearchObjectElement } from './text-field-select-search-object.element';
7
+ export { TextFieldSelectSearchElement } from './text-field-select-search.element';
8
+ export { TextFieldElement } from './text-field.element';
1
9
  export * from './text-highlight.element';
@@ -0,0 +1,21 @@
1
+ import { SxProps, Theme } from '@mui/material';
2
+ import { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
3
+ import { default as React } from 'react';
4
+ export interface TextFieldDateElementProps extends DatePickerProps {
5
+ name: string;
6
+ label?: string;
7
+ iconLabel?: string;
8
+ error?: unknown;
9
+ value?: any;
10
+ onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
11
+ helperText?: string;
12
+ required?: boolean;
13
+ sx?: SxProps<Theme>;
14
+ disablePast?: boolean;
15
+ disableFuture?: boolean;
16
+ dateRangeInDays?: number;
17
+ onBlur?: (e: React.FocusEvent<any>) => void;
18
+ minDate?: any;
19
+ maxDate?: any;
20
+ }
21
+ export declare const TextFieldDateElement: React.FC<TextFieldDateElementProps>;
@@ -0,0 +1,19 @@
1
+ import { BaseTextFieldProps, TextFieldProps } from '@mui/material';
2
+ import { default as React } from 'react';
3
+ export interface TextFieldNumberElementProps extends BaseTextFieldProps {
4
+ iconLabel?: string;
5
+ error?: any;
6
+ placeholder?: string;
7
+ value?: any;
8
+ onChange?: (event: {
9
+ target: {
10
+ name?: string;
11
+ value: any;
12
+ };
13
+ }) => void;
14
+ decimalScale?: number;
15
+ showResetButton?: boolean;
16
+ onReset?: () => void;
17
+ InputProps?: TextFieldProps['InputProps'];
18
+ }
19
+ export declare const TextFieldNumberElement: React.FC<TextFieldNumberElementProps>;
@@ -0,0 +1,26 @@
1
+ import { AutocompleteRenderOptionState } from '@mui/material/Autocomplete';
2
+ import { BaseTextFieldProps } from '@mui/material/TextField';
3
+ import { default as React } from 'react';
4
+ export interface TextFieldSelectSearchObjectElementProps extends BaseTextFieldProps {
5
+ openTest?: boolean;
6
+ iconLabel?: string;
7
+ error?: any;
8
+ multiple?: boolean;
9
+ loading?: boolean;
10
+ options?: any[];
11
+ onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
12
+ onInputChange?: (event: React.SyntheticEvent, newInputValue: string, reason: string) => void;
13
+ renderOption?: (props: React.HTMLAttributes<HTMLLIElement>, option: any, state: AutocompleteRenderOptionState) => React.ReactNode;
14
+ isOptionEqualToValue?: (option: any, value: any) => boolean;
15
+ getOptionLabel?: (option: any) => any;
16
+ getOptionDisabled?: (option: any) => boolean;
17
+ freeSolo?: boolean;
18
+ isCheckIcon?: boolean;
19
+ showAvatar?: boolean;
20
+ colorLabel?: string;
21
+ renderTags?: (value: any[], getTagProps: (params: {
22
+ index: number;
23
+ }) => any) => React.ReactNode;
24
+ maxDisplayTags?: number;
25
+ }
26
+ export declare const TextFieldSelectSearchObjectElement: React.FC<TextFieldSelectSearchObjectElementProps>;
@@ -0,0 +1,21 @@
1
+ import { BaseTextFieldProps } from '@mui/material/TextField';
2
+ import { default as React } from 'react';
3
+ interface TextFieldSelectSearchElementProps extends BaseTextFieldProps {
4
+ openTest?: boolean;
5
+ iconLabel?: string;
6
+ error?: any;
7
+ value?: any;
8
+ multiple?: boolean;
9
+ loading?: boolean;
10
+ options: any[];
11
+ onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
12
+ renderOption?: (props: React.HTMLAttributes<HTMLLIElement>, option: any) => React.ReactNode;
13
+ getOptionLabel?: (option: any) => string;
14
+ isCheckIcon?: boolean;
15
+ colorLabel?: string;
16
+ showRadioBtn?: boolean;
17
+ disableCloseOnSelect?: boolean;
18
+ helperText?: any;
19
+ }
20
+ export declare const TextFieldSelectSearchElement: React.FC<TextFieldSelectSearchElementProps>;
21
+ export {};
@@ -1,10 +1,10 @@
1
1
  import { TextFieldProps } from '@mui/material';
2
2
  import { default as React } from 'react';
3
- export interface TextFieldElementProps extends Omit<TextFieldProps, ""> {
3
+ export interface TextFieldElementProps extends Omit<TextFieldProps, ''> {
4
4
  iconLabel?: string;
5
5
  error?: any;
6
6
  onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
7
- InputProps?: TextFieldProps["InputProps"];
7
+ InputProps?: TextFieldProps['InputProps'];
8
8
  colorLabel?: string;
9
9
  description?: string | null;
10
10
  showResetButton?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { TooltipProps } from '@mui/material';
2
2
  import { default as React, ReactElement } from 'react';
3
- export interface TooltipOnClickElementProps extends Partial<Omit<TooltipProps, "content">> {
3
+ export interface TooltipOnClickElementProps extends Partial<Omit<TooltipProps, 'content'>> {
4
4
  content: ReactElement | string;
5
5
  onClickAway: () => void;
6
6
  }
@@ -1,2 +1,5 @@
1
- export { TypographyOneLine } from './typography-limit-one-line.component';
2
1
  export { TypographyContentCaption } from './typography-content-caption.component';
2
+ export { TypographyGridInfoRow } from './typography-grid-info-row.component';
3
+ export { TypographyInfoRow } from './typography-info-row.component';
4
+ export { TypographyInfoUser } from './typography-info-user.component';
5
+ export { TypographyOneLine } from './typography-limit-one-line.component';
@@ -6,9 +6,9 @@ type TypographyGridInfoRowProps = {
6
6
  sx?: SxProps<Theme>;
7
7
  lineLimit?: number;
8
8
  columns?: string;
9
- layout?: "horizontal" | "vertical";
9
+ layout?: 'horizontal' | 'vertical';
10
10
  sxValue?: SxProps<Theme>;
11
11
  sxLabel?: SxProps<Theme>;
12
12
  };
13
- declare const TypographyGridInfoRow: React.FC<TypographyGridInfoRowProps>;
14
- export default TypographyGridInfoRow;
13
+ export declare const TypographyGridInfoRow: React.FC<TypographyGridInfoRowProps>;
14
+ export {};
@@ -15,5 +15,5 @@ interface TypographyInfoGridProps {
15
15
  gap?: number;
16
16
  highlightQuery?: string;
17
17
  }
18
- declare const TypographyInfoUser: React.FC<TypographyInfoGridProps>;
19
- export default TypographyInfoUser;
18
+ export declare const TypographyInfoUser: React.FC<TypographyInfoGridProps>;
19
+ export {};
@@ -0,0 +1 @@
1
+ export { UserInfo } from './user-info.element';
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ export interface UserInfoProps {
4
+ name: string;
5
+ department?: string;
6
+ icon?: string;
7
+ sx?: SxProps<Theme>;
8
+ }
9
+ export declare const UserInfo: React.FC<UserInfoProps>;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ export interface EmptyComponentProps {
3
+ }
4
+ export declare const EmptyComponent: React.FC<EmptyComponentProps>;
@@ -0,0 +1 @@
1
+ export { EmptyComponent } from './empty.component';
@@ -2,8 +2,14 @@ export * from './app-grid';
2
2
  export * from './banner';
3
3
  export * from './bread-cumbs';
4
4
  export * from './elements';
5
+ export * from './empty';
6
+ export * from './layouts';
5
7
  export * from './loading';
8
+ export * from './logo';
6
9
  export * from './motion';
10
+ export * from './note';
11
+ export * from './price';
12
+ export * from './review';
7
13
  export * from './sidebar';
8
14
  export * from './styles';
9
15
  export * from './system-monitor';
@@ -0,0 +1,5 @@
1
+ import { default as React, ReactNode } from 'react';
2
+ export interface DefaultLayoutProps {
3
+ children?: ReactNode;
4
+ }
5
+ export declare const DefaultLayout: React.FC<DefaultLayoutProps>;
@@ -0,0 +1 @@
1
+ export { DefaultLayout } from './default.layout';
@@ -1,7 +1,7 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
2
  export interface LoadingComponentProps {
3
3
  color?: string;
4
- size?: "large" | "small" | "medium";
4
+ size?: 'large' | 'small' | 'medium';
5
5
  sx?: SxProps<Theme>;
6
6
  }
7
7
  export declare const LoadingComponent: React.FC<LoadingComponentProps>;
@@ -0,0 +1 @@
1
+ export { LogoComponent } from './logo.component';
@@ -0,0 +1,9 @@
1
+ import { Theme } from '@emotion/react';
2
+ import { SxProps } from '@mui/system';
3
+ import { default as React } from 'react';
4
+ export interface LogoComponentProps {
5
+ url: string;
6
+ height?: number;
7
+ sx?: SxProps<Theme>;
8
+ }
9
+ export declare const LogoComponent: React.FC<LogoComponentProps>;
@@ -1,7 +1,7 @@
1
1
  import { MotionProps } from 'framer-motion';
2
2
  import { default as React } from 'react';
3
- type AnimationPreset = "fadeInUp" | "fadeInDown" | "fadeInLeft" | "fadeInRight" | "scaleIn" | "slideInUp" | "staggerItem" | "tabContent" | "tabUnderline";
4
- interface MotionBoxProps extends Omit<MotionProps, "initial" | "animate" | "transition"> {
3
+ type AnimationPreset = 'fadeInUp' | 'fadeInDown' | 'fadeInLeft' | 'fadeInRight' | 'scaleIn' | 'slideInUp' | 'staggerItem' | 'tabContent' | 'tabUnderline';
4
+ interface MotionBoxProps extends Omit<MotionProps, 'initial' | 'animate' | 'transition'> {
5
5
  children: React.ReactNode;
6
6
  sx?: React.CSSProperties;
7
7
  onClick?: () => void;
@@ -0,0 +1 @@
1
+ export { NoteComponent } from './note.component';
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ export interface NoteComponentProps {
3
+ content: string;
4
+ contentHref?: string;
5
+ href?: string;
6
+ type?: 'info' | 'recommend' | 'warning' | 'error';
7
+ }
8
+ export declare const NoteComponent: React.FC<NoteComponentProps>;
@@ -0,0 +1 @@
1
+ export { PriceComponent } from './price.component';
@@ -0,0 +1,14 @@
1
+ import { SxProps, Theme } from '@mui/material';
2
+ import { default as React } from 'react';
3
+ export interface PriceComponentProps {
4
+ isLineHeight1?: boolean;
5
+ price: number;
6
+ originalPrice?: number;
7
+ discountPercent?: number;
8
+ onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
9
+ size?: 'small' | 'medium' | 'large';
10
+ sameSize?: boolean;
11
+ color?: string;
12
+ sx?: SxProps<Theme>;
13
+ }
14
+ export declare const PriceComponent: React.FC<PriceComponentProps>;
@@ -0,0 +1 @@
1
+ export { ReviewComponent } from './review.component';
@@ -0,0 +1,9 @@
1
+ import { SxProps, Theme } from '@mui/material';
2
+ import { default as React } from 'react';
3
+ export interface ReviewComponentProps {
4
+ averageRating: number;
5
+ reviewCount: number;
6
+ onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
7
+ sx?: SxProps<Theme>;
8
+ }
9
+ export declare const ReviewComponent: React.FC<ReviewComponentProps>;
@@ -4,7 +4,7 @@ import { AppInfo } from '../../common/constant/apps.data';
4
4
  interface AppsSidebarProps {
5
5
  isOpen: boolean;
6
6
  onClose: () => void;
7
- position?: "left" | "right";
7
+ position?: 'left' | 'right';
8
8
  blacklist?: string[];
9
9
  env: Environment;
10
10
  onClickApp: (appInfo: AppInfo) => void;
@@ -1,7 +1,6 @@
1
- import { AppInfo } from '../../common';
2
- import { Environment } from '../../common/utils/other/app.utils';
1
+ import { AppInfo, Environment } from '../../common';
3
2
  export interface SystemMonitorSidebarPartProps {
4
- position?: "left" | "right";
3
+ position?: 'left' | 'right';
5
4
  blacklist?: string[];
6
5
  env: Environment;
7
6
  onClickApp: (appInfo: AppInfo) => void;
@@ -0,0 +1,3 @@
1
+ export declare const ImageBrand: import('@emotion/styled').StyledComponent<import('../elements/image/image.element').ImageElementProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
2
+ export declare const ImageBorderDashboard: import('@emotion/styled').StyledComponent<import('../elements/image/image.element').ImageElementProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
3
+ export declare const ImageEmpty: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -1,2 +1,7 @@
1
+ export * from './image.style';
2
+ export * from './input.style';
3
+ export * from './link.style';
4
+ export * from './paper.style';
5
+ export * from './picker.style';
1
6
  export * from './stack.style';
2
7
  export * from './typography.style';