@zimyo/engage 0.0.29 → 0.0.31

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 (28) hide show
  1. package/dist/components/feedback/appreciation/badge-master/badge-master.d.ts +5 -0
  2. package/dist/components/feedback/appreciation/badge-master/modal/badge-modal.d.ts +0 -0
  3. package/dist/components/feedback/appreciation/badge-master/modal/form.schema.d.ts +18 -0
  4. package/dist/components/feedback/appreciation/list/appreciation-list.d.ts +5 -2
  5. package/dist/components/feedback/appreciation/modal/appreciation-modal.d.ts +11 -2
  6. package/dist/components/feedback/configration/feedback-configration.d.ts +1 -0
  7. package/dist/components/feedback/continuous-feedback/list/continuous-feedback-list.d.ts +5 -2
  8. package/dist/components/feedback/continuous-feedback/modal/continuous-feedback-modal.d.ts +11 -2
  9. package/dist/components/feedback/one-to-one/list/one-to-one-list.d.ts +5 -2
  10. package/dist/components/feedback/one-to-one/reschedule-modal/reschedule-modal.d.ts +6 -2
  11. package/dist/components/feedback/one-to-one/schedule-modal/schedule-modal.d.ts +11 -2
  12. package/dist/components/feedback/one-to-one/view-details-modal/view-details-modal.d.ts +8 -2
  13. package/dist/components/ui/header-title/header-title.d.ts +7 -1
  14. package/dist/components/ui/multi-select/multi-select.d.ts +18 -0
  15. package/dist/index.d.ts +2 -0
  16. package/dist/main.cjs +257 -257
  17. package/dist/main.d.ts +9 -7
  18. package/dist/main.js +32091 -30554
  19. package/dist/shared/constants/endpoints.d.ts +12 -0
  20. package/dist/shared/constants/time.d.ts +2 -2
  21. package/dist/shared/hooks/useConstants.d.ts +8 -8
  22. package/dist/shared/hooks/useLoading.d.ts +1 -0
  23. package/dist/shared/types/backend.types.d.ts +4 -0
  24. package/dist/shared/utils/utils.d.ts +1 -0
  25. package/dist/shared/zustand/alert.store.d.ts +4 -0
  26. package/dist/style.css +1 -1
  27. package/package.json +4 -6
  28. package/dist/components/ui/multi-select/async/multi-select.d.ts +0 -20
@@ -0,0 +1,5 @@
1
+ export declare const LIBRARY_MODALS: {
2
+ CREATE: string;
3
+ EDIT: string;
4
+ };
5
+ export declare const BadgeMaster: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { z } from "zod";
2
+ export declare const BadgeFormSchema: z.ZodObject<{
3
+ TITLE: z.ZodString;
4
+ DESCRIPTION: z.ZodString;
5
+ BADGE_LOGO: z.ZodString;
6
+ APPERICATION_REMARKS: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ DESCRIPTION: string;
9
+ TITLE: string;
10
+ APPERICATION_REMARKS: string;
11
+ BADGE_LOGO: string;
12
+ }, {
13
+ DESCRIPTION: string;
14
+ TITLE: string;
15
+ APPERICATION_REMARKS: string;
16
+ BADGE_LOGO: string;
17
+ }>;
18
+ export type BadgeFormSchemaType = z.infer<typeof BadgeFormSchema>;
@@ -1,2 +1,5 @@
1
- import { AppreciationListProps } from '@/index';
2
- export declare const AppreciationList: (props: AppreciationListProps) => import("react/jsx-runtime").JSX.Element;
1
+ export type Props = {
2
+ employee_id?: number;
3
+ CONCERN?: string;
4
+ };
5
+ export declare const AppreciationList: (props: Props) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,11 @@
1
- import { CreateAppreciationModalProps } from "@/index";
2
- export declare const AppreciationModal: (props: CreateAppreciationModalProps) => import("react/jsx-runtime").JSX.Element;
1
+ /// <reference types="react" />
2
+ export type Props = {
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
+ };
11
+ export declare const AppreciationModal: (props: Props) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const FeedbackConfigration: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,5 @@
1
- import { ContinuousFeedbackListProps } from '@/index';
2
- export declare const ContinuousFeedbackList: (props: ContinuousFeedbackListProps) => import("react/jsx-runtime").JSX.Element;
1
+ export type Props = {
2
+ employee_id?: number;
3
+ CONCERN?: string;
4
+ };
5
+ export declare const ContinuousFeedbackList: (props: Props) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,11 @@
1
- import { ContinuousFeedbackModalProps } from "@/index";
2
- export declare const ContinuousFeedbackModal: (props: ContinuousFeedbackModalProps) => import("react/jsx-runtime").JSX.Element;
1
+ /// <reference types="react" />
2
+ export type Props = {
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
+ };
11
+ export declare const ContinuousFeedbackModal: (props: Props) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,5 @@
1
- import { OneToOneListType } from "@/index";
2
- export declare const OneToOneList: (props: OneToOneListType) => import("react/jsx-runtime").JSX.Element;
1
+ export type Props = {
2
+ employee_id?: number;
3
+ CONCERN?: string;
4
+ };
5
+ export declare const OneToOneList: (props: Props) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,6 @@
1
- import { ReScheduleOneToOneModalProps } from '@/index';
2
- export declare const ReScheduleOneToOneModal: (props: ReScheduleOneToOneModalProps) => import("react/jsx-runtime").JSX.Element;
1
+ /// <reference types="react" />
2
+ export type Props = {
3
+ meetingId: number | undefined;
4
+ setMeetingId: (value: React.SetStateAction<number | undefined>) => void;
5
+ };
6
+ export declare const ReScheduleOneToOneModal: (props: Props) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,11 @@
1
- import { ScheduleOneToOneModalProps } from '@/index';
2
- export declare const OneToOneModal: (props: ScheduleOneToOneModalProps) => import("react/jsx-runtime").JSX.Element;
1
+ /// <reference types="react" />
2
+ export type props = {
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
+ };
11
+ export declare const OneToOneModal: (props: props) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,9 @@
1
- import { ViewOneToOneDetailsModalProps } from '@/index';
2
- export declare const ViewOneToOneDetailsModal: (props: ViewOneToOneDetailsModalProps) => import("react/jsx-runtime").JSX.Element;
1
+ import React from 'react';
2
+ export type Props = {
3
+ meetingId: number | undefined;
4
+ setMeetingId: (value: React.SetStateAction<number | undefined>) => void;
5
+ reScheduleModalMeetingId: number | undefined;
6
+ setReScheduleModalMeetingId: (value: React.SetStateAction<number | undefined>) => void;
7
+ };
8
+ export declare const ViewOneToOneDetailsModal: (props: Props) => import("react/jsx-runtime").JSX.Element;
3
9
  export default ViewOneToOneDetailsModal;
@@ -1 +1,7 @@
1
- export declare const CustomHeaderTitle: (title: string, icon?: React.ReactNode) => import("react/jsx-runtime").JSX.Element;
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 {};
@@ -0,0 +1,18 @@
1
+ import { CustomSelectOption } from '@/shared/types/backend.types';
2
+ import { AsyncProps } from "react-select/async";
3
+ type Props = {
4
+ searchKey?: string;
5
+ reqParams?: {
6
+ [key: string]: any;
7
+ };
8
+ endpoint?: string;
9
+ optionValue?: string;
10
+ inputPlaceHolder?: string;
11
+ optionTitleFn?: (item: any) => string;
12
+ } & AsyncProps<CustomSelectOption, boolean, any>;
13
+ /**
14
+ * @description Async multi select component on top of react-select.
15
+ * @author Saurabh Jadhao & Pawan Gupta
16
+ */
17
+ export declare const MultiSelect: (props: Props) => import("react/jsx-runtime").JSX.Element;
18
+ export {};
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ import './app.css';