@zimyo/engage 0.0.1
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/README.md +30 -0
- package/dist/.vite/manifest.json +12 -0
- package/dist/App.d.ts +2 -0
- package/dist/components/feedback/appreciation/list/appreciation-list.d.ts +2 -0
- package/dist/components/feedback/appreciation/modal/appreciation-modal.d.ts +2 -0
- package/dist/components/feedback/continuous-feedback/list/continuous-feedback-list.d.ts +2 -0
- package/dist/components/feedback/continuous-feedback/modal/continuous-feedback-modal.d.ts +2 -0
- package/dist/components/feedback/continuous-feedback/modal/form.schema.d.ts +39 -0
- package/dist/components/feedback/one-to-one/constants.d.ts +11 -0
- package/dist/components/feedback/one-to-one/list/one-to-one-list.d.ts +2 -0
- package/dist/components/feedback/one-to-one/reschedule-modal/form.schema.d.ts +15 -0
- package/dist/components/feedback/one-to-one/reschedule-modal/reschedule-modal.d.ts +2 -0
- package/dist/components/feedback/one-to-one/schedule-modal/form.schema.d.ts +30 -0
- package/dist/components/feedback/one-to-one/schedule-modal/schedule-modal.d.ts +2 -0
- package/dist/components/feedback/one-to-one/view-details-modal/form.schema.d.ts +18 -0
- package/dist/components/feedback/one-to-one/view-details-modal/view-details-modal.d.ts +3 -0
- package/dist/components/ui/alert/alert.d.ts +6 -0
- package/dist/components/ui/description/description.d.ts +12 -0
- package/dist/components/ui/empty/empty.d.ts +4 -0
- package/dist/components/ui/header-title/header-title.d.ts +1 -0
- package/dist/components/ui/image-viewer/image-viewer.d.ts +6 -0
- package/dist/components/ui/multi-select/async/multi-select.d.ts +20 -0
- package/dist/components/ui/pdf-viewer/pdf.viewer.d.ts +6 -0
- package/dist/components/ui/spinner/spinner.d.ts +7 -0
- package/dist/components/ui/text-reducing-tooltip/text-reducing-tooltip.d.ts +13 -0
- package/dist/components/ui/toggle-button/toggle-button.d.ts +13 -0
- package/dist/main.cjs +3316 -0
- package/dist/main.d.ts +7 -0
- package/dist/main.js +102644 -0
- package/dist/shared/constants/datatypes.d.ts +10 -0
- package/dist/shared/constants/endpoints.d.ts +18 -0
- package/dist/shared/constants/form-types.d.ts +44 -0
- package/dist/shared/constants/time.d.ts +53 -0
- package/dist/shared/hooks/useConstants.d.ts +35 -0
- package/dist/shared/hooks/useFetch.d.ts +124 -0
- package/dist/shared/hooks/useMutation.d.ts +11 -0
- package/dist/shared/providers/auth-provider.d.ts +7 -0
- package/dist/shared/providers/feedback-provider.d.ts +8 -0
- package/dist/shared/services/http.d.ts +11 -0
- package/dist/shared/types/backend.types.d.ts +16 -0
- package/dist/shared/types/form-fields.types.d.ts +0 -0
- package/dist/shared/utils/utils.d.ts +18 -0
- package/dist/shared/zustand/alert.store.d.ts +16 -0
- package/dist/shared/zustand/session.store.d.ts +17 -0
- package/dist/style.css +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +69 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const LOGIN_API = "/guest/user/login";
|
|
2
|
+
export declare const AUTHENTICATE_TOKEN = "/guest/user/authenticateToken";
|
|
3
|
+
export declare const AWS_S3_READ_URL = "https://api.zimyo.app/files/attachments";
|
|
4
|
+
export declare const SEARCH_EMPLOYEES = "/admin/employee/search";
|
|
5
|
+
export declare const FETCH_MASTER_BADGES = "/admin/badge-master/list";
|
|
6
|
+
export declare const FECTCH_SKILL_RATING_LIST = "/admin/org-rating-skill/list";
|
|
7
|
+
export declare const FETCH_APPRECIATION_LIST = "/admin/appreciation/list";
|
|
8
|
+
export declare const CREATE_APPRECIATION = "/admin/appreciation/create";
|
|
9
|
+
export declare const FETCH_FEEDBACK_LIST = "/admin/feedback/list";
|
|
10
|
+
export declare const CREATE_FEEDBACK = "/admin/feedback/create";
|
|
11
|
+
export declare const FETCH_ONE_TO_ONE_LIST = "/admin/meeting/list";
|
|
12
|
+
export declare const FETCH_MEETING_LIST = "/admin/meeting";
|
|
13
|
+
export declare const CREATE_MEETING = "/admin/meeting/create";
|
|
14
|
+
export declare const RESCHEDULE_ONE_TO_ONE = "/admin/meeting/reschedule";
|
|
15
|
+
export declare const UPDATE_ONE_TO_ONE = "/admin/meeting/update";
|
|
16
|
+
export declare const CREATE_MEETING_REMARK = "/admin/meeting/remark/create";
|
|
17
|
+
export declare const GET_SEARCH_FIELDS = "/common/get-form-master";
|
|
18
|
+
export declare const GET_FORM_FIELDS = "/common/get-form-field";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const DYNAMIC_FORM_INPUT_TYPES: {
|
|
2
|
+
TEXT: "text";
|
|
3
|
+
NUMBER: "number";
|
|
4
|
+
TEXTAREA: "textarea";
|
|
5
|
+
SELECT: "select";
|
|
6
|
+
MULTI_SELECT: "multi-select";
|
|
7
|
+
CHECKBOX: "checkbox";
|
|
8
|
+
RADIO: "radio";
|
|
9
|
+
FILE: "file";
|
|
10
|
+
TIME: "time";
|
|
11
|
+
DATE: "date";
|
|
12
|
+
DATE_TIME: "date-time";
|
|
13
|
+
DATE_RANGE: "date-range";
|
|
14
|
+
SWITCH: "switch";
|
|
15
|
+
TEL: "tel";
|
|
16
|
+
URL: "url";
|
|
17
|
+
EMAIL: "email";
|
|
18
|
+
NUMERIC: "numeric";
|
|
19
|
+
DECIMAL: "decimal";
|
|
20
|
+
SEARCH: "search";
|
|
21
|
+
EDITOR: "editor";
|
|
22
|
+
};
|
|
23
|
+
export declare const FORM_MASTER_TYPES: {
|
|
24
|
+
TEXT: string;
|
|
25
|
+
NUMBER: string;
|
|
26
|
+
TEXTAREA: string;
|
|
27
|
+
SELECT: string;
|
|
28
|
+
MULTI_SELECT: string;
|
|
29
|
+
CHECKBOX: string;
|
|
30
|
+
RADIO: string;
|
|
31
|
+
FILE: string;
|
|
32
|
+
TIME: string;
|
|
33
|
+
DATE: string;
|
|
34
|
+
DATE_TIME: string;
|
|
35
|
+
DATE_RANGE: string;
|
|
36
|
+
SWITCH: string;
|
|
37
|
+
TEL: string;
|
|
38
|
+
URL: string;
|
|
39
|
+
EMAIL: string;
|
|
40
|
+
NUMERIC: string;
|
|
41
|
+
DECIMAL: string;
|
|
42
|
+
SEARCH: string;
|
|
43
|
+
EDITOR: string;
|
|
44
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const WEEK_DAY: string[];
|
|
2
|
+
export declare const WEEK_FULL_DAY: string[];
|
|
3
|
+
export declare const DAY_SUFFIX: {
|
|
4
|
+
1: string;
|
|
5
|
+
2: string;
|
|
6
|
+
3: string;
|
|
7
|
+
21: string;
|
|
8
|
+
22: string;
|
|
9
|
+
23: string;
|
|
10
|
+
31: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const MONTHS: {
|
|
13
|
+
1: string;
|
|
14
|
+
2: string;
|
|
15
|
+
3: string;
|
|
16
|
+
4: string;
|
|
17
|
+
5: string;
|
|
18
|
+
6: string;
|
|
19
|
+
7: string;
|
|
20
|
+
8: string;
|
|
21
|
+
9: string;
|
|
22
|
+
10: string;
|
|
23
|
+
11: string;
|
|
24
|
+
12: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const MONTHS_FULL: {
|
|
27
|
+
1: string;
|
|
28
|
+
2: string;
|
|
29
|
+
3: string;
|
|
30
|
+
4: string;
|
|
31
|
+
5: string;
|
|
32
|
+
6: string;
|
|
33
|
+
7: string;
|
|
34
|
+
8: string;
|
|
35
|
+
9: string;
|
|
36
|
+
10: string;
|
|
37
|
+
11: string;
|
|
38
|
+
12: string;
|
|
39
|
+
};
|
|
40
|
+
export declare const DATE_FORMATS: {
|
|
41
|
+
"d-M-Y": string;
|
|
42
|
+
"Y-m-d": string;
|
|
43
|
+
"m-d-Y": string;
|
|
44
|
+
"Y-d-m": string;
|
|
45
|
+
"d M y": string;
|
|
46
|
+
"F dS Y": string;
|
|
47
|
+
"F d Y": string;
|
|
48
|
+
"M d Y": string;
|
|
49
|
+
"d/m/y": string;
|
|
50
|
+
"d M Y h:i:s": string;
|
|
51
|
+
"d-M-y": string;
|
|
52
|
+
"h:i A": string;
|
|
53
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const useGlobalContants: (locale: string) => {
|
|
2
|
+
TARGET_SETTING_OPTIONS: {
|
|
3
|
+
label: string;
|
|
4
|
+
value: number;
|
|
5
|
+
}[];
|
|
6
|
+
ONE_TO_ONE_TYPES: {
|
|
7
|
+
value: number;
|
|
8
|
+
label: string;
|
|
9
|
+
}[];
|
|
10
|
+
COMPENSATION_TABS: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: number;
|
|
13
|
+
}[];
|
|
14
|
+
FEEDBACK_TABS: {
|
|
15
|
+
label: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}[];
|
|
18
|
+
MONTH_FILTERS_OPTIONS: ({
|
|
19
|
+
label: string;
|
|
20
|
+
value: undefined;
|
|
21
|
+
} | {
|
|
22
|
+
label: string;
|
|
23
|
+
value: number;
|
|
24
|
+
})[];
|
|
25
|
+
ONE_TO_ONE_SCHEDULE_OPTIONS: ({
|
|
26
|
+
label: string;
|
|
27
|
+
value: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
label: string;
|
|
30
|
+
value: number;
|
|
31
|
+
})[];
|
|
32
|
+
ONE_TO_ONE_MEDIUM_TYPES: {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { AxiosResponse } from "axios";
|
|
2
|
+
import { UseQueryOptions } from "react-query";
|
|
3
|
+
import { HttpServiceType } from "@services/http";
|
|
4
|
+
export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: AbortSignal | undefined) => Promise<AxiosResponse<any, any>>, apiPromiseArgs: HttpServiceType, key: any, queryOptions?: Omit<UseQueryOptions<any, any, any, any>, 'queryKey' | 'queryFn'>) => {
|
|
5
|
+
data: undefined;
|
|
6
|
+
error: null;
|
|
7
|
+
isError: false;
|
|
8
|
+
isIdle: true;
|
|
9
|
+
isLoading: false;
|
|
10
|
+
isLoadingError: false;
|
|
11
|
+
isRefetchError: false;
|
|
12
|
+
isSuccess: false;
|
|
13
|
+
status: "idle";
|
|
14
|
+
dataUpdatedAt: number;
|
|
15
|
+
errorUpdatedAt: number;
|
|
16
|
+
failureCount: number;
|
|
17
|
+
errorUpdateCount: number;
|
|
18
|
+
isFetched: boolean;
|
|
19
|
+
isFetchedAfterMount: boolean;
|
|
20
|
+
isFetching: boolean;
|
|
21
|
+
isPlaceholderData: boolean;
|
|
22
|
+
isPreviousData: boolean;
|
|
23
|
+
isRefetching: boolean;
|
|
24
|
+
isStale: boolean;
|
|
25
|
+
refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
|
|
26
|
+
remove: () => void;
|
|
27
|
+
rq_data: any;
|
|
28
|
+
} | {
|
|
29
|
+
data: undefined;
|
|
30
|
+
error: any;
|
|
31
|
+
isError: true;
|
|
32
|
+
isIdle: false;
|
|
33
|
+
isLoading: false;
|
|
34
|
+
isLoadingError: true;
|
|
35
|
+
isRefetchError: false;
|
|
36
|
+
isSuccess: false;
|
|
37
|
+
status: "error";
|
|
38
|
+
dataUpdatedAt: number;
|
|
39
|
+
errorUpdatedAt: number;
|
|
40
|
+
failureCount: number;
|
|
41
|
+
errorUpdateCount: number;
|
|
42
|
+
isFetched: boolean;
|
|
43
|
+
isFetchedAfterMount: boolean;
|
|
44
|
+
isFetching: boolean;
|
|
45
|
+
isPlaceholderData: boolean;
|
|
46
|
+
isPreviousData: boolean;
|
|
47
|
+
isRefetching: boolean;
|
|
48
|
+
isStale: boolean;
|
|
49
|
+
refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
|
|
50
|
+
remove: () => void;
|
|
51
|
+
rq_data: any;
|
|
52
|
+
} | {
|
|
53
|
+
data: undefined;
|
|
54
|
+
error: null;
|
|
55
|
+
isError: false;
|
|
56
|
+
isIdle: false;
|
|
57
|
+
isLoading: true;
|
|
58
|
+
isLoadingError: false;
|
|
59
|
+
isRefetchError: false;
|
|
60
|
+
isSuccess: false;
|
|
61
|
+
status: "loading";
|
|
62
|
+
dataUpdatedAt: number;
|
|
63
|
+
errorUpdatedAt: number;
|
|
64
|
+
failureCount: number;
|
|
65
|
+
errorUpdateCount: number;
|
|
66
|
+
isFetched: boolean;
|
|
67
|
+
isFetchedAfterMount: boolean;
|
|
68
|
+
isFetching: boolean;
|
|
69
|
+
isPlaceholderData: boolean;
|
|
70
|
+
isPreviousData: boolean;
|
|
71
|
+
isRefetching: boolean;
|
|
72
|
+
isStale: boolean;
|
|
73
|
+
refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
|
|
74
|
+
remove: () => void;
|
|
75
|
+
rq_data: any;
|
|
76
|
+
} | {
|
|
77
|
+
data: any;
|
|
78
|
+
error: any;
|
|
79
|
+
isError: true;
|
|
80
|
+
isIdle: false;
|
|
81
|
+
isLoading: false;
|
|
82
|
+
isLoadingError: false;
|
|
83
|
+
isRefetchError: true;
|
|
84
|
+
isSuccess: false;
|
|
85
|
+
status: "error";
|
|
86
|
+
dataUpdatedAt: number;
|
|
87
|
+
errorUpdatedAt: number;
|
|
88
|
+
failureCount: number;
|
|
89
|
+
errorUpdateCount: number;
|
|
90
|
+
isFetched: boolean;
|
|
91
|
+
isFetchedAfterMount: boolean;
|
|
92
|
+
isFetching: boolean;
|
|
93
|
+
isPlaceholderData: boolean;
|
|
94
|
+
isPreviousData: boolean;
|
|
95
|
+
isRefetching: boolean;
|
|
96
|
+
isStale: boolean;
|
|
97
|
+
refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
|
|
98
|
+
remove: () => void;
|
|
99
|
+
rq_data: any;
|
|
100
|
+
} | {
|
|
101
|
+
data: any;
|
|
102
|
+
error: null;
|
|
103
|
+
isError: false;
|
|
104
|
+
isIdle: false;
|
|
105
|
+
isLoading: false;
|
|
106
|
+
isLoadingError: false;
|
|
107
|
+
isRefetchError: false;
|
|
108
|
+
isSuccess: true;
|
|
109
|
+
status: "success";
|
|
110
|
+
dataUpdatedAt: number;
|
|
111
|
+
errorUpdatedAt: number;
|
|
112
|
+
failureCount: number;
|
|
113
|
+
errorUpdateCount: number;
|
|
114
|
+
isFetched: boolean;
|
|
115
|
+
isFetchedAfterMount: boolean;
|
|
116
|
+
isFetching: boolean;
|
|
117
|
+
isPlaceholderData: boolean;
|
|
118
|
+
isPreviousData: boolean;
|
|
119
|
+
isRefetching: boolean;
|
|
120
|
+
isStale: boolean;
|
|
121
|
+
refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
|
|
122
|
+
remove: () => void;
|
|
123
|
+
rq_data: any;
|
|
124
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseMutationResult } from "react-query";
|
|
2
|
+
import { HttpServiceType } from "../services/http";
|
|
3
|
+
import { BackendErrorType } from "../types/backend.types";
|
|
4
|
+
/**
|
|
5
|
+
* @author Manish Kumar
|
|
6
|
+
* @param {*} mutationFunction
|
|
7
|
+
* @param {*} queryKey
|
|
8
|
+
* @param {*} config
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export default function useConfigurableMutation<TData = unknown, TError = BackendErrorType, TVariables = HttpServiceType, TContext = unknown>(mutationFunction: any, queryKey: any, config?: any): UseMutationResult<TData, TError, TVariables, TContext>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface AuthProviderProps {
|
|
3
|
+
token: string;
|
|
4
|
+
apiURL: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
declare const FeedbackProvider: ({ token, apiURL, children }: AuthProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default FeedbackProvider;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type HttpServiceType = {
|
|
2
|
+
url: string;
|
|
3
|
+
token?: string;
|
|
4
|
+
data?: any;
|
|
5
|
+
params?: any;
|
|
6
|
+
isNativeEndpoint?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const getService: ({ url, token, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
+
export declare const postService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
|
+
export declare const patchService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
+
export declare const deleteService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AxiosError, AxiosResponse } from "axios";
|
|
2
|
+
export type UserType = any;
|
|
3
|
+
export type BackendResponseType<T> = AxiosResponse<{
|
|
4
|
+
error: boolean;
|
|
5
|
+
code: number;
|
|
6
|
+
message: string;
|
|
7
|
+
timestamp: string;
|
|
8
|
+
data: T;
|
|
9
|
+
}>;
|
|
10
|
+
export type BackendErrorType = AxiosError<{
|
|
11
|
+
error: boolean;
|
|
12
|
+
code: number;
|
|
13
|
+
message: string;
|
|
14
|
+
timestamp: string;
|
|
15
|
+
data: null;
|
|
16
|
+
}, any>;
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class util {
|
|
2
|
+
static toTitleCase: (toTransform: string) => string;
|
|
3
|
+
static dateFormatList: (object: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}, value: string) => any;
|
|
6
|
+
static getFullDateVar: (ip: any) => any;
|
|
7
|
+
static isDateValid(date: Date): boolean;
|
|
8
|
+
static getFormatedDate: (timestamp?: any, format?: string, checkFormatList?: Boolean) => string | null;
|
|
9
|
+
static validateDataType(value: unknown, type: 'string' | 'number' | 'boolean' | 'function' | 'array' | 'object'): boolean;
|
|
10
|
+
static convertFormMasterTypeToDynamicFormType: (type: string) => any;
|
|
11
|
+
static convertToFormData(data: any): FormData;
|
|
12
|
+
static convertTime: (timeString: string) => {
|
|
13
|
+
hours: string;
|
|
14
|
+
minutes: string;
|
|
15
|
+
seconds: string;
|
|
16
|
+
};
|
|
17
|
+
static convertToMinutes: (timeString: string) => number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AlertColor } from '@mui/material';
|
|
2
|
+
type State = {
|
|
3
|
+
alert: {
|
|
4
|
+
type?: AlertColor;
|
|
5
|
+
message?: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
type Actions = {
|
|
9
|
+
pushAlert: (payload: {
|
|
10
|
+
message?: string;
|
|
11
|
+
type: AlertColor;
|
|
12
|
+
}) => void;
|
|
13
|
+
clearAlert: () => void;
|
|
14
|
+
};
|
|
15
|
+
export declare const useAlertStore: import("zustand").UseBoundStore<import("zustand").StoreApi<State & Actions>>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type State = {
|
|
2
|
+
session: {
|
|
3
|
+
user: any;
|
|
4
|
+
token?: string;
|
|
5
|
+
apiURL?: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
type Actions = {
|
|
9
|
+
setSession: (payload: {
|
|
10
|
+
user: any;
|
|
11
|
+
token: string;
|
|
12
|
+
apiURL: string;
|
|
13
|
+
}) => void;
|
|
14
|
+
clearSession: () => void;
|
|
15
|
+
};
|
|
16
|
+
export declare const useSessionStore: import("zustand").UseBoundStore<import("zustand").StoreApi<State & Actions>>;
|
|
17
|
+
export {};
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.overlay{position:fixed;display:flex;width:100%;height:100%;top:0;left:0;right:0;bottom:0;cursor:pointer;align-items:center;justify-content:center;background-color:#fff;z-index:999}.overlay-component{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);transform:-webkit-translate(-50%,-50%);transform:-moz-translate(-50%,-50%);transform:-ms-translate(-50%,-50%);background-color:#fff0;z-index:999}.toggle-button-group{background:#f3f3f3;border-radius:4px;padding:0}.toggle-button-group>button{padding:7px 20px!important;font-weight:400;font-size:14px;line-height:18px;text-align:center;color:#615e69;border-radius:4px!important;margin:2px;border:none!important}._select_search_9kc6n_1 input{font-size:14px!important}._container_sqq3l_1{overflow:auto;display:flex;flex-direction:column;gap:1rem}._choose_employee_container_sqq3l_8{display:flex;align-items:center;gap:.5rem}._badges_container_sqq3l_14{gap:.5rem;display:flex;flex-direction:column}._badges_container_title_sqq3l_21{font-size:14px;font-weight:600}._avatar_container_sqq3l_26{display:flex;align-items:center;padding:4px 8px;background:#fff;border:1px solid #E8E8EA;border-radius:4px;font-weight:600;font-size:12px;color:#172b4d;margin-left:8px;gap:.5rem}._active_badge_sqq3l_40{border:1px solid rgba(10,122,255,.2);border-radius:8px}._badge_card_sqq3l_45{display:flex;flex-direction:row;align-items:center;padding:8px;gap:10px;width:100%;background:#fff;border-radius:8px}._badge_card_sqq3l_45 h3{font-style:normal;font-weight:600;font-size:14px;line-height:17px;margin:0 0 4px;padding:0;color:#172b4d}._badge_card_sqq3l_45 p{font-style:normal;font-weight:400;font-size:12px;line-height:15px;margin:0;padding:0;display:flex;align-items:center;color:#a5a3a9}._badge_card_sqq3l_45:hover{cursor:pointer}._overview__container__bg_1weye_1{width:100%!important;overflow:scroll;font-style:normal;padding:10px!important;background-color:#fafbfc;display:flex;flex-direction:column;gap:1rem}._one__icons__bottom_1weye_12{display:flex;align-items:center;margin-left:30px}._one__icons__bottom_1weye_12>p{display:flex;align-items:center;font-weight:400;font-size:12px;color:#615e69}._one__icons__bottom_1weye_12>p>span>svg{width:14px;height:14px;color:#615e69;margin-right:10px}._feedback__appreciation_1weye_33{text-align:center}._feedback__appreciation_1weye_33>h3{font-style:normal;font-weight:600;font-size:14px;line-height:17px;color:#172b4d}._feedback__appreciation_1weye_33>p{word-break:break-all}._feedback__rating_1weye_50{display:block;padding:12px;background:#fff;border:1px solid #EBECF0;border-radius:4px;margin-bottom:20px}._feedback__rating_1weye_50 h4{font-weight:600;font-size:14px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0}._feedback__rating_1weye_50>p{font-style:normal;font-weight:400;font-size:14px;line-height:19px;color:#172b4d;word-break:break-all}._icon__appriciate_1weye_79{margin-right:17px;align-items:center;display:flex;justify-content:center}._box__appriciate_1weye_86{display:flex}._box__top_appriciate_1weye_90{display:flex;width:100%;align-items:center;justify-content:"center"}._box__top_appriciate_1weye_90 h3{padding:0;margin:0;font-size:18px;line-height:20px;font-weight:600;cursor:pointer}._box__top_appriciate_1weye_90 p{padding:0;margin:7px 0 0;font-size:15px;color:#615e83;font:600}._summury__box_outline_1weye_114{background:#fff;border:1px solid #e8e8ea;border-radius:4px;margin-bottom:20px;padding:25px 20px}._overview__container__bg_12wla_1{width:100%!important;overflow:scroll;font-style:normal;padding:10px!important;background-color:#fafbfc;display:flex;flex-direction:column;gap:1rem}._feedback__rating_12wla_12{display:block;padding:12px;background:#fff;border:1px solid #EBECF0;border-radius:4px;margin-bottom:20px}._feedback__rating_12wla_12 h4{font-weight:600;font-size:14px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0}._feedback__rating_12wla_12>p{font-style:normal;font-weight:400;font-size:14px;line-height:19px;color:#172b4d;word-break:break-all}._previeww__color_12wla_42{font-weight:400;font-size:14px;line-height:100%;display:flex;align-items:center;color:#4c8bff;margin-top:4px;cursor:pointer}._skill__btns_12wla_53{display:inline-block;padding:2px 6px;width:auto;height:24px;background:#e6ecff;border-radius:4px;font-weight:400;font-size:14px;line-height:20px;color:#4c70ff}._item__centerdirector_12wla_66{display:flex;align-items:center}._images__structure_12wla_71{display:flex;flex-flow:wrap;column-gap:20px;margin-top:15px}._images__structure_12wla_71 img{width:100px;height:100px;object-fit:cover;border:1px solid #eee;background-color:#f2f2f2;margin-bottom:20px}._custom-descriptions-title_17b5o_10{font-weight:600;font-size:16px;line-height:24px}._custom-descriptions-item-label_17b5o_25{font-weight:400;font-size:14px;line-height:19px;letter-spacing:.02em;color:#4f4f4f}._custom-descriptions-item-content_17b5o_34{font-weight:600;font-size:14px;line-height:24px;display:flex;align-items:center;color:#172b4d}._overview__container__bg_1bch0_1{width:100%!important;overflow:scroll;font-style:normal;padding:10px!important;background-color:#fafbfc;display:flex;flex-direction:column;gap:1rem}._schedule__employee_search_1bch0_12{display:flex;align-items:center;padding:4px 8px;background:#fff;border-radius:4px;font-weight:600;font-size:12px;color:#172b4d;margin-left:8px}._schedule__employee_1bch0_12{display:flex;align-items:center;padding:4px 8px;background:#fff;border:1px solid #E8E8EA;border-radius:4px;font-weight:600;font-size:12px;color:#172b4d;margin-left:8px}._form_error_1bch0_37{display:flex;align-items:center;gap:.5rem;font-size:14px;color:red;margin-top:10px}._form_error_1bch0_37 p{margin:0!important}._skill__btns_1bch0_50{display:inline-block;padding:2px 6px;width:auto;height:24px;background:#e6ecff;border-radius:4px;font-weight:400;font-size:14px;line-height:20px;word-break:break-all;color:#4c70ff}._item__centerdirector_1bch0_65{display:flex;align-items:center}._closeRatingicon_1bch0_70{color:#757575;margin-left:10px;margin-top:5px;cursor:pointer}._footer__upload_assets_1bch0_77{opacity:.5!important;padding-right:15px}._one__to__one__card_1bch0_86{display:block;padding:12px;width:100%;height:78px;background:#fff;border:1px solid #EBECF0;border-radius:4px}._one__to__one__card__top_1bch0_96{display:flex;justify-content:space-between;align-items:center}._one__to__one__icon_1bch0_102{display:flex;flex-direction:row;align-items:flex-start;padding:4px;width:20px;height:20px;background:#f6faff;border-radius:20px;margin-right:12px}._one__to__one__icon_1bch0_102>svg{color:#4c8bff;width:12px;height:12px}._one__to__one__card__top_1bch0_96 h3{font-weight:600;font-size:16px;line-height:24px;display:flex;align-items:center;color:#172b4d;margin:0;padding:0;word-break:break-all}._one__to__one__card__top_1bch0_96 h3 span{font-weight:400;font-size:14px;line-height:22px;margin-left:12px;display:flex;align-items:center;color:#fac800}._face__to__face_1bch0_143{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:4px 8px;background:#fff;border:1px solid #EBECF0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#172b4d}._one__icons__bottom_1bch0_158{display:flex;align-items:center;margin-left:30px}._one__icons__bottom_1bch0_158>p{margin-right:20px;display:flex;align-items:center;font-weight:400;font-size:12px;color:#615e69}._one__icons__bottom_1bch0_158>p>span{display:flex;align-items:center;justify-content:center}._one__icons__bottom_1bch0_158>p>span>svg{width:14px;height:14px;color:#615e69;margin-right:10px}._one__to__one__reschedule_1bch0_186{font-weight:400;font-size:14px;line-height:18px;height:20px!important;cursor:pointer;align-items:center;text-align:center;letter-spacing:.1px;color:#335aff!important}._one__to__one__cancel_1bch0_198{font-weight:400;font-size:14px;line-height:18px;height:20px!important;cursor:pointer;align-items:center;text-align:center;letter-spacing:.1px;color:red!important}._meeting__details_am12w_1{padding:30px}._meeting__details__topbox_am12w_5{clear:both}._meeting__details__topbox_am12w_5 h3{font-style:normal;font-weight:600;font-size:20px;line-height:27px;color:#172b4d;padding:0;margin:0;display:flex;align-items:center}._meeting__details__topbox_am12w_5 ._meeting-desc_am12w_21{word-wrap:break-word}._meeting__details__topbox_am12w_5 h3 span{font-style:normal;font-weight:400;font-size:14px;line-height:22px;margin-left:10px}._meeting__details__topbox_am12w_5 p{font-style:normal;font-weight:400;font-size:12px;line-height:16px;color:#a5a3a9}._bottom_create_loaction_am12w_42{display:flex}._bottom_create_loaction_am12w_42>p{font-size:12px;line-height:22px;display:flex;align-items:center;color:#b3b3b3;padding-right:10px;margin-right:10px}._bottom_create_loaction_am12w_42>p:not(:last-child){border-right:1px solid #B3B3B3}._bottom_create_loaction_am12w_42>p>span{font-weight:400;font-size:14px;line-height:22px;display:flex;align-items:center;color:#615e69;margin-left:10px}._date__time__box_am12w_71{clear:auto;display:flex}._date__time__box_am12w_71>p{display:flex;justify-content:center;align-items:center;padding:6px 12px;height:28px;background:#fff;border:1px solid #EBECF0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#615e69;margin-right:24px}._date__time__box_am12w_71>p>span>svg{color:#615e69;width:14px;height:14px;margin-right:10px;float:left}._connected__meeting_am12w_100{display:flex;align-items:center;font-weight:400;font-size:14px;line-height:19px;color:#615e69}._connected__meeting_am12w_100>span{display:flex;align-items:center;justify-content:center}._connected__meeting_am12w_100>span>svg{color:#615e69;width:20px;height:20px}._connected__meeting_am12w_100 span{color:#172b4d;margin-left:10px}._remarks__meeting_am12w_126{clear:both;padding:12px;isolation:isolate;background:#fff;border:1px solid #EBECF0;border-radius:8px;margin-top:30px}._remarks__meeting_am12w_126 h4{justify-content:space-between;font-weight:600;font-size:14px;line-height:20px;display:flex;align-items:center;color:#172b4d;margin:0 0 15px}._remarks__meeting_am12w_126 h4 span{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:4px 8px;height:20px;background:#fff;border:1px solid #EBECF0;border-radius:4px;font-weight:400;font-size:12px;line-height:16px;color:#172b4d}._remarks__meeting_am12w_126 p{font-weight:400;font-size:14px;line-height:19px;color:#172b4d;margin:0;padding:0;word-break:break-all}._images__structure_am12w_175{display:flex;flex-flow:wrap;column-gap:20px;margin-top:15px}._images__structure_am12w_175 img{width:150px;height:150px;object-fit:contain;border:1px solid #eee;background-color:#f2f2f2;margin-bottom:20px}._previeww__color_am12w_190{font-weight:400;font-size:14px;line-height:100%;display:flex;align-items:center;color:#4c8bff;margin-top:4px;cursor:pointer}._comment__users__meeting_am12w_201{display:flex;align-items:center;justify-content:flex-start;font-weight:600;font-size:16px;line-height:21px;color:#172b4d;margin-top:15px}._comment__users__meeting_am12w_201>span{font-style:normal;font-weight:400;font-size:14px;line-height:19px;margin-left:6px;color:#afafaf}._editor__remarks_am12w_221{height:auto;background:#fff;border:1px solid #A5A3A9;border-radius:8px;margin-top:30px;padding:4px}._editor__bottom_am12w_230{display:flex;justify-content:space-between;padding:15px}._editor__bottom_am12w_230 span{float:left;cursor:pointer}._editor__bottom_am12w_230 span>svg{opacity:.5}
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zimyo/engage",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/main.es.js",
|
|
12
|
+
"require": "./dist/main.cjs.js",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"main": "./dist/main.cjs.js",
|
|
17
|
+
"module": "./dist/main.es.js",
|
|
18
|
+
"typings": "./dist/main.d.ts",
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "vite",
|
|
24
|
+
"build": "tsc && vite build",
|
|
25
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
26
|
+
"preview": "vite preview"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@emotion/react": "^11.11.4",
|
|
30
|
+
"@emotion/styled": "^11.11.5",
|
|
31
|
+
"@hookform/resolvers": "^3.4.0",
|
|
32
|
+
"@mui/icons-material": "^5.15.17",
|
|
33
|
+
"@mui/material": "^5.15.17",
|
|
34
|
+
"@react-pdf-viewer/core": "^3.12.0",
|
|
35
|
+
"@react-pdf-viewer/default-layout": "^3.12.0",
|
|
36
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
37
|
+
"@types/lodash": "^4.17.4",
|
|
38
|
+
"@zimyo/components": "^4.2.4",
|
|
39
|
+
"@zimyo/design-system": "^4.0.0",
|
|
40
|
+
"axios": "^1.6.8",
|
|
41
|
+
"lodash": "^4.17.21",
|
|
42
|
+
"moment": "^2.30.1",
|
|
43
|
+
"pdfjs-dist": "^3.4.120",
|
|
44
|
+
"react": "^18.2.0",
|
|
45
|
+
"react-dom": "^18.2.0",
|
|
46
|
+
"react-hook-form": "^7.51.4",
|
|
47
|
+
"react-icons": "^5.2.1",
|
|
48
|
+
"react-intl": "^6.6.6",
|
|
49
|
+
"react-pdf": "^9.0.0",
|
|
50
|
+
"react-query": "^3.39.3",
|
|
51
|
+
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
52
|
+
"tinycolor2": "^1.6.0",
|
|
53
|
+
"vite-plugin-dts": "^3.9.1",
|
|
54
|
+
"zod": "^3.23.8",
|
|
55
|
+
"zustand": "^4.5.2"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@types/react": "^18.2.66",
|
|
59
|
+
"@types/react-dom": "^18.2.22",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
61
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
62
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
63
|
+
"eslint": "^8.57.0",
|
|
64
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
65
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
66
|
+
"typescript": "^5.2.2",
|
|
67
|
+
"vite": "^5.2.0"
|
|
68
|
+
}
|
|
69
|
+
}
|