sevago-sso-fe 1.0.55 → 1.0.56

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 (68) hide show
  1. package/README.md +252 -23
  2. package/dist/common/constant/color.constant.d.ts +40 -0
  3. package/dist/common/constant/index.d.ts +4 -2
  4. package/dist/common/enums/app-category.enum.d.ts +6 -0
  5. package/dist/common/index.d.ts +1 -0
  6. package/dist/common/interfaces/image-with-preview.interface.d.ts +3 -0
  7. package/dist/common/interfaces/index.d.ts +1 -0
  8. package/dist/common/utils/delay.utils.d.ts +1 -0
  9. package/dist/common/utils/index.d.ts +2 -2
  10. package/dist/common/utils/validator.utils.d.ts +2 -0
  11. package/dist/components/banner/banner.component.d.ts +5 -0
  12. package/dist/components/banner/index.d.ts +1 -0
  13. package/dist/components/bread-cumbs/bread-cumbs.d.ts +9 -0
  14. package/dist/components/bread-cumbs/index.d.ts +1 -0
  15. package/dist/components/elements/avatar/avatar-online-status.element.d.ts +12 -0
  16. package/dist/components/elements/avatar/avatar-user-info.element.d.ts +14 -0
  17. package/dist/components/elements/avatar/avatar.element.d.ts +9 -0
  18. package/dist/components/elements/avatar/index.d.ts +3 -0
  19. package/dist/components/elements/button/button-icon-circle.element.d.ts +5 -0
  20. package/dist/components/elements/button/button-icon-content-opacity.element.d.ts +9 -0
  21. package/dist/components/elements/button/button-icon-square.element.d.ts +7 -0
  22. package/dist/components/elements/button/button-icon.element.d.ts +6 -0
  23. package/dist/components/elements/button/button-image.element.d.ts +10 -0
  24. package/dist/components/elements/button/button-upload-file.element.d.ts +9 -0
  25. package/dist/components/elements/button/button.element.d.ts +10 -0
  26. package/dist/components/elements/button/index.d.ts +7 -0
  27. package/dist/components/elements/check-box/check-box.element.d.ts +8 -0
  28. package/dist/components/elements/check-box/index.d.ts +1 -0
  29. package/dist/components/elements/dialog/dialog-confirm-action.element.d.ts +16 -0
  30. package/dist/components/elements/dialog/dialog.element.d.ts +30 -0
  31. package/dist/components/elements/dialog/index.d.ts +2 -0
  32. package/dist/components/elements/divider/dashed-divider.element.d.ts +11 -0
  33. package/dist/components/elements/divider/index.d.ts +1 -0
  34. package/dist/components/elements/icon/icon-button.element.d.ts +10 -0
  35. package/dist/components/elements/icon/icon-content-badge-count-subs.element.d.ts +9 -0
  36. package/dist/components/elements/icon/icon-content-badge-count.element.d.ts +10 -0
  37. package/dist/components/elements/icon/icon-content-opacity.element.d.ts +10 -0
  38. package/dist/components/elements/icon/icon-content-subs.element.d.ts +8 -0
  39. package/dist/components/elements/icon/icon-content.element.d.ts +15 -0
  40. package/dist/components/elements/icon/index.d.ts +6 -0
  41. package/dist/components/elements/image/image-content-caption.component.d.ts +15 -0
  42. package/dist/components/elements/image/image-name-time.component.d.ts +9 -0
  43. package/dist/components/elements/image/image.element.d.ts +1 -1
  44. package/dist/components/elements/image/index.d.ts +2 -0
  45. package/dist/components/elements/index.d.ts +12 -4
  46. package/dist/components/elements/link/index.d.ts +2 -0
  47. package/dist/components/elements/link/link-internal.element.d.ts +8 -0
  48. package/dist/components/elements/link/link.element.d.ts +7 -0
  49. package/dist/components/elements/tabs/index.d.ts +5 -0
  50. package/dist/components/elements/tabs/tabs-badge-count-subs.component.d.ts +17 -0
  51. package/dist/components/elements/tabs/tabs-badge-count.component.d.ts +13 -0
  52. package/dist/components/elements/tabs/tabs-subs.component.d.ts +16 -0
  53. package/dist/components/elements/tabs/tabs.component.d.ts +21 -0
  54. package/dist/components/elements/tabs/tabs.constant.d.ts +21 -0
  55. package/dist/components/elements/time-ago/index.d.ts +2 -0
  56. package/dist/components/elements/time-ago/time-ago-content.component.d.ts +7 -0
  57. package/dist/components/elements/time-ago/time-ago.component.d.ts +6 -0
  58. package/dist/components/elements/typography/index.d.ts +1 -0
  59. package/dist/components/elements/typography/typography-content-caption.component.d.ts +1 -0
  60. package/dist/components/elements/typography/typography-limit-one-line.component.d.ts +7 -0
  61. package/dist/components/index.d.ts +5 -2
  62. package/dist/components/loading/index.d.ts +1 -0
  63. package/dist/components/loading/loading.component.d.ts +7 -0
  64. package/dist/index.cjs.js +10686 -7651
  65. package/dist/index.cjs.js.map +1 -1
  66. package/dist/index.esm.js +5210 -2175
  67. package/dist/index.esm.js.map +1 -1
  68. package/package.json +1 -1
@@ -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,2 +1,4 @@
1
+ export { ImageContentCaptionComponent } from './image-content-caption.component';
2
+ export { ImageContentTimeComponent } from './image-name-time.component';
1
3
  export { ImageElement } from './image.element';
2
4
  export * from './image.enum';
@@ -1,4 +1,12 @@
1
- export { IconElement } from './icon';
2
- export { ImageElement } from './image';
3
- export { RadioElement } from './radio';
4
- export { TypographyContentCaption } from './typography';
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,2 @@
1
+ export { LinkInternalElement } from './link-internal.element';
2
+ export { LinkElement } from './link.element';
@@ -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,7 @@
1
+ import { LinkProps } from '@mui/material';
2
+ import { default as React } from 'react';
3
+ export interface LinkElementProps extends LinkProps {
4
+ onClick?: () => void;
5
+ target?: string;
6
+ }
7
+ export declare const LinkElement: React.FC<LinkElementProps>;
@@ -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,2 @@
1
+ export { TimeAgoContentComponent } from './time-ago-content.component';
2
+ export { TimeAgoComponent } from './time-ago.component';
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ export interface TimeAgoContentComponentProps {
3
+ time: Date;
4
+ content: string;
5
+ height?: number | string;
6
+ }
7
+ export declare const TimeAgoContentComponent: React.FC<TimeAgoContentComponentProps>;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ export interface TimeAgoComponentProps {
3
+ time: Date;
4
+ hasText?: boolean;
5
+ }
6
+ export declare const TimeAgoComponent: React.FC<TimeAgoComponentProps>;
@@ -1 +1,2 @@
1
+ export { TypographyOneLine } from './typography-limit-one-line.component';
1
2
  export { TypographyContentCaption } from './typography-content-caption.component';
@@ -6,5 +6,6 @@ export interface TypographyContentCaptionProps {
6
6
  caption?: string;
7
7
  sxContent?: SxProps;
8
8
  sxCaption?: SxProps;
9
+ userTitleName?: string;
9
10
  }
10
11
  export declare const TypographyContentCaption: React.FC<TypographyContentCaptionProps>;
@@ -0,0 +1,7 @@
1
+ import { SxProps, Theme, TypographyProps } from '@mui/material';
2
+ import { default as React } from 'react';
3
+ export interface TypographyOneLineProps extends TypographyProps {
4
+ sx?: SxProps<Theme>;
5
+ content: any;
6
+ }
7
+ export declare const TypographyOneLine: React.FC<TypographyOneLineProps>;
@@ -1,6 +1,9 @@
1
1
  export * from './app-grid';
2
+ export * from './banner';
3
+ export * from './bread-cumbs';
4
+ export * from './elements';
5
+ export * from './loading';
2
6
  export * from './motion';
3
7
  export * from './sidebar';
4
- export * from './system-monitor';
5
- export * from './elements';
6
8
  export * from './styles';
9
+ export * from './system-monitor';
@@ -0,0 +1 @@
1
+ export { LoadingComponent } from './loading.component';
@@ -0,0 +1,7 @@
1
+ import { SxProps, Theme } from '@mui/material';
2
+ export interface LoadingComponentProps {
3
+ color?: string;
4
+ size?: "large" | "small" | "medium";
5
+ sx?: SxProps<Theme>;
6
+ }
7
+ export declare const LoadingComponent: React.FC<LoadingComponentProps>;