@zimyo/engage 0.1.4-pms → 0.1.5-hrms
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 -30
- package/dist/components/feedback/continuous-feedback/modal/form.schema.d.ts +3 -0
- package/dist/components/pip/constant.d.ts +12 -0
- package/dist/components/pip/pip-notification/pip-notifiation-template.d.ts +7 -0
- package/dist/components/pip/pip-notification/pip-notification.d.ts +1 -0
- package/dist/components/pip/view-details/view-details.d.ts +4 -9
- package/dist/components/ui/editor/editor.d.ts +12 -0
- package/dist/main.cjs +604 -305
- package/dist/main.d.ts +2 -0
- package/dist/main.js +82110 -62497
- package/dist/shared/constants/endpoints.d.ts +4 -0
- package/dist/shared/providers/auth-provider.d.ts +2 -2
- package/dist/shared/providers/engage-provider.d.ts +2 -2
- package/dist/shared/utils/utils.d.ts +1 -0
- package/dist/shared/zustand/session.store.d.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +89 -87
- package/dist/shared/constants/OAuthScope.d.ts +0 -1
package/README.md
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
# React + TypeScript + Vite
|
|
2
|
-
|
|
3
|
-
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
-
|
|
5
|
-
Currently, two official plugins are available:
|
|
6
|
-
|
|
7
|
-
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
-
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
-
|
|
10
|
-
## Expanding the ESLint configuration
|
|
11
|
-
|
|
12
|
-
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
|
|
13
|
-
|
|
14
|
-
- Configure the top-level `parserOptions` property like this:
|
|
15
|
-
|
|
16
|
-
```js
|
|
17
|
-
export default {
|
|
18
|
-
// other rules...
|
|
19
|
-
parserOptions: {
|
|
20
|
-
ecmaVersion: 'latest',
|
|
21
|
-
sourceType: 'module',
|
|
22
|
-
project: ['./tsconfig.json', './tsconfig.node.json'],
|
|
23
|
-
tsconfigRootDir: __dirname,
|
|
24
|
-
},
|
|
25
|
-
}
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
|
|
29
|
-
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
|
30
|
-
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
|
1
|
+
# React + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
+
|
|
10
|
+
## Expanding the ESLint configuration
|
|
11
|
+
|
|
12
|
+
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
|
|
13
|
+
|
|
14
|
+
- Configure the top-level `parserOptions` property like this:
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
export default {
|
|
18
|
+
// other rules...
|
|
19
|
+
parserOptions: {
|
|
20
|
+
ecmaVersion: 'latest',
|
|
21
|
+
sourceType: 'module',
|
|
22
|
+
project: ['./tsconfig.json', './tsconfig.node.json'],
|
|
23
|
+
tsconfigRootDir: __dirname,
|
|
24
|
+
},
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
|
|
29
|
+
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
|
30
|
+
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
|
@@ -15,6 +15,7 @@ export declare const ContinuousFeedbackFormSchema: z.ZodObject<{
|
|
|
15
15
|
NAME: string;
|
|
16
16
|
RATING: number;
|
|
17
17
|
}>, "many">>;
|
|
18
|
+
IS_CONFIDENTIAL: z.ZodDefault<z.ZodBoolean>;
|
|
18
19
|
}, "strip", z.ZodTypeAny, {
|
|
19
20
|
FEEDBACK_FOR: number;
|
|
20
21
|
FEEDBACK_TITLE: string;
|
|
@@ -25,6 +26,7 @@ export declare const ContinuousFeedbackFormSchema: z.ZodObject<{
|
|
|
25
26
|
NAME: string;
|
|
26
27
|
RATING: number;
|
|
27
28
|
}[];
|
|
29
|
+
IS_CONFIDENTIAL: boolean;
|
|
28
30
|
}, {
|
|
29
31
|
FEEDBACK_FOR: number;
|
|
30
32
|
FEEDBACK_TITLE: string;
|
|
@@ -35,5 +37,6 @@ export declare const ContinuousFeedbackFormSchema: z.ZodObject<{
|
|
|
35
37
|
NAME: string;
|
|
36
38
|
RATING: number;
|
|
37
39
|
}[] | undefined;
|
|
40
|
+
IS_CONFIDENTIAL?: boolean | undefined;
|
|
38
41
|
}>;
|
|
39
42
|
export type ContinuousFeedbackFormType = z.infer<typeof ContinuousFeedbackFormSchema>;
|
|
@@ -7,3 +7,15 @@ export declare const PIP_TABS: {
|
|
|
7
7
|
TEAM: string;
|
|
8
8
|
ORGANIZATION: string;
|
|
9
9
|
};
|
|
10
|
+
export declare const NOTIFICATION_SLUGS: {
|
|
11
|
+
employee_name: string;
|
|
12
|
+
reviewer_name: string;
|
|
13
|
+
approver_name: string;
|
|
14
|
+
hr_name: string;
|
|
15
|
+
end_date: string;
|
|
16
|
+
start_date: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const EMAIL_TEMPLATE_TYPES: {
|
|
19
|
+
label: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PipNotification: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import "./stylesModal.css";
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
PerformanceDetalsAllData: any;
|
|
6
|
-
refetchPIPDetails: () => void;
|
|
7
|
-
refetchGetDetails: () => void;
|
|
8
|
-
isDataFetching: boolean;
|
|
2
|
+
type props = {
|
|
3
|
+
pipId?: string;
|
|
9
4
|
};
|
|
10
|
-
declare const
|
|
11
|
-
export
|
|
5
|
+
export declare const ViewPIPDetails: (props: props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type props = {
|
|
2
|
+
className?: string;
|
|
3
|
+
value: string;
|
|
4
|
+
height?: number | string;
|
|
5
|
+
width?: string | number;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
font_size?: string | number;
|
|
8
|
+
setEditorData: (value: string) => void;
|
|
9
|
+
showTable?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const Editor: (props: props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default Editor;
|