sevago-sso-fe 1.0.41 → 1.0.43

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 (32) hide show
  1. package/dist/common/constant/index.d.ts +0 -1
  2. package/dist/components/avatar/avatar-enum.enum.d.ts +1 -1
  3. package/dist/components/elements/image/image.element.d.ts +2 -2
  4. package/dist/components/elements/image/index.d.ts +0 -2
  5. package/dist/components/index.d.ts +0 -2
  6. package/dist/components/styles/typography.style.d.ts +1 -1
  7. package/dist/hooks/index.d.ts +0 -3
  8. package/dist/index.cjs.js +8518 -11748
  9. package/dist/index.cjs.js.map +1 -1
  10. package/dist/index.esm.js +8521 -11751
  11. package/dist/index.esm.js.map +1 -1
  12. package/dist/pages/auth/index.d.ts +0 -1
  13. package/dist/pages/dashboard/index.d.ts +0 -1
  14. package/dist/redux/account/account.action.d.ts +1 -0
  15. package/package.json +1 -1
  16. package/dist/common/constant/apps.constant.d.ts +0 -2
  17. package/dist/components/avatar/avatar-user-info.element.d.ts +0 -15
  18. package/dist/components/avatar/avatar.element.d.ts +0 -9
  19. package/dist/components/avatar/index.d.ts +0 -3
  20. package/dist/components/avatar-user/avatar-user.component.d.ts +0 -4
  21. package/dist/components/avatar-user/index.d.ts +0 -1
  22. package/dist/components/elements/image/image-content-caption.component.d.ts +0 -14
  23. package/dist/components/elements/image/image-name-time.component.d.ts +0 -9
  24. package/dist/hooks/use-snackbar.hook.d.ts +0 -19
  25. package/dist/hooks/use-tag-selector.hook.d.ts +0 -25
  26. package/dist/hooks/user-sidebar.d.ts +0 -1
  27. package/dist/pages/auth/parts/index.d.ts +0 -1
  28. package/dist/pages/auth/parts/otp/index.d.ts +0 -1
  29. package/dist/pages/auth/parts/otp/otp.part.d.ts +0 -6
  30. package/dist/pages/dashboard/sidebar/index.d.ts +0 -2
  31. package/dist/pages/dashboard/sidebar/sidebar.context.d.ts +0 -10
  32. package/dist/pages/dashboard/sidebar/sidebar.provider.d.ts +0 -4
@@ -1,4 +1,3 @@
1
1
  export * from './auth.constant';
2
2
  export * from './auth.enum';
3
3
  export * from './auth.interface';
4
- export * from './parts';
@@ -1,3 +1,2 @@
1
1
  export { DashboardPage } from './dashboard.page';
2
2
  export * from './screen';
3
- export * from './sidebar';
@@ -15,3 +15,4 @@ export declare const updateAccount: import('@reduxjs/toolkit').AsyncThunk<import
15
15
  export declare const getAccount: import('@reduxjs/toolkit').AsyncThunk<import('../../apis').User, string, import('@reduxjs/toolkit').AsyncThunkConfig>;
16
16
  export declare const updatePositionOrgUnit: import('@reduxjs/toolkit').AsyncThunk<string, string, import('@reduxjs/toolkit').AsyncThunkConfig>;
17
17
  export declare const updateCurrentAccess: import('@reduxjs/toolkit').AsyncThunk<string, string, import('@reduxjs/toolkit').AsyncThunkConfig>;
18
+ export declare const resetCurrentAccessToBase: import('@reduxjs/toolkit').AsyncThunk<string, string, import('@reduxjs/toolkit').AsyncThunkConfig>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sevago-sso-fe",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "description": "Sevago SSO Frontend Library - A comprehensive SSO solution with React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -1,2 +0,0 @@
1
- import { AppInfo } from './apps.data';
2
- export declare const SYSTEM_MODULES: AppInfo[];
@@ -1,15 +0,0 @@
1
- import { SxProps } from '@mui/material';
2
- import { default as React } from 'react';
3
- import { SizeProps } from './avatar-enum.enum';
4
- interface AvatarUserInfoProps {
5
- name: string;
6
- url?: string;
7
- positions?: string[];
8
- maxWidth?: string | number;
9
- isTag?: boolean;
10
- sxName?: SxProps;
11
- sxPosition?: SxProps;
12
- sizeAvatar?: SizeProps;
13
- }
14
- export declare const AvatarUserInfo: React.FC<AvatarUserInfoProps>;
15
- export {};
@@ -1,9 +0,0 @@
1
- import { AvatarProps } from '@mui/material';
2
- import { default as React, ReactNode } from 'react';
3
- import { SizeProps } from './avatar-enum.enum';
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>;
@@ -1,3 +0,0 @@
1
- export * from './avatar-enum.enum';
2
- export { AvatarElement } from './avatar.element';
3
- export { AvatarUserInfo } from './avatar-user-info.element';
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface AvatarUserComponentProps {
3
- }
4
- export declare const AvatarUserComponent: React.FC<AvatarUserComponentProps>;
@@ -1 +0,0 @@
1
- export { AvatarUserComponent } from './avatar-user.component';
@@ -1,14 +0,0 @@
1
- import { SxProps } from '@mui/system';
2
- import { default as React } from 'react';
3
- import { SizeProps } from '../../avatar';
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
- }
14
- export declare const ImageContentCaptionComponent: React.FC<ImageContentCaptionComponentProps>;
@@ -1,9 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SizeProps } from '../../avatar/avatar-enum.enum';
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,19 +0,0 @@
1
- import { default as React, ReactNode } from 'react';
2
- export declare enum SnackbarType {
3
- INFO = "info",
4
- SUCCESS = "success",
5
- ERROR = "error",
6
- WARNING = "warning"
7
- }
8
- export interface SnackbarContext {
9
- message: string;
10
- type: SnackbarType;
11
- }
12
- export interface SnackbarContextType {
13
- showSnackbar: (params: SnackbarContext) => void;
14
- }
15
- export interface SnackbarProviderProps {
16
- children?: ReactNode;
17
- }
18
- export declare const SnackbarProvider: React.FC<SnackbarProviderProps>;
19
- export declare const useSnackbar: () => SnackbarContextType;
@@ -1,25 +0,0 @@
1
- export interface TaggedUser {
2
- id: string;
3
- name: string;
4
- url: string;
5
- }
6
- interface TagPosition {
7
- start: number;
8
- end: number;
9
- }
10
- interface UseTagSelectorReturn {
11
- showTagSelector: boolean;
12
- tagPosition: TagPosition | null;
13
- searchQuery: string;
14
- filteredUsers: TaggedUser[];
15
- selectedUserIndex: number;
16
- users: TaggedUser[];
17
- handleInputChange: (newValue: string) => void;
18
- resetTagSelector: () => void;
19
- resetAll: () => void;
20
- setSearchQuery: (query: string) => void;
21
- taggedUserIds: Set<string>;
22
- removeTaggedUser: (userId: string) => void;
23
- }
24
- export declare const useTagSelector: (movementId: string) => UseTagSelectorReturn;
25
- export {};
@@ -1 +0,0 @@
1
- export declare const useSidebar: () => any;
@@ -1 +0,0 @@
1
- export * from './otp';
@@ -1 +0,0 @@
1
- export { OtpPart } from './otp.part';
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AuthProcess } from '../../auth.enum';
3
- export interface OtpPartProps {
4
- setAuthProcess: React.Dispatch<React.SetStateAction<AuthProcess>>;
5
- }
6
- export declare const OtpPart: React.FC<OtpPartProps>;
@@ -1,2 +0,0 @@
1
- export { SidebarContext } from './sidebar.context';
2
- export { SidebarProvider } from './sidebar.provider';
@@ -1,10 +0,0 @@
1
- import { AppInfo } from '../../../common/constant/apps.data';
2
- interface SidebarContextType {
3
- isCollapsed: boolean;
4
- setIsCollapsed: (collapsed: boolean) => void;
5
- activeExpandMenu: AppInfo[] | null;
6
- setActiveExpandMenu: (menu: AppInfo[] | null) => void;
7
- sidebarWidth: string;
8
- }
9
- export declare const SidebarContext: import('react').Context<SidebarContextType | undefined>;
10
- export {};
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const SidebarProvider: React.FC<{
3
- children: React.ReactNode;
4
- }>;