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.
- package/dist/common/constant/index.d.ts +0 -1
- package/dist/components/avatar/avatar-enum.enum.d.ts +1 -1
- package/dist/components/elements/image/image.element.d.ts +2 -2
- package/dist/components/elements/image/index.d.ts +0 -2
- package/dist/components/index.d.ts +0 -2
- package/dist/components/styles/typography.style.d.ts +1 -1
- package/dist/hooks/index.d.ts +0 -3
- package/dist/index.cjs.js +8518 -11748
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8521 -11751
- package/dist/index.esm.js.map +1 -1
- package/dist/pages/auth/index.d.ts +0 -1
- package/dist/pages/dashboard/index.d.ts +0 -1
- package/dist/redux/account/account.action.d.ts +1 -0
- package/package.json +1 -1
- package/dist/common/constant/apps.constant.d.ts +0 -2
- package/dist/components/avatar/avatar-user-info.element.d.ts +0 -15
- package/dist/components/avatar/avatar.element.d.ts +0 -9
- package/dist/components/avatar/index.d.ts +0 -3
- package/dist/components/avatar-user/avatar-user.component.d.ts +0 -4
- package/dist/components/avatar-user/index.d.ts +0 -1
- package/dist/components/elements/image/image-content-caption.component.d.ts +0 -14
- package/dist/components/elements/image/image-name-time.component.d.ts +0 -9
- package/dist/hooks/use-snackbar.hook.d.ts +0 -19
- package/dist/hooks/use-tag-selector.hook.d.ts +0 -25
- package/dist/hooks/user-sidebar.d.ts +0 -1
- package/dist/pages/auth/parts/index.d.ts +0 -1
- package/dist/pages/auth/parts/otp/index.d.ts +0 -1
- package/dist/pages/auth/parts/otp/otp.part.d.ts +0 -6
- package/dist/pages/dashboard/sidebar/index.d.ts +0 -2
- package/dist/pages/dashboard/sidebar/sidebar.context.d.ts +0 -10
- package/dist/pages/dashboard/sidebar/sidebar.provider.d.ts +0 -4
|
@@ -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,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 +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,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 {};
|