sevago-sso-fe 1.0.3 → 1.0.6
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/App.d.ts +1 -0
- package/dist/apis/auth/auth.api.d.ts +9 -0
- package/dist/apis/auth/auth.enum.d.ts +16 -0
- package/dist/apis/auth/auth.interface.d.ts +50 -0
- package/dist/apis/auth/index.d.ts +5 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/notification/index.d.ts +6 -0
- package/dist/apis/notification/notification.api.d.ts +12 -0
- package/dist/apis/notification/notification.entities.d.ts +17 -0
- package/dist/apis/notification/notification.enum.d.ts +26 -0
- package/dist/apis/notification/notification.interface.d.ts +33 -0
- package/dist/apis/org-unit/index.d.ts +2 -0
- package/dist/apis/org-unit/org-unit.entities.d.ts +41 -0
- package/dist/apis/org-unit/org-unit.enum.d.ts +11 -0
- package/dist/apis/user/index.d.ts +6 -0
- package/dist/apis/user/user.api.d.ts +17 -0
- package/dist/apis/user/user.entities.d.ts +161 -0
- package/dist/apis/user/user.enum.d.ts +304 -0
- package/dist/apis/user/user.interface.d.ts +81 -0
- package/dist/assets/icon/icon-left.d.ts +3 -0
- package/dist/assets/icon/icon-right.d.ts +3 -0
- package/dist/common/config/axios.config.d.ts +1 -0
- package/dist/common/config/firebase.config.d.ts +3 -0
- package/dist/common/config/index.d.ts +3 -0
- package/dist/common/config/socket.config.d.ts +19 -0
- package/dist/common/constant/apps.constant.d.ts +2 -0
- package/dist/common/constant/index.d.ts +7 -0
- package/dist/common/constant/mode.constant.d.ts +266 -0
- package/dist/common/constant/opacity.constant.d.ts +103 -0
- package/dist/common/constant/reg-exp.constant.d.ts +1 -0
- package/dist/common/constant/style.constant.d.ts +113 -0
- package/dist/common/constant/tree.constant.d.ts +12 -0
- package/dist/common/constant/typography.constant.d.ts +457 -0
- package/dist/common/enums/app-category.enum.d.ts +22 -0
- package/dist/common/enums/country.enum.d.ts +7 -0
- package/dist/common/enums/file-type.enum.d.ts +4 -0
- package/dist/common/enums/index.d.ts +6 -0
- package/dist/common/enums/mode.enum.d.ts +4 -0
- package/dist/common/enums/order-type.enum.d.ts +4 -0
- package/dist/common/enums/payment-method.enum.d.ts +7 -0
- package/dist/common/index.d.ts +5 -0
- package/dist/common/interfaces/base-item.interface.d.ts +8 -0
- package/dist/common/interfaces/change-event-custom.interface.d.ts +6 -0
- package/dist/common/interfaces/error.interface.d.ts +5 -0
- package/dist/common/interfaces/index.d.ts +6 -0
- package/dist/common/interfaces/page-options.interface.d.ts +15 -0
- package/dist/common/interfaces/res-list.interface.d.ts +7 -0
- package/dist/common/interfaces/route.interface.d.ts +12 -0
- package/dist/common/utils/find-current-access.helper.d.ts +1 -0
- package/dist/common/utils/index.d.ts +6 -0
- package/dist/common/utils/other/app.utils.d.ts +2 -0
- package/dist/common/utils/other/get-limit-line-css.utils.d.ts +2 -0
- package/dist/common/utils/other/index.d.ts +2 -0
- package/dist/common/utils/string.utils.d.ts +10 -0
- package/dist/common/utils/time.utils.d.ts +13 -0
- package/dist/components/app-grid/app-grid.component.d.ts +19 -0
- package/dist/components/app-grid/index.d.ts +1 -0
- package/dist/components/avatar/avatar-enum.enum.d.ts +10 -0
- package/dist/components/avatar/avatar-user-info.element.d.ts +15 -0
- package/dist/components/avatar/avatar.element.d.ts +9 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/avatar-user/avatar-user.component.d.ts +4 -0
- package/dist/components/avatar-user/index.d.ts +1 -0
- package/dist/components/bell/bell.component.d.ts +4 -0
- package/dist/components/bell/index.d.ts +1 -0
- package/dist/components/elements/button/button.element.d.ts +10 -0
- package/dist/components/elements/button/index.d.ts +1 -0
- package/dist/components/elements/icon/icon-button.element.d.ts +10 -0
- package/dist/components/elements/icon/icon-content.element.d.ts +15 -0
- package/dist/components/elements/icon/icon.element.d.ts +11 -0
- package/dist/components/elements/icon/index.d.ts +3 -0
- package/dist/components/elements/image/image-content-caption.component.d.ts +14 -0
- package/dist/components/elements/image/image-name-time.component.d.ts +9 -0
- package/dist/components/elements/image/image.element.d.ts +12 -0
- package/dist/components/elements/image/image.enum.d.ts +5 -0
- package/dist/components/elements/image/index.d.ts +4 -0
- package/dist/components/elements/radio/index.d.ts +2 -0
- package/dist/components/elements/radio/radio-group.element.d.ts +16 -0
- package/dist/components/elements/radio/radio.element.d.ts +7 -0
- package/dist/components/elements/text-field/index.d.ts +2 -0
- package/dist/components/elements/text-field/text-field-label.element.d.ts +9 -0
- package/dist/components/elements/text-field/text-field.element.d.ts +13 -0
- package/dist/components/elements/tooltip/index.d.ts +1 -0
- package/dist/components/elements/tooltip/tooltip-on-click.element.d.ts +7 -0
- package/dist/components/elements/typography/index.d.ts +1 -0
- package/dist/components/elements/typography/typography-content-caption.component.d.ts +10 -0
- package/dist/components/empty/empty.component.d.ts +4 -0
- package/dist/components/empty/index.d.ts +1 -0
- package/dist/components/index.d.ts +16 -0
- package/dist/components/loading/index.d.ts +1 -0
- package/dist/components/loading/loading.component.d.ts +8 -0
- package/dist/components/logo/index.d.ts +1 -0
- package/dist/components/logo/logo.component.d.ts +10 -0
- package/dist/components/motion/index.d.ts +1 -0
- package/dist/components/motion/motion-box.component.d.ts +14 -0
- package/dist/components/styles/index.d.ts +2 -0
- package/dist/components/styles/stack.style.d.ts +19 -0
- package/dist/components/styles/typography.style.d.ts +1 -0
- package/dist/components/time-ago/index.d.ts +2 -0
- package/dist/components/time-ago/time-ago-content.component.d.ts +7 -0
- package/dist/components/time-ago/time-ago.component.d.ts +6 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/use-apps.hook.d.ts +11 -0
- package/dist/hooks/use-snackbar.hook.d.ts +19 -0
- package/dist/hooks/use-tag-selector.hook.d.ts +25 -0
- package/dist/hooks/use-update-current-access.hook.d.ts +1 -0
- package/dist/hooks/use-version-check.hook.d.ts +3 -0
- package/dist/index.cjs.js +17838 -30552
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.esm.js +17758 -30472
- package/dist/index.esm.js.map +1 -1
- package/dist/layouts/auth.layout.d.ts +5 -0
- package/dist/layouts/dashboard.layout.d.ts +5 -0
- package/dist/layouts/default.layout.d.ts +5 -0
- package/dist/layouts/index.d.ts +3 -0
- package/dist/main.d.ts +0 -0
- package/dist/pages/auth/auth.constant.d.ts +35 -0
- package/dist/pages/auth/auth.enum.d.ts +6 -0
- package/dist/pages/auth/auth.interface.d.ts +7 -0
- package/dist/pages/auth/auth.page.d.ts +4 -0
- package/dist/pages/auth/index.d.ts +5 -0
- package/dist/pages/auth/parts/index.d.ts +1 -0
- package/dist/pages/auth/parts/otp/index.d.ts +1 -0
- package/dist/pages/auth/parts/otp/otp.part.d.ts +6 -0
- package/dist/pages/dashboard/dashboard.page.d.ts +5 -0
- package/dist/pages/dashboard/index.d.ts +3 -0
- package/dist/pages/dashboard/parts/index.d.ts +1 -0
- package/dist/pages/dashboard/parts/monitor.part.d.ts +2 -0
- package/dist/pages/dashboard/screen/index.d.ts +1 -0
- package/dist/pages/dashboard/screen/system-monitor/index.d.ts +1 -0
- package/dist/pages/dashboard/screen/system-monitor/system-monitor.screen.d.ts +2 -0
- package/dist/pages/error/error.page.d.ts +4 -0
- package/dist/pages/index.d.ts +6 -0
- package/dist/pages/not-found/not-found.page.d.ts +4 -0
- package/dist/redux/account/account.action.d.ts +22 -0
- package/dist/redux/account/account.interface.d.ts +13 -0
- package/dist/redux/account/account.slice.d.ts +4 -0
- package/dist/redux/account/index.d.ts +5 -0
- package/dist/redux/index.d.ts +5 -0
- package/dist/redux/slices/index.d.ts +1 -0
- package/dist/redux/slices/remaining-weight.slice.d.ts +7 -0
- package/dist/redux/store.interface.d.ts +11 -0
- package/dist/redux/store.redux.d.ts +15 -0
- package/dist/redux/system/index.d.ts +2 -0
- package/dist/redux/system/system.action.d.ts +2 -0
- package/dist/redux/system/system.interface.d.ts +4 -0
- package/dist/redux/system/system.slice.d.ts +4 -0
- package/dist/router/index.d.ts +4 -0
- package/dist/router/render.route.d.ts +3 -0
- package/dist/router/route.constant.d.ts +278 -0
- package/dist/router/route.enum.d.ts +4 -0
- package/dist/router/route.routes.d.ts +2 -0
- package/dist/scripts/generate.script.d.ts +0 -0
- package/package.json +3 -2
- package/dist/sevago-sso-fe.css +0 -736
package/dist/main.d.ts
ADDED
|
File without changes
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AuthProcess } from './auth.enum';
|
|
2
|
+
import * as Yup from 'yup';
|
|
3
|
+
export declare const validationSchema: (authProcess: AuthProcess) => Yup.ObjectSchema<{
|
|
4
|
+
emailOrPhone: string | undefined;
|
|
5
|
+
password: string | undefined;
|
|
6
|
+
phone: string | undefined;
|
|
7
|
+
otp: string | undefined;
|
|
8
|
+
}, Yup.AnyObject, {
|
|
9
|
+
emailOrPhone: undefined;
|
|
10
|
+
password: undefined;
|
|
11
|
+
phone: undefined;
|
|
12
|
+
otp: undefined;
|
|
13
|
+
}, "">;
|
|
14
|
+
export declare const BUTTON_BACK_ICON_CONTENT: {
|
|
15
|
+
LOGIN: {
|
|
16
|
+
button: string;
|
|
17
|
+
backContent: string;
|
|
18
|
+
backIcon: string;
|
|
19
|
+
};
|
|
20
|
+
FORGOT_PASSWORD: {
|
|
21
|
+
button: string;
|
|
22
|
+
backContent: string;
|
|
23
|
+
backIcon: string;
|
|
24
|
+
};
|
|
25
|
+
VERIFY_OTP: {
|
|
26
|
+
button: string;
|
|
27
|
+
backContent: string;
|
|
28
|
+
backIcon: string;
|
|
29
|
+
};
|
|
30
|
+
RESET_PASSWORD: {
|
|
31
|
+
button: string;
|
|
32
|
+
backContent: string;
|
|
33
|
+
backIcon: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './otp';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { OtpPart } from './otp.part';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MonitorPart } from './monitor.part';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './system-monitor';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SystemMonitorScreen } from './system-monitor.screen';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { AuthPage } from './auth/auth.page';
|
|
2
|
+
export { DashboardPage } from './dashboard/dashboard.page';
|
|
3
|
+
export { ErrorPage } from './error/error.page';
|
|
4
|
+
export { NotFoundPage } from './not-found/not-found.page';
|
|
5
|
+
export * from './auth';
|
|
6
|
+
export * from './dashboard';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LoginDto, LogoutDto, RefreshTokenDto, ResetPasswordDto, SubscribeUnsubscribeTopicDto } from '../../apis/auth/auth.interface';
|
|
2
|
+
import { UpdateAccountDto } from '../../apis/user/user.interface';
|
|
3
|
+
export declare const login: import('@reduxjs/toolkit').AsyncThunk<import('../../apis').ResponseAuth, LoginDto, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
4
|
+
export declare const logout: import('@reduxjs/toolkit').AsyncThunk<import('axios').AxiosResponse<any, any, {}>, LogoutDto, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
5
|
+
export declare const resetPassword: import('@reduxjs/toolkit').AsyncThunk<import('../../apis').ResponseAuth, ResetPasswordDto, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
6
|
+
export declare const refreshToken: import('@reduxjs/toolkit').AsyncThunk<Omit<import('../../apis').ResponseAuth, "user">, RefreshTokenDto, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
7
|
+
export declare const subscribeTopic: import('@reduxjs/toolkit').AsyncThunk<{
|
|
8
|
+
fcmToken: string;
|
|
9
|
+
}, SubscribeUnsubscribeTopicDto, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
10
|
+
export declare const unsubscribeTopic: import('@reduxjs/toolkit').AsyncThunk<import('axios').AxiosResponse<any, any, {}>, SubscribeUnsubscribeTopicDto, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
11
|
+
export declare const changeNotificationCount: import('@reduxjs/toolkit').AsyncThunk<number, number, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
12
|
+
export declare const changeSidebarCount: import('@reduxjs/toolkit').AsyncThunk<{
|
|
13
|
+
sidebarPath: string;
|
|
14
|
+
count: number;
|
|
15
|
+
}, {
|
|
16
|
+
sidebarPath: string;
|
|
17
|
+
count: number;
|
|
18
|
+
}, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
19
|
+
export declare const updateAccount: import('@reduxjs/toolkit').AsyncThunk<import('../../apis').User, UpdateAccountDto, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
20
|
+
export declare const getAccount: import('@reduxjs/toolkit').AsyncThunk<import('../../apis').User, string, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
21
|
+
export declare const updatePositionOrgUnit: import('@reduxjs/toolkit').AsyncThunk<string, string, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
22
|
+
export declare const updateCurrentAccess: import('@reduxjs/toolkit').AsyncThunk<string, string, import('@reduxjs/toolkit').AsyncThunkConfig>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { User } from '../../apis/user/user.entities';
|
|
2
|
+
export type CURRENT_ACCESS = "recruitment" | "project" | "propose" | "company-staff";
|
|
3
|
+
export interface GlobalAccountState {
|
|
4
|
+
isLogin: boolean;
|
|
5
|
+
user: User | null;
|
|
6
|
+
accessToken: string;
|
|
7
|
+
refreshToken: string;
|
|
8
|
+
fcmToken: string;
|
|
9
|
+
notificationCount: number;
|
|
10
|
+
userUnitPositionId: string;
|
|
11
|
+
sidebarCountObj: Record<string, number>;
|
|
12
|
+
current_access?: CURRENT_ACCESS | undefined;
|
|
13
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { GlobalAccountState } from './account.interface';
|
|
2
|
+
export declare const initialStateAccount: GlobalAccountState;
|
|
3
|
+
export declare const slice: import('@reduxjs/toolkit').Slice<GlobalAccountState, {}, "account", "account", import('@reduxjs/toolkit').SliceSelectors<GlobalAccountState>>;
|
|
4
|
+
export declare const reducerAccount: import('redux').Reducer<GlobalAccountState>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './remaining-weight.slice';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface RemainingWeightState {
|
|
2
|
+
weight: number;
|
|
3
|
+
}
|
|
4
|
+
export declare const initialStateRemainingWeight: RemainingWeightState;
|
|
5
|
+
export declare const setRemainingWeight: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "remainingWeight/setRemainingWeight">, updateRemainingWeight: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "remainingWeight/updateRemainingWeight">, resetRemainingWeight: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"remainingWeight/resetRemainingWeight">;
|
|
6
|
+
declare const _default: import('redux').Reducer<RemainingWeightState>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GlobalAccountState } from './account/account.interface';
|
|
2
|
+
import { GlobalSystemState } from './system/system.interface';
|
|
3
|
+
interface RemainingWeightState {
|
|
4
|
+
weight: number;
|
|
5
|
+
}
|
|
6
|
+
export interface GlobalReduxState {
|
|
7
|
+
account: GlobalAccountState;
|
|
8
|
+
system: GlobalSystemState;
|
|
9
|
+
remainingWeight: RemainingWeightState;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const store: import('@reduxjs/toolkit').EnhancedStore<{
|
|
2
|
+
system: import('./system').GlobalSystemState;
|
|
3
|
+
account: import('./account').GlobalAccountState;
|
|
4
|
+
remainingWeight: import('./slices/remaining-weight.slice').RemainingWeightState;
|
|
5
|
+
} & import('redux-persist/es/persistReducer').PersistPartial, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
|
|
6
|
+
dispatch: import('redux-thunk').ThunkDispatch<{
|
|
7
|
+
system: import('./system').GlobalSystemState;
|
|
8
|
+
account: import('./account').GlobalAccountState;
|
|
9
|
+
remainingWeight: import('./slices/remaining-weight.slice').RemainingWeightState;
|
|
10
|
+
} & import('redux-persist/es/persistReducer').PersistPartial, undefined, import('redux').UnknownAction>;
|
|
11
|
+
}>, import('redux').StoreEnhancer]>>;
|
|
12
|
+
type AppDispatch = typeof store.dispatch;
|
|
13
|
+
export declare const useAppDispatch: () => AppDispatch;
|
|
14
|
+
export declare const persistor: import('redux-persist').Persistor;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { GlobalSystemState } from './system.interface';
|
|
2
|
+
export declare const initialStateSystem: GlobalSystemState;
|
|
3
|
+
export declare const slice: import('@reduxjs/toolkit').Slice<GlobalSystemState, {}, "system", "system", import('@reduxjs/toolkit').SliceSelectors<GlobalSystemState>>;
|
|
4
|
+
export declare const reducerSystem: import('redux').Reducer<GlobalSystemState>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { renderRoutes } from './render.route';
|
|
2
|
+
export { ALLOW_USER_TYPES, BOOKING_SCREEN, DASHBOARD_SCREEN, DASHBOARD_BASE, PREFIX_WORKFLOW_ENGINE, PAGE, WORKFLOW_ENGINE_SCREEN, WORKFLOW_TRACKING_SCREEN, } from './route.constant';
|
|
3
|
+
export { RouteType } from './route.enum';
|
|
4
|
+
export { routes } from './route.routes';
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { UserType } from '../apis/user/user.enum';
|
|
2
|
+
import { RouteConstant } from '../common/interfaces/route.interface';
|
|
3
|
+
import { RouteType } from './route.enum';
|
|
4
|
+
export declare const DASHBOARD_BASE = "/dashboard";
|
|
5
|
+
export declare const PREFIX_WORKFLOW_ENGINE = "/workflow";
|
|
6
|
+
export declare const ALLOW_USER_TYPES: UserType[];
|
|
7
|
+
export declare const PAGE: Record<string, RouteConstant>;
|
|
8
|
+
export declare const DASHBOARD_SCREEN: {
|
|
9
|
+
DASHBOARD: {
|
|
10
|
+
path: string;
|
|
11
|
+
type: RouteType;
|
|
12
|
+
allowUserTypes: UserType[];
|
|
13
|
+
};
|
|
14
|
+
PROJECT_DASHBOARD: {
|
|
15
|
+
path: string;
|
|
16
|
+
type: RouteType;
|
|
17
|
+
allowUserTypes: UserType[];
|
|
18
|
+
};
|
|
19
|
+
JOB_DASHBOARD: {
|
|
20
|
+
path: string;
|
|
21
|
+
type: RouteType;
|
|
22
|
+
allowUserTypes: UserType[];
|
|
23
|
+
};
|
|
24
|
+
PROJECT_TASK_PROCESS: {
|
|
25
|
+
path: string;
|
|
26
|
+
type: RouteType;
|
|
27
|
+
allowUserTypes: UserType[];
|
|
28
|
+
};
|
|
29
|
+
JOB: {
|
|
30
|
+
path: string;
|
|
31
|
+
type: RouteType;
|
|
32
|
+
allowUserTypes: UserType[];
|
|
33
|
+
};
|
|
34
|
+
JOB_RECRUITMENT: {
|
|
35
|
+
path: string;
|
|
36
|
+
type: RouteType;
|
|
37
|
+
allowUserTypes: UserType[];
|
|
38
|
+
};
|
|
39
|
+
JOB_RECRUITMENT_DETAIL: {
|
|
40
|
+
path: string;
|
|
41
|
+
type: RouteType;
|
|
42
|
+
allowUserTypes: UserType[];
|
|
43
|
+
};
|
|
44
|
+
JOB_DETAIL: {
|
|
45
|
+
path: string;
|
|
46
|
+
type: RouteType;
|
|
47
|
+
allowUserTypes: UserType[];
|
|
48
|
+
};
|
|
49
|
+
JOB_TITLE: {
|
|
50
|
+
path: string;
|
|
51
|
+
type: RouteType;
|
|
52
|
+
allowUserTypes: UserType[];
|
|
53
|
+
};
|
|
54
|
+
JOB_BANNER: {
|
|
55
|
+
path: string;
|
|
56
|
+
type: RouteType;
|
|
57
|
+
allowUserTypes: UserType[];
|
|
58
|
+
};
|
|
59
|
+
JOB_SOCIAL: {
|
|
60
|
+
path: string;
|
|
61
|
+
type: RouteType;
|
|
62
|
+
allowUserTypes: UserType[];
|
|
63
|
+
};
|
|
64
|
+
JOB_RECRUITMENT_HISTORY: {
|
|
65
|
+
path: string;
|
|
66
|
+
type: RouteType;
|
|
67
|
+
allowUserTypes: UserType[];
|
|
68
|
+
};
|
|
69
|
+
INDUSTRY: {
|
|
70
|
+
path: string;
|
|
71
|
+
type: RouteType;
|
|
72
|
+
allowUserTypes: UserType[];
|
|
73
|
+
};
|
|
74
|
+
EMAIL_TEMPLATE: {
|
|
75
|
+
path: string;
|
|
76
|
+
type: RouteType;
|
|
77
|
+
allowUserTypes: UserType[];
|
|
78
|
+
};
|
|
79
|
+
FAQ: {
|
|
80
|
+
path: string;
|
|
81
|
+
type: RouteType;
|
|
82
|
+
allowUserTypes: UserType[];
|
|
83
|
+
};
|
|
84
|
+
SALARY: {
|
|
85
|
+
path: string;
|
|
86
|
+
type: RouteType;
|
|
87
|
+
allowUserTypes: UserType[];
|
|
88
|
+
};
|
|
89
|
+
APPLICATION: {
|
|
90
|
+
path: string;
|
|
91
|
+
type: RouteType;
|
|
92
|
+
allowUserTypes: UserType[];
|
|
93
|
+
};
|
|
94
|
+
APPLICATION_OPERATOR: {
|
|
95
|
+
path: string;
|
|
96
|
+
type: RouteType;
|
|
97
|
+
allowUserTypes: UserType[];
|
|
98
|
+
};
|
|
99
|
+
PROJECT_TASK: {
|
|
100
|
+
path: string;
|
|
101
|
+
type: RouteType;
|
|
102
|
+
allowUserTypes: UserType[];
|
|
103
|
+
};
|
|
104
|
+
CREATE_PROJECT: {
|
|
105
|
+
path: string;
|
|
106
|
+
type: RouteType;
|
|
107
|
+
allowUserTypes: UserType[];
|
|
108
|
+
};
|
|
109
|
+
DETAIL_PROJECT: {
|
|
110
|
+
path: string;
|
|
111
|
+
type: RouteType;
|
|
112
|
+
allowUserTypes: UserType[];
|
|
113
|
+
};
|
|
114
|
+
CREATE_TASK: {
|
|
115
|
+
path: string;
|
|
116
|
+
type: RouteType;
|
|
117
|
+
allowUserTypes: UserType[];
|
|
118
|
+
};
|
|
119
|
+
ALL_PROJECT_OF_DIVISION: {
|
|
120
|
+
path: string;
|
|
121
|
+
type: RouteType;
|
|
122
|
+
allowUserTypes: UserType[];
|
|
123
|
+
};
|
|
124
|
+
ORG_UNIT_TREE: {
|
|
125
|
+
path: string;
|
|
126
|
+
type: RouteType;
|
|
127
|
+
allowUserTypes: UserType[];
|
|
128
|
+
};
|
|
129
|
+
ORG_UNIT_RESTORE: {
|
|
130
|
+
path: string;
|
|
131
|
+
type: RouteType;
|
|
132
|
+
allowUserTypes: UserType[];
|
|
133
|
+
};
|
|
134
|
+
ORG_STRUCTURE: {
|
|
135
|
+
path: string;
|
|
136
|
+
type: RouteType;
|
|
137
|
+
allowUserTypes: UserType[];
|
|
138
|
+
};
|
|
139
|
+
POSITION_TREE: {
|
|
140
|
+
path: string;
|
|
141
|
+
type: RouteType;
|
|
142
|
+
allowUserTypes: UserType[];
|
|
143
|
+
};
|
|
144
|
+
POSITION_RESTORE: {
|
|
145
|
+
path: string;
|
|
146
|
+
type: RouteType;
|
|
147
|
+
allowUserTypes: UserType[];
|
|
148
|
+
};
|
|
149
|
+
USER: {
|
|
150
|
+
path: string;
|
|
151
|
+
type: RouteType;
|
|
152
|
+
allowUserTypes: UserType[];
|
|
153
|
+
};
|
|
154
|
+
USER_RESTORE: {
|
|
155
|
+
path: string;
|
|
156
|
+
type: RouteType;
|
|
157
|
+
allowUserTypes: UserType[];
|
|
158
|
+
};
|
|
159
|
+
ACCOUNT: {
|
|
160
|
+
path: string;
|
|
161
|
+
type: RouteType;
|
|
162
|
+
allowUserTypes: UserType[];
|
|
163
|
+
};
|
|
164
|
+
NOTIFICATION: {
|
|
165
|
+
path: string;
|
|
166
|
+
type: RouteType;
|
|
167
|
+
allowUserTypes: UserType[];
|
|
168
|
+
};
|
|
169
|
+
CHECK_IN: {
|
|
170
|
+
path: string;
|
|
171
|
+
type: RouteType;
|
|
172
|
+
allowUserTypes: UserType[];
|
|
173
|
+
};
|
|
174
|
+
PAYROLL: {
|
|
175
|
+
path: string;
|
|
176
|
+
type: RouteType;
|
|
177
|
+
allowUserTypes: UserType[];
|
|
178
|
+
};
|
|
179
|
+
TRAINING: {
|
|
180
|
+
path: string;
|
|
181
|
+
type: RouteType;
|
|
182
|
+
allowUserTypes: UserType[];
|
|
183
|
+
};
|
|
184
|
+
INSIDE: {
|
|
185
|
+
path: string;
|
|
186
|
+
type: RouteType;
|
|
187
|
+
allowUserTypes: UserType[];
|
|
188
|
+
};
|
|
189
|
+
PROPOSAL_SELECTOR: {
|
|
190
|
+
path: string;
|
|
191
|
+
type: RouteType;
|
|
192
|
+
allowUserTypes: UserType[];
|
|
193
|
+
};
|
|
194
|
+
PROPOSAL_WORKFLOW_PROJECT: {
|
|
195
|
+
path: string;
|
|
196
|
+
type: RouteType;
|
|
197
|
+
allowUserTypes: UserType[];
|
|
198
|
+
};
|
|
199
|
+
PROPOSAL_WORKFLOW_JOB: {
|
|
200
|
+
path: string;
|
|
201
|
+
type: RouteType;
|
|
202
|
+
allowUserTypes: UserType[];
|
|
203
|
+
};
|
|
204
|
+
PROPOSAL_WORKFLOW_USER: {
|
|
205
|
+
path: string;
|
|
206
|
+
type: RouteType;
|
|
207
|
+
allowUserTypes: UserType[];
|
|
208
|
+
};
|
|
209
|
+
CHAT: {
|
|
210
|
+
path: string;
|
|
211
|
+
type: RouteType;
|
|
212
|
+
allowUserTypes: UserType[];
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
export declare const BOOKING_SCREEN: {
|
|
216
|
+
MEETING_SETTING: {
|
|
217
|
+
path: string;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
export declare const WORKFLOW_ENGINE_SCREEN: {
|
|
221
|
+
PROPOSAL_JOB_RECRUITMENT: {
|
|
222
|
+
path: string;
|
|
223
|
+
type: RouteType;
|
|
224
|
+
allowUserTypes: UserType[];
|
|
225
|
+
};
|
|
226
|
+
PROPOSAL_WORKFLOW: {
|
|
227
|
+
path: string;
|
|
228
|
+
type: RouteType;
|
|
229
|
+
allowUserTypes: UserType[];
|
|
230
|
+
};
|
|
231
|
+
PROPOSAL_PROJECT_TASK: {
|
|
232
|
+
path: string;
|
|
233
|
+
type: RouteType;
|
|
234
|
+
allowUserTypes: UserType[];
|
|
235
|
+
};
|
|
236
|
+
PROPOSAL_USER_TRANSFER: {
|
|
237
|
+
path: string;
|
|
238
|
+
type: RouteType;
|
|
239
|
+
allowUserTypes: UserType[];
|
|
240
|
+
};
|
|
241
|
+
PROPOSAL_USER_APPOINTMENT: {
|
|
242
|
+
path: string;
|
|
243
|
+
type: RouteType;
|
|
244
|
+
allowUserTypes: UserType[];
|
|
245
|
+
};
|
|
246
|
+
PROPOSAL_USER_EXEMPTION: {
|
|
247
|
+
path: string;
|
|
248
|
+
type: RouteType;
|
|
249
|
+
allowUserTypes: UserType[];
|
|
250
|
+
};
|
|
251
|
+
PROPOSAL_USER_WORKFLOW_APPOINTMENT: {
|
|
252
|
+
path: string;
|
|
253
|
+
type: RouteType;
|
|
254
|
+
allowUserTypes: UserType[];
|
|
255
|
+
};
|
|
256
|
+
PROPOSAL_USER_WORKFLOW_TRANSFER: {
|
|
257
|
+
path: string;
|
|
258
|
+
type: RouteType;
|
|
259
|
+
allowUserTypes: UserType[];
|
|
260
|
+
};
|
|
261
|
+
PROPOSAL_USER_WORKFLOW_DEMOTION: {
|
|
262
|
+
path: string;
|
|
263
|
+
type: RouteType;
|
|
264
|
+
allowUserTypes: UserType[];
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
export declare const WORKFLOW_TRACKING_SCREEN: {
|
|
268
|
+
MY_TASK: {
|
|
269
|
+
path: string;
|
|
270
|
+
type: RouteType;
|
|
271
|
+
allowUserTypes: UserType[];
|
|
272
|
+
};
|
|
273
|
+
MY_WORK: {
|
|
274
|
+
path: string;
|
|
275
|
+
type: RouteType;
|
|
276
|
+
allowUserTypes: UserType[];
|
|
277
|
+
};
|
|
278
|
+
};
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sevago-sso-fe",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
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",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
13
|
"dev": "vite",
|
|
14
|
-
"build": "
|
|
14
|
+
"build": "vite build --mode library",
|
|
15
|
+
"prepare": "npm run build",
|
|
15
16
|
"build:lib": "vite build --mode library",
|
|
16
17
|
"lint": "eslint .",
|
|
17
18
|
"preview": "vite preview",
|