@zimyo/engage 0.0.26 → 0.0.28

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 (34) hide show
  1. package/dist/components/feedback/appreciation/list/appreciation-list.d.ts +4 -1
  2. package/dist/components/feedback/appreciation/modal/appreciation-modal.d.ts +10 -1
  3. package/dist/components/feedback/continuous-feedback/list/continuous-feedback-list.d.ts +4 -1
  4. package/dist/components/feedback/continuous-feedback/modal/continuous-feedback-modal.d.ts +10 -1
  5. package/dist/components/feedback/continuous-feedback/modal/form.schema.d.ts +2 -1
  6. package/dist/components/feedback/one-to-one/list/one-to-one-list.d.ts +4 -1
  7. package/dist/components/feedback/one-to-one/reschedule-modal/form.schema.d.ts +2 -1
  8. package/dist/components/feedback/one-to-one/reschedule-modal/reschedule-modal.d.ts +5 -1
  9. package/dist/components/feedback/one-to-one/schedule-modal/form.schema.d.ts +2 -1
  10. package/dist/components/feedback/one-to-one/schedule-modal/schedule-modal.d.ts +10 -1
  11. package/dist/components/feedback/one-to-one/view-details-modal/form.schema.d.ts +2 -1
  12. package/dist/components/feedback/one-to-one/view-details-modal/view-details-modal.d.ts +8 -1
  13. package/dist/components/ui/alert/alert.d.ts +2 -1
  14. package/dist/components/ui/button/button.d.ts +1 -1
  15. package/dist/components/ui/image-viewer/image-viewer.d.ts +1 -1
  16. package/dist/components/ui/multi-select/async/multi-select.d.ts +2 -1
  17. package/dist/components/ui/pdf-viewer/pdf.viewer.d.ts +1 -1
  18. package/dist/components/ui/spinner/spinner.d.ts +1 -1
  19. package/dist/components/ui/toggle-button/toggle-button.d.ts +1 -1
  20. package/dist/main.cjs +250 -250
  21. package/dist/main.d.ts +7 -7
  22. package/dist/main.js +30114 -27016
  23. package/dist/shared/hooks/useDarkColor.d.ts +2 -1
  24. package/dist/shared/hooks/useFetch.d.ts +9 -8
  25. package/dist/shared/hooks/useMutation.d.ts +4 -3
  26. package/dist/shared/providers/auth-provider.d.ts +2 -1
  27. package/dist/shared/providers/engage-provider.d.ts +1 -0
  28. package/dist/shared/services/http.d.ts +4 -4
  29. package/dist/shared/types/backend.types.d.ts +2 -1
  30. package/dist/shared/types/form-fields.types.d.ts +0 -0
  31. package/dist/shared/zustand/alert.store.d.ts +2 -1
  32. package/dist/shared/zustand/session.store.d.ts +1 -1
  33. package/dist/style.css +1 -1
  34. package/package.json +4 -2
@@ -1,2 +1,5 @@
1
- import { AppreciationListProps } from '@/index';
1
+ export type AppreciationListProps = {
2
+ employee_id?: number;
3
+ CONCERN: string;
4
+ };
2
5
  export declare const AppreciationList: (props: AppreciationListProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,11 @@
1
- import { CreateAppreciationModalProps } from "@/index";
1
+ /// <reference types="react" />
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
+ };
2
11
  export declare const AppreciationModal: (props: CreateAppreciationModalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,5 @@
1
- import { ContinuousFeedbackListProps } from '@/index';
1
+ export type ContinuousFeedbackListProps = {
2
+ employee_id?: number;
3
+ CONCERN?: string;
4
+ };
2
5
  export declare const ContinuousFeedbackList: (props: ContinuousFeedbackListProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,11 @@
1
- import { ContinuousFeedbackModalProps } from "@/index";
1
+ /// <reference types="react" />
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
+ };
2
11
  export declare const ContinuousFeedbackModal: (props: ContinuousFeedbackModalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
+
2
3
  export declare const ContinuousFeedbackFormSchema: z.ZodObject<{
3
4
  FEEDBACK_FOR: z.ZodNumber;
4
5
  FEEDBACK_TITLE: z.ZodString;
@@ -1,2 +1,5 @@
1
- import { OneToOneListType } from "@/index";
1
+ export type OneToOneListType = {
2
+ employee_id?: number;
3
+ CONCERN?: string;
4
+ };
2
5
  export declare const OneToOneList: (props: OneToOneListType) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
+
2
3
  export declare const RescheduleOneToOneFormSchema: z.ZodObject<{
3
4
  DATE: z.ZodDefault<z.ZodString>;
4
5
  START_TIME: z.ZodDefault<z.ZodString>;
@@ -1,2 +1,6 @@
1
- import { ReScheduleOneToOneModalProps } from '@/index';
1
+ /// <reference types="react" />
2
+ export type ReScheduleOneToOneModalProps = {
3
+ meetingId: number | undefined;
4
+ setMeetingId: (value: React.SetStateAction<number | undefined>) => void;
5
+ };
2
6
  export declare const ReScheduleOneToOneModal: (props: ReScheduleOneToOneModalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
+
2
3
  export declare const ScheduleOneToOneFormSchema: z.ZodObject<{
3
4
  MEETING_TITLE: z.ZodString;
4
5
  DESCRIPTION: z.ZodOptional<z.ZodString>;
@@ -1,2 +1,11 @@
1
- import { ScheduleOneToOneModalProps } from '@/index';
1
+ /// <reference types="react" />
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
+ };
2
11
  export declare const OneToOneModal: (props: ScheduleOneToOneModalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
+
2
3
  export declare const OneToOneDetailsFormSchema: z.ZodObject<{
3
4
  TEXT: z.ZodString;
4
5
  FILES: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
@@ -1,3 +1,10 @@
1
- import { ViewOneToOneDetailsModalProps } from '@/index';
1
+ import { default as React } from 'react';
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
+ };
2
9
  export declare const ViewOneToOneDetailsModal: (props: ViewOneToOneDetailsModalProps) => import("react/jsx-runtime").JSX.Element;
3
10
  export default ViewOneToOneDetailsModal;
@@ -1,4 +1,5 @@
1
- import { AlertColor } from "@mui/material";
1
+ import { AlertColor } from '@mui/material';
2
+
2
3
  declare const AlertComponent: (props: {
3
4
  type: AlertColor | undefined;
4
5
  message?: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps as MuiButtonProps } from '@mui/material';
2
+
3
3
  interface ButtonProps extends MuiButtonProps {
4
4
  label: string;
5
5
  className?: string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useImageViewer: () => {
3
3
  imageURL: string | undefined;
4
- setImageURL: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
4
+ setImageURL: import('react').Dispatch<import('react').SetStateAction<string | undefined>>;
5
5
  ImageViewer: () => import("react/jsx-runtime").JSX.Element;
6
6
  };
@@ -1,4 +1,5 @@
1
- import type { CSSObjectWithLabel, Props } from "react-select";
1
+ import { CSSObjectWithLabel, Props } from 'react-select';
2
+
2
3
  type props = {
3
4
  searchKey: string;
4
5
  reqParams: {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const usePdfViewer: () => {
3
3
  pdfURL: string | undefined;
4
- setPdfURL: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
4
+ setPdfURL: import('react').Dispatch<import('react').SetStateAction<string | undefined>>;
5
5
  PdfViewer: () => import("react/jsx-runtime").JSX.Element;
6
6
  };
@@ -1,4 +1,4 @@
1
- import "./spinner.css";
1
+
2
2
  type props = {
3
3
  visible: boolean;
4
4
  type?: "component" | "table" | "skeleton";
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+
2
2
  type ToggleButtonType = {
3
3
  items: {
4
4
  label: string;