@zimyo/engage 0.0.28 → 0.0.30
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/components/feedback/appreciation/badge-master/badge-master.d.ts +5 -0
- package/dist/components/feedback/appreciation/list/appreciation-list.d.ts +1 -4
- package/dist/components/feedback/appreciation/modal/appreciation-modal.d.ts +1 -10
- package/dist/components/feedback/continuous-feedback/list/continuous-feedback-list.d.ts +1 -4
- package/dist/components/feedback/continuous-feedback/modal/continuous-feedback-modal.d.ts +1 -10
- package/dist/components/feedback/continuous-feedback/modal/form.schema.d.ts +3 -4
- package/dist/components/feedback/one-to-one/constants.d.ts +0 -3
- package/dist/components/feedback/one-to-one/list/one-to-one-list.d.ts +1 -4
- package/dist/components/feedback/one-to-one/reschedule-modal/form.schema.d.ts +1 -2
- package/dist/components/feedback/one-to-one/reschedule-modal/reschedule-modal.d.ts +1 -5
- package/dist/components/feedback/one-to-one/schedule-modal/form.schema.d.ts +5 -6
- package/dist/components/feedback/one-to-one/schedule-modal/schedule-modal.d.ts +1 -10
- package/dist/components/feedback/one-to-one/view-details-modal/form.schema.d.ts +2 -3
- package/dist/components/feedback/one-to-one/view-details-modal/view-details-modal.d.ts +1 -8
- package/dist/components/ui/alert/alert.d.ts +1 -2
- package/dist/components/ui/button/button.d.ts +5 -5
- package/dist/components/ui/header-title/header-title.d.ts +7 -1
- package/dist/components/ui/image-viewer/image-viewer.d.ts +1 -1
- package/dist/components/ui/multi-select/async/multi-select.d.ts +8 -11
- package/dist/components/ui/pdf-viewer/pdf.viewer.d.ts +1 -1
- package/dist/components/ui/spinner/spinner.d.ts +1 -1
- package/dist/components/ui/toggle-button/toggle-button.d.ts +2 -1
- package/dist/main.cjs +262 -262
- package/dist/main.d.ts +9 -7
- package/dist/main.js +32872 -36740
- package/dist/shared/constants/endpoints.d.ts +3 -7
- package/dist/shared/hooks/useFetch.d.ts +8 -9
- package/dist/shared/hooks/useMutation.d.ts +3 -4
- package/dist/shared/providers/auth-provider.d.ts +5 -6
- package/dist/shared/providers/engage-provider.d.ts +2 -3
- package/dist/shared/services/http.d.ts +4 -4
- package/dist/shared/types/backend.types.d.ts +1 -2
- package/dist/shared/utils/utils.d.ts +1 -0
- package/dist/shared/zustand/alert.store.d.ts +1 -2
- package/dist/shared/zustand/session.store.d.ts +5 -5
- package/dist/style.css +1 -1
- package/package.json +3 -7
- package/dist/shared/hooks/useDarkColor.d.ts +0 -3
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export type CreateAppreciationModalProps = {
|
|
3
|
-
open: boolean;
|
|
4
|
-
setOpen: (value: React.SetStateAction<boolean>) => void;
|
|
5
|
-
employee?: any;
|
|
6
|
-
empIdKey?: string;
|
|
7
|
-
empNameKey?: string;
|
|
8
|
-
empCodeKey?: string;
|
|
9
|
-
empProfileImageKey?: string;
|
|
10
|
-
};
|
|
1
|
+
import { CreateAppreciationModalProps } from "@/index";
|
|
11
2
|
export declare const AppreciationModal: (props: CreateAppreciationModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
employee_id?: number;
|
|
3
|
-
CONCERN?: string;
|
|
4
|
-
};
|
|
1
|
+
import { ContinuousFeedbackListProps } from '@/index';
|
|
5
2
|
export declare const ContinuousFeedbackList: (props: ContinuousFeedbackListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export type ContinuousFeedbackModalProps = {
|
|
3
|
-
open: boolean;
|
|
4
|
-
setOpen: (value: React.SetStateAction<boolean>) => void;
|
|
5
|
-
employee?: any;
|
|
6
|
-
empIdKey?: string;
|
|
7
|
-
empNameKey?: string;
|
|
8
|
-
empCodeKey?: string;
|
|
9
|
-
empProfileImageKey?: string;
|
|
10
|
-
};
|
|
1
|
+
import { ContinuousFeedbackModalProps } from "@/index";
|
|
11
2
|
export declare const ContinuousFeedbackModal: (props: ContinuousFeedbackModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
|
|
1
|
+
import { z } from "zod";
|
|
3
2
|
export declare const ContinuousFeedbackFormSchema: z.ZodObject<{
|
|
4
3
|
FEEDBACK_FOR: z.ZodNumber;
|
|
5
4
|
FEEDBACK_TITLE: z.ZodString;
|
|
@@ -17,11 +16,11 @@ export declare const ContinuousFeedbackFormSchema: z.ZodObject<{
|
|
|
17
16
|
RATING: number;
|
|
18
17
|
}>, "many">>;
|
|
19
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
FILES: any[];
|
|
20
|
+
IMAGES: any[];
|
|
20
21
|
FEEDBACK_FOR: number;
|
|
21
22
|
FEEDBACK_TITLE: string;
|
|
22
23
|
FEEDBACK_CONTENT: string;
|
|
23
|
-
FILES: any[];
|
|
24
|
-
IMAGES: any[];
|
|
25
24
|
SKILL_RATING: {
|
|
26
25
|
NAME: string;
|
|
27
26
|
RATING: number;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export type ReScheduleOneToOneModalProps = {
|
|
3
|
-
meetingId: number | undefined;
|
|
4
|
-
setMeetingId: (value: React.SetStateAction<number | undefined>) => void;
|
|
5
|
-
};
|
|
1
|
+
import { ReScheduleOneToOneModalProps } from '@/index';
|
|
6
2
|
export declare const ReScheduleOneToOneModal: (props: ReScheduleOneToOneModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
|
|
1
|
+
import { z } from "zod";
|
|
3
2
|
export declare const ScheduleOneToOneFormSchema: z.ZodObject<{
|
|
4
3
|
MEETING_TITLE: z.ZodString;
|
|
5
4
|
DESCRIPTION: z.ZodOptional<z.ZodString>;
|
|
@@ -11,21 +10,21 @@ export declare const ScheduleOneToOneFormSchema: z.ZodObject<{
|
|
|
11
10
|
MEDIUM_ALIAS: z.ZodOptional<z.ZodString>;
|
|
12
11
|
}, "strip", z.ZodTypeAny, {
|
|
13
12
|
DATE: string;
|
|
14
|
-
MEETING_TITLE: string;
|
|
15
|
-
SCHEDULE_WITH: number;
|
|
16
13
|
START_TIME: string;
|
|
17
14
|
DURATION: string;
|
|
15
|
+
MEETING_TITLE: string;
|
|
16
|
+
SCHEDULE_WITH: number;
|
|
18
17
|
MEDIUM: number;
|
|
19
18
|
DESCRIPTION?: string | undefined;
|
|
20
19
|
MEDIUM_ALIAS?: string | undefined;
|
|
21
20
|
}, {
|
|
21
|
+
DURATION: string;
|
|
22
22
|
MEETING_TITLE: string;
|
|
23
23
|
SCHEDULE_WITH: number;
|
|
24
|
-
DURATION: string;
|
|
25
24
|
MEDIUM: number;
|
|
26
|
-
DESCRIPTION?: string | undefined;
|
|
27
25
|
DATE?: string | undefined;
|
|
28
26
|
START_TIME?: string | undefined;
|
|
27
|
+
DESCRIPTION?: string | undefined;
|
|
29
28
|
MEDIUM_ALIAS?: string | undefined;
|
|
30
29
|
}>;
|
|
31
30
|
export type ScheduleOneToOneFormType = z.infer<typeof ScheduleOneToOneFormSchema>;
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export type ScheduleOneToOneModalProps = {
|
|
3
|
-
open: boolean;
|
|
4
|
-
setOpen: (value: React.SetStateAction<boolean>) => void;
|
|
5
|
-
employee?: any;
|
|
6
|
-
empIdKey?: string;
|
|
7
|
-
empNameKey?: string;
|
|
8
|
-
empCodeKey?: string;
|
|
9
|
-
empProfileImageKey?: string;
|
|
10
|
-
};
|
|
1
|
+
import { ScheduleOneToOneModalProps } from '@/index';
|
|
11
2
|
export declare const OneToOneModal: (props: ScheduleOneToOneModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
|
|
1
|
+
import { z } from "zod";
|
|
3
2
|
export declare const OneToOneDetailsFormSchema: z.ZodObject<{
|
|
4
3
|
TEXT: z.ZodString;
|
|
5
4
|
FILES: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
|
|
6
5
|
IMAGES: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
|
|
7
6
|
VISIBLE_TO: z.ZodDefault<z.ZodNumber>;
|
|
8
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
TEXT: string;
|
|
9
9
|
FILES: any[];
|
|
10
10
|
IMAGES: any[];
|
|
11
|
-
TEXT: string;
|
|
12
11
|
VISIBLE_TO: number;
|
|
13
12
|
}, {
|
|
14
13
|
TEXT: string;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export type ViewOneToOneDetailsModalProps = {
|
|
4
|
-
meetingId: number | undefined;
|
|
5
|
-
setMeetingId: (value: React.SetStateAction<number | undefined>) => void;
|
|
6
|
-
reScheduleModalMeetingId: number | undefined;
|
|
7
|
-
setReScheduleModalMeetingId: (value: React.SetStateAction<number | undefined>) => void;
|
|
8
|
-
};
|
|
1
|
+
import { ViewOneToOneDetailsModalProps } from '@/index';
|
|
9
2
|
export declare const ViewOneToOneDetailsModal: (props: ViewOneToOneDetailsModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
3
|
export default ViewOneToOneDetailsModal;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
interface
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps } from '@mui/material';
|
|
3
|
+
interface Props extends ButtonProps {
|
|
4
4
|
label: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
loader?: boolean;
|
|
@@ -10,5 +10,5 @@ interface ButtonProps extends MuiButtonProps {
|
|
|
10
10
|
ref?: React.Ref<HTMLButtonElement>;
|
|
11
11
|
color?: string | any;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
export
|
|
13
|
+
declare const Button: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default Button;
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export declare const CustomHeaderTitle: ({ title, icon }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const useImageViewer: () => {
|
|
3
3
|
imageURL: string | undefined;
|
|
4
|
-
setImageURL: import(
|
|
4
|
+
setImageURL: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
|
|
5
5
|
ImageViewer: () => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
};
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import { CSSObjectWithLabel, Props } from 'react-select';
|
|
2
|
-
|
|
3
1
|
type props = {
|
|
4
2
|
searchKey: string;
|
|
5
3
|
reqParams: {
|
|
6
4
|
[key: string]: any;
|
|
7
5
|
};
|
|
8
6
|
endpoint: string;
|
|
9
|
-
|
|
10
|
-
optionTitleFn: (item: any) => string;
|
|
11
|
-
onChange: any;
|
|
7
|
+
optionValue: string;
|
|
12
8
|
inputPlaceHolder?: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
optionTitleFn: (item: any) => string;
|
|
10
|
+
onChange?: (value: {
|
|
11
|
+
title: string;
|
|
12
|
+
value: any;
|
|
13
|
+
}) => void;
|
|
17
14
|
};
|
|
18
15
|
/**
|
|
19
|
-
* @description Async multi select component on top of
|
|
20
|
-
* @author
|
|
16
|
+
* @description Async multi select component on top of material ui .
|
|
17
|
+
* @author Pawan Gupta
|
|
21
18
|
*/
|
|
22
19
|
export declare const MultiSelectAsync: (props: props) => import("react/jsx-runtime").JSX.Element;
|
|
23
20
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const usePdfViewer: () => {
|
|
3
3
|
pdfURL: string | undefined;
|
|
4
|
-
setPdfURL: import(
|
|
4
|
+
setPdfURL: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
|
|
5
5
|
PdfViewer: () => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
};
|