@zimyo/manage 0.2.12 → 0.2.14-hrms-updated
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/App.d.ts +1 -0
- package/dist/components/manage/Subscription/BillingSubscription/BillingSubscription.d.ts +1 -0
- package/dist/components/ui/TextReducingTooltipComponent/TextReducingTooltipComponent.d.ts +7 -7
- package/dist/main.cjs +241 -246
- package/dist/main.d.ts +1 -0
- package/dist/main.js +22378 -21588
- package/dist/shared/constants/endpoints.d.ts +3 -1
- package/dist/shared/hooks/useFetch.d.ts +5 -5
- package/dist/shared/providers/AppProvider.d.ts +2 -1
- package/dist/shared/providers/AuthProvider.d.ts +2 -1
- package/dist/shared/utils/utils.d.ts +1 -1
- package/package.json +4 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const AUTHENTICATE_USER = "/user";
|
|
2
2
|
/**HELPER */
|
|
3
3
|
export declare const COUNTRY_LIST = "helper/country_list";
|
|
4
4
|
export declare const STATE_LIST = "helper/state_list";
|
|
@@ -15,3 +15,5 @@ export declare const CHECK_CASHFREE_PAYMENT_SUCCESS = "secure/subscribe-payment-
|
|
|
15
15
|
export declare const RENEW_SUBSCRIPTION = "subscription/renew-subscription";
|
|
16
16
|
export declare const UPDATE_ORG_DETAILS = "subscription/update-org-details";
|
|
17
17
|
export declare const BILLING_INVOICE = "billing/invoice";
|
|
18
|
+
export declare const ADDON_CLIENT_LIST = "subscription/addonclient_list";
|
|
19
|
+
export declare const SUBSCRIPTION_UPDATE_STATUS = "subscription/update-subscription-status";
|
|
@@ -22,7 +22,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
|
|
|
22
22
|
isPreviousData: boolean;
|
|
23
23
|
isRefetching: boolean;
|
|
24
24
|
isStale: boolean;
|
|
25
|
-
refetch: <TPageData>(options?:
|
|
25
|
+
refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
|
|
26
26
|
remove: () => void;
|
|
27
27
|
rq_data: any;
|
|
28
28
|
} | {
|
|
@@ -46,7 +46,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
|
|
|
46
46
|
isPreviousData: boolean;
|
|
47
47
|
isRefetching: boolean;
|
|
48
48
|
isStale: boolean;
|
|
49
|
-
refetch: <TPageData>(options?:
|
|
49
|
+
refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
|
|
50
50
|
remove: () => void;
|
|
51
51
|
rq_data: any;
|
|
52
52
|
} | {
|
|
@@ -70,7 +70,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
|
|
|
70
70
|
isPreviousData: boolean;
|
|
71
71
|
isRefetching: boolean;
|
|
72
72
|
isStale: boolean;
|
|
73
|
-
refetch: <TPageData>(options?:
|
|
73
|
+
refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
|
|
74
74
|
remove: () => void;
|
|
75
75
|
rq_data: any;
|
|
76
76
|
} | {
|
|
@@ -94,7 +94,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
|
|
|
94
94
|
isPreviousData: boolean;
|
|
95
95
|
isRefetching: boolean;
|
|
96
96
|
isStale: boolean;
|
|
97
|
-
refetch: <TPageData>(options?:
|
|
97
|
+
refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
|
|
98
98
|
remove: () => void;
|
|
99
99
|
rq_data: any;
|
|
100
100
|
} | {
|
|
@@ -118,7 +118,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
|
|
|
118
118
|
isPreviousData: boolean;
|
|
119
119
|
isRefetching: boolean;
|
|
120
120
|
isStale: boolean;
|
|
121
|
-
refetch: <TPageData>(options?:
|
|
121
|
+
refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
|
|
122
122
|
remove: () => void;
|
|
123
123
|
rq_data: any;
|
|
124
124
|
};
|
|
@@ -3,11 +3,12 @@ import { QueryClient } from "react-query";
|
|
|
3
3
|
interface AuthProviderProps {
|
|
4
4
|
queryClient: QueryClient;
|
|
5
5
|
token: string;
|
|
6
|
+
LOGIN_BASE_URL?: string;
|
|
6
7
|
API_BASE_URL: string;
|
|
7
8
|
ASSETS_BASE_URL: string;
|
|
8
9
|
children: ReactNode;
|
|
9
10
|
HRMS_BASE_URL: string;
|
|
10
11
|
mode: string;
|
|
11
12
|
}
|
|
12
|
-
declare const ManageProvider: ({ queryClient, token, API_BASE_URL, ASSETS_BASE_URL, HRMS_BASE_URL, children, mode }: AuthProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const ManageProvider: ({ queryClient, token, LOGIN_BASE_URL, API_BASE_URL, ASSETS_BASE_URL, HRMS_BASE_URL, children, mode }: AuthProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default ManageProvider;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
declare const AuthProvider: ({ children, token, API_BASE_URL, ASSETS_BASE_URL, HRMS_BASE_URL, mode, }: {
|
|
2
|
+
declare const AuthProvider: ({ children, token, LOGIN_BASE_URL, API_BASE_URL, ASSETS_BASE_URL, HRMS_BASE_URL, mode, }: {
|
|
3
3
|
token: string;
|
|
4
|
+
LOGIN_BASE_URL: string;
|
|
4
5
|
API_BASE_URL: string;
|
|
5
6
|
ASSETS_BASE_URL: string;
|
|
6
7
|
children: ReactNode;
|
|
@@ -5,7 +5,7 @@ export declare class util {
|
|
|
5
5
|
}, value: string) => any;
|
|
6
6
|
static getFullDateVar: (ip: any) => any;
|
|
7
7
|
static isDateValid(date: Date): boolean;
|
|
8
|
-
static getFormatedDate: (timestamp?: any, format?: string, checkFormatList?: boolean) => string
|
|
8
|
+
static getFormatedDate: (timestamp?: any, format?: string, checkFormatList?: boolean) => string;
|
|
9
9
|
static validateDataType(value: unknown, type: string): boolean;
|
|
10
10
|
static convertFormMasterTypeToDynamicFormType: (type: string) => any;
|
|
11
11
|
static convertToFormData(data: any): FormData;
|
package/package.json
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zimyo/manage",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.14-hrms-updated",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"dev": "vite",
|
|
11
|
-
"build": "
|
|
12
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
11
|
+
"build": "vite build",
|
|
13
12
|
"preview": "vite preview"
|
|
14
13
|
},
|
|
15
14
|
"exports": {
|
|
@@ -39,8 +38,8 @@
|
|
|
39
38
|
"axios": "^1.7.2",
|
|
40
39
|
"dayjs": "^1.11.11",
|
|
41
40
|
"lodash": "^4.17.21",
|
|
42
|
-
"react": "^
|
|
43
|
-
"react-dom": "^
|
|
41
|
+
"react": "^17.0.1",
|
|
42
|
+
"react-dom": "^17.0.1",
|
|
44
43
|
"react-icons": "^5.2.1",
|
|
45
44
|
"react-if": "^4.1.5",
|
|
46
45
|
"react-query": "^3.39.3",
|
|
@@ -54,12 +53,7 @@
|
|
|
54
53
|
"@types/react": "^18.3.3",
|
|
55
54
|
"@types/react-dom": "^18.3.0",
|
|
56
55
|
"@types/tinycolor2": "^1.4.6",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
58
|
-
"@typescript-eslint/parser": "^7.13.1",
|
|
59
56
|
"@vitejs/plugin-react": "^4.3.1",
|
|
60
|
-
"eslint": "^8.57.0",
|
|
61
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
62
|
-
"eslint-plugin-react-refresh": "^0.4.7",
|
|
63
57
|
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
64
58
|
"typescript": "^5.2.2",
|
|
65
59
|
"vite": "^5.3.1",
|