@zimyo/manage 0.0.1

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 (39) hide show
  1. package/README.md +2 -0
  2. package/dist/.vite/manifest.json +12 -0
  3. package/dist/App.d.ts +3 -0
  4. package/dist/components/manage/Subscription/Consumption/Consumption.d.ts +1 -0
  5. package/dist/components/manage/Subscription/Invoices/Invoices.d.ts +1 -0
  6. package/dist/components/manage/Subscription/Overview/Overview.d.ts +1 -0
  7. package/dist/components/manage/Subscription/PaymentMethod/PaymentMethod.d.ts +1 -0
  8. package/dist/components/manage/Subscription/PlansOverview/PlansOverview.d.ts +1 -0
  9. package/dist/components/manage/Subscription/PlansOverview/constant.d.ts +4 -0
  10. package/dist/components/manage/Subscription/SubscribedPlan/SubscribedPlan.d.ts +1 -0
  11. package/dist/components/manage/Subscription/Wallet/Wallet.d.ts +1 -0
  12. package/dist/components/manage/Subscription/Wallet/constant.d.ts +4 -0
  13. package/dist/components/ui/Alert/Alert.d.ts +6 -0
  14. package/dist/components/ui/DatePicker/DatePicker.d.ts +4 -0
  15. package/dist/components/ui/OrgDetailsCard/OrgDetailsCard.d.ts +4 -0
  16. package/dist/components/ui/OverviewCard/OverviewCard.d.ts +4 -0
  17. package/dist/components/ui/TextReducingTooltipComponent/TextReducingTooltipComponent.d.ts +10 -0
  18. package/dist/exports.cjs +3095 -0
  19. package/dist/exports.d.ts +9 -0
  20. package/dist/exports.js +82413 -0
  21. package/dist/main.d.ts +1 -0
  22. package/dist/shared/constants/constant.d.ts +30 -0
  23. package/dist/shared/constants/endpoints.d.ts +9 -0
  24. package/dist/shared/constants/form-types.d.ts +44 -0
  25. package/dist/shared/constants/time.d.ts +53 -0
  26. package/dist/shared/hooks/useConstants.d.ts +1 -0
  27. package/dist/shared/hooks/useFetch.d.ts +124 -0
  28. package/dist/shared/hooks/useLoading.d.ts +1 -0
  29. package/dist/shared/hooks/useMutation.d.ts +29 -0
  30. package/dist/shared/providers/app-provider.d.ts +12 -0
  31. package/dist/shared/providers/auth-provider.d.ts +9 -0
  32. package/dist/shared/services/http.d.ts +11 -0
  33. package/dist/shared/types/backend.types.d.ts +20 -0
  34. package/dist/shared/utils/utils.d.ts +19 -0
  35. package/dist/shared/zustand/alert.store.d.ts +20 -0
  36. package/dist/shared/zustand/session.store.d.ts +20 -0
  37. package/dist/style.css +1 -0
  38. package/dist/vite.svg +1 -0
  39. package/package.json +65 -0
package/dist/main.d.ts ADDED
@@ -0,0 +1 @@
1
+ import './index.css';
@@ -0,0 +1,30 @@
1
+ export declare const CHART_TYPES: {
2
+ LINE: string;
3
+ MULTI_LINE: string;
4
+ COLUMN: string;
5
+ STACKED_COLUMN: string;
6
+ GROUPED_COLUMN: string;
7
+ BAR: string;
8
+ STACKED_BAR: string;
9
+ GROUPED_BAR: string;
10
+ DOUGHNUT: string;
11
+ PIE: string;
12
+ AREA: string;
13
+ STACKED_AREA: string;
14
+ FUNNEL: string;
15
+ HEAT_MAP: string;
16
+ TABLE: string;
17
+ CARD: string;
18
+ LIST: string;
19
+ GAUGE: string;
20
+ };
21
+ export declare const VALID_DATA_TYPES: {
22
+ NUMBER: string;
23
+ STRING: string;
24
+ ARRAY: string;
25
+ OBJECT: string;
26
+ NULL: string;
27
+ UNDEFINED: string;
28
+ BOOLEAN: string;
29
+ FUNCTION: string;
30
+ };
@@ -0,0 +1,9 @@
1
+ export declare const AUTHENTICATE_TOKEN = "/auth/authenticate-token";
2
+ /**SUBSCRIPTION */
3
+ export declare const SUBSCRIPTION_OVERVIEW = "subscription/overview";
4
+ export declare const CUSTOMER_SUBSCRIPTION = "subscription/customer-subscription";
5
+ export declare const MANAGE_PLANS = "subscription/manage-plans";
6
+ export declare const TRANSCTION_HISTORY = "subscription/transaction-history";
7
+ export declare const ADD_WALLET_AMOUMT = "wallet/add";
8
+ export declare const CUSTOMER_INVOICES = "subscription/customer-invoice";
9
+ export declare const CLIENT_CONSUMPTION = "subscription/client-consumption";
@@ -0,0 +1,44 @@
1
+ export declare const DYNAMIC_FORM_INPUT_TYPES: {
2
+ TEXT: "text";
3
+ NUMBER: "number";
4
+ TEXTAREA: "textarea";
5
+ SELECT: "select";
6
+ MULTI_SELECT: "multi-select";
7
+ CHECKBOX: "checkbox";
8
+ RADIO: "radio";
9
+ FILE: "file";
10
+ TIME: "time";
11
+ DATE: "date";
12
+ DATE_TIME: "date-time";
13
+ DATE_RANGE: "date-range";
14
+ SWITCH: "switch";
15
+ TEL: "tel";
16
+ URL: "url";
17
+ EMAIL: "email";
18
+ NUMERIC: "numeric";
19
+ DECIMAL: "decimal";
20
+ SEARCH: "search";
21
+ EDITOR: "editor";
22
+ };
23
+ export declare const FORM_MASTER_TYPES: {
24
+ TEXT: string;
25
+ NUMBER: string;
26
+ TEXTAREA: string;
27
+ SELECT: string;
28
+ MULTI_SELECT: string;
29
+ CHECKBOX: string;
30
+ RADIO: string;
31
+ FILE: string;
32
+ TIME: string;
33
+ DATE: string;
34
+ DATE_TIME: string;
35
+ DATE_RANGE: string;
36
+ SWITCH: string;
37
+ TEL: string;
38
+ URL: string;
39
+ EMAIL: string;
40
+ NUMERIC: string;
41
+ DECIMAL: string;
42
+ SEARCH: string;
43
+ EDITOR: string;
44
+ };
@@ -0,0 +1,53 @@
1
+ export declare const WEEK_DAY: string[];
2
+ export declare const WEEK_FULL_DAY: string[];
3
+ export declare const DAY_SUFFIX: {
4
+ 1: string;
5
+ 2: string;
6
+ 3: string;
7
+ 21: string;
8
+ 22: string;
9
+ 23: string;
10
+ 31: string;
11
+ };
12
+ export declare const MONTHS: {
13
+ 1: string;
14
+ 2: string;
15
+ 3: string;
16
+ 4: string;
17
+ 5: string;
18
+ 6: string;
19
+ 7: string;
20
+ 8: string;
21
+ 9: string;
22
+ 10: string;
23
+ 11: string;
24
+ 12: string;
25
+ };
26
+ export declare const MONTHS_FULL: {
27
+ 1: string;
28
+ 2: string;
29
+ 3: string;
30
+ 4: string;
31
+ 5: string;
32
+ 6: string;
33
+ 7: string;
34
+ 8: string;
35
+ 9: string;
36
+ 10: string;
37
+ 11: string;
38
+ 12: string;
39
+ };
40
+ export declare const DATE_FORMATS: {
41
+ "d-M-Y": string;
42
+ "Y-m-d": string;
43
+ "m-d-Y": string;
44
+ "Y-d-m": string;
45
+ "d M y": string;
46
+ "F dS Y": string;
47
+ "F d Y": string;
48
+ "M d Y": string;
49
+ "d/m/y": string;
50
+ "d M Y h:i:s": string;
51
+ "d-M-y": string;
52
+ "h:i A": string;
53
+ };
@@ -0,0 +1 @@
1
+ export declare const useGlobalContants: (locale: string) => {};
@@ -0,0 +1,124 @@
1
+ import { AxiosResponse } from "axios";
2
+ import { UseQueryOptions } from "react-query";
3
+ import { HttpServiceType } from "@services/http";
4
+ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: AbortSignal | undefined) => Promise<AxiosResponse<any, any>>, apiPromiseArgs: HttpServiceType, key: any, queryOptions?: Omit<UseQueryOptions<any, any, any, any>, "queryKey" | "queryFn">) => {
5
+ data: undefined;
6
+ error: null;
7
+ isError: false;
8
+ isIdle: true;
9
+ isLoading: false;
10
+ isLoadingError: false;
11
+ isRefetchError: false;
12
+ isSuccess: false;
13
+ status: "idle";
14
+ dataUpdatedAt: number;
15
+ errorUpdatedAt: number;
16
+ failureCount: number;
17
+ errorUpdateCount: number;
18
+ isFetched: boolean;
19
+ isFetchedAfterMount: boolean;
20
+ isFetching: boolean;
21
+ isPlaceholderData: boolean;
22
+ isPreviousData: boolean;
23
+ isRefetching: boolean;
24
+ isStale: boolean;
25
+ refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
26
+ remove: () => void;
27
+ rq_data: any;
28
+ } | {
29
+ data: undefined;
30
+ error: any;
31
+ isError: true;
32
+ isIdle: false;
33
+ isLoading: false;
34
+ isLoadingError: true;
35
+ isRefetchError: false;
36
+ isSuccess: false;
37
+ status: "error";
38
+ dataUpdatedAt: number;
39
+ errorUpdatedAt: number;
40
+ failureCount: number;
41
+ errorUpdateCount: number;
42
+ isFetched: boolean;
43
+ isFetchedAfterMount: boolean;
44
+ isFetching: boolean;
45
+ isPlaceholderData: boolean;
46
+ isPreviousData: boolean;
47
+ isRefetching: boolean;
48
+ isStale: boolean;
49
+ refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
50
+ remove: () => void;
51
+ rq_data: any;
52
+ } | {
53
+ data: undefined;
54
+ error: null;
55
+ isError: false;
56
+ isIdle: false;
57
+ isLoading: true;
58
+ isLoadingError: false;
59
+ isRefetchError: false;
60
+ isSuccess: false;
61
+ status: "loading";
62
+ dataUpdatedAt: number;
63
+ errorUpdatedAt: number;
64
+ failureCount: number;
65
+ errorUpdateCount: number;
66
+ isFetched: boolean;
67
+ isFetchedAfterMount: boolean;
68
+ isFetching: boolean;
69
+ isPlaceholderData: boolean;
70
+ isPreviousData: boolean;
71
+ isRefetching: boolean;
72
+ isStale: boolean;
73
+ refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
74
+ remove: () => void;
75
+ rq_data: any;
76
+ } | {
77
+ data: any;
78
+ error: any;
79
+ isError: true;
80
+ isIdle: false;
81
+ isLoading: false;
82
+ isLoadingError: false;
83
+ isRefetchError: true;
84
+ isSuccess: false;
85
+ status: "error";
86
+ dataUpdatedAt: number;
87
+ errorUpdatedAt: number;
88
+ failureCount: number;
89
+ errorUpdateCount: number;
90
+ isFetched: boolean;
91
+ isFetchedAfterMount: boolean;
92
+ isFetching: boolean;
93
+ isPlaceholderData: boolean;
94
+ isPreviousData: boolean;
95
+ isRefetching: boolean;
96
+ isStale: boolean;
97
+ refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
98
+ remove: () => void;
99
+ rq_data: any;
100
+ } | {
101
+ data: any;
102
+ error: null;
103
+ isError: false;
104
+ isIdle: false;
105
+ isLoading: false;
106
+ isLoadingError: false;
107
+ isRefetchError: false;
108
+ isSuccess: true;
109
+ status: "success";
110
+ dataUpdatedAt: number;
111
+ errorUpdatedAt: number;
112
+ failureCount: number;
113
+ errorUpdateCount: number;
114
+ isFetched: boolean;
115
+ isFetchedAfterMount: boolean;
116
+ isFetching: boolean;
117
+ isPlaceholderData: boolean;
118
+ isPreviousData: boolean;
119
+ isRefetching: boolean;
120
+ isStale: boolean;
121
+ refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
122
+ remove: () => void;
123
+ rq_data: any;
124
+ };
@@ -0,0 +1 @@
1
+ export declare const useLoading: (isLoading: boolean) => void;
@@ -0,0 +1,29 @@
1
+ import { UseMutationResult } from "react-query";
2
+ import { HttpServiceType } from "../services/http";
3
+ import { BackendErrorType } from "../types/backend.types";
4
+ /**
5
+ * @author Manish Kumar
6
+ * @param {*} mutationFunction
7
+ * @param {*} queryKey
8
+ * @param {*} config
9
+ * @returns
10
+ */
11
+ export declare function useConfigurableMutation<TData = unknown, TError = BackendErrorType, TVariables = HttpServiceType, TContext = unknown>(mutationFunction: any, queryKey: any, config?: any): UseMutationResult<TData, TError, TVariables, TContext>;
12
+ type messageFormatterFn = (props: any) => string;
13
+ export declare const useConfigurableSubmit: ({ url, token, method, baseURL, successCallback, errorCallback, onSettledCallback, debounceTime, errorMessageFormatter, successMessageFormatter, }: {
14
+ url: string;
15
+ token: string;
16
+ method?: string;
17
+ baseURL?: string;
18
+ successCallback?: (props: any) => void;
19
+ errorCallback?: (props: any) => void;
20
+ onSettledCallback?: () => void;
21
+ debounceTime?: number;
22
+ errorMessageFormatter?: messageFormatterFn;
23
+ successMessageFormatter?: messageFormatterFn;
24
+ }) => {
25
+ handleSubmit: (data: any, extraCallbackForError?: any, extraCallbackForSuccess?: any, extraCallbackForSettled?: any) => void;
26
+ isDisabled: boolean;
27
+ isLoading: boolean;
28
+ };
29
+ export {};
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from "react";
2
+ import { QueryClient } from "react-query";
3
+ interface AuthProviderProps {
4
+ queryClient: QueryClient;
5
+ token: string;
6
+ API_BASE_URL: string;
7
+ ASSETS_BASE_URL: string;
8
+ children: ReactNode;
9
+ HRMS_BASE_URL: string;
10
+ }
11
+ declare const ManageProvider: ({ queryClient, token, API_BASE_URL, ASSETS_BASE_URL, HRMS_BASE_URL, children, }: AuthProviderProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default ManageProvider;
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from "react";
2
+ declare const AuthProvider: ({ children, token, API_BASE_URL, ASSETS_BASE_URL, HRMS_BASE_URL, }: {
3
+ token: string;
4
+ API_BASE_URL: string;
5
+ ASSETS_BASE_URL: string;
6
+ children: ReactNode;
7
+ HRMS_BASE_URL: string;
8
+ }) => import("react/jsx-runtime").JSX.Element;
9
+ export default AuthProvider;
@@ -0,0 +1,11 @@
1
+ export type HttpServiceType = {
2
+ url: string;
3
+ token?: string;
4
+ data?: any;
5
+ params?: any;
6
+ isNativeEndpoint?: boolean;
7
+ };
8
+ export declare const getService: ({ url, token, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
9
+ export declare const postService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
10
+ export declare const patchService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
11
+ export declare const deleteService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -0,0 +1,20 @@
1
+ import { AxiosError, AxiosResponse } from "axios";
2
+ export type UserType = any;
3
+ export type BackendResponseType<T> = AxiosResponse<{
4
+ error: boolean;
5
+ code: number;
6
+ message: string;
7
+ timestamp: string;
8
+ data: T;
9
+ }>;
10
+ export type BackendErrorType = AxiosError<{
11
+ error: boolean;
12
+ code: number;
13
+ message: string;
14
+ timestamp: string;
15
+ data: null;
16
+ }, any>;
17
+ export type CustomSelectOption = {
18
+ label: string;
19
+ value: any;
20
+ };
@@ -0,0 +1,19 @@
1
+ export declare class util {
2
+ static toTitleCase: (toTransform: string) => string;
3
+ static dateFormatList: (object: {
4
+ [key: string]: any;
5
+ }, value: string) => any;
6
+ static getFullDateVar: (ip: any) => any;
7
+ static isDateValid(date: Date): boolean;
8
+ static getFormatedDate: (timestamp?: any, format?: string, checkFormatList?: boolean) => string | null;
9
+ static validateDataType(value: unknown, type: string): boolean;
10
+ static convertFormMasterTypeToDynamicFormType: (type: string) => any;
11
+ static convertToFormData(data: any): FormData;
12
+ static convertTime: (timeString: string) => {
13
+ hours: string;
14
+ minutes: string;
15
+ seconds: string;
16
+ };
17
+ static convertToMinutes: (timeString: string) => number;
18
+ static getDarkenColor: (color: string, factor?: number) => string;
19
+ }
@@ -0,0 +1,20 @@
1
+ import { AlertColor } from '@mui/material';
2
+ type State = {
3
+ alert: {
4
+ isLoading: boolean;
5
+ type?: AlertColor;
6
+ message?: string;
7
+ };
8
+ };
9
+ type Actions = {
10
+ pushAlert: (payload: {
11
+ message?: string;
12
+ type: AlertColor;
13
+ }) => void;
14
+ setLoading: (payload: {
15
+ isLoading: boolean;
16
+ }) => void;
17
+ clearAlert: () => void;
18
+ };
19
+ export declare const useAlertStore: import("zustand").UseBoundStore<import("zustand").StoreApi<State & Actions>>;
20
+ export {};
@@ -0,0 +1,20 @@
1
+ export type State = {
2
+ session: {
3
+ user: any;
4
+ token?: string;
5
+ API_BASE_URL?: string;
6
+ ASSETS_BASE_URL?: string;
7
+ };
8
+ };
9
+ type Actions = {
10
+ setSession: (payload: {
11
+ user: any;
12
+ token: string;
13
+ API_BASE_URL: string;
14
+ ASSETS_BASE_URL: string;
15
+ HRMS_BASE_URL: string;
16
+ }) => void;
17
+ clearSession: () => void;
18
+ };
19
+ export declare const useSessionStore: import("zustand").UseBoundStore<import("zustand").StoreApi<State & Actions>>;
20
+ export {};
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ body{margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#fafbfc}*,body,button,ul,li{font-family:"Segoe UI Web (West European)"!important;font-style:normal;letter-spacing:.3px}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{letter-spacing:.3px!important}.wh-100{height:100%!important;width:100%!important}.app-container{height:100vh;background-color:#f3f3f3}.mt-10{margin-top:10px!important}.g-20{gap:20px}.g-10{gap:10px}.flex-column{flex-direction:column}.g-5{gap:5px}.mb-20{margin-bottom:20px!important}.mb-10{margin-bottom:10px!important}.mr-10{margin-right:10px!important}.w-100{width:100%!important}.mt-20{margin-top:2.454vh!important}.flex-start-center{display:flex;justify-content:flex-start;align-items:center}.flex-start-column{display:flex;justify-content:flex-start;flex-direction:column}.flex-end-column{display:flex;justify-content:flex-end;flex-direction:column}.flex-between-column{display:flex;justify-content:space-between;flex-direction:column;align-items:center}.flex-end-center{display:flex;justify-content:flex-end;align-items:center}.flex-between-center{display:flex;justify-content:space-between;align-items:center}.flex-between{display:flex;justify-content:space-between}.cursor-pointer{cursor:pointer}::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}::-webkit-scrollbar{width:.5vh;height:.5vh;background-color:transparent}::-webkit-scrollbar-thumb{border-radius:10px;background-color:#e9e7e7}._card_container_wuf1v_1{padding:1rem;border:1px solid #ececec;border-radius:8px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:145px;overflow-x:scroll}._card_count_wuf1v_25{font-size:18px;font-weight:600}._card_subtitles_wuf1v_35{font-size:1rem;font-weight:600}._icons_background_wuf1v_45{display:flex;align-items:center;justify-content:center;padding:5px;border-radius:50%;width:3rem;height:3rem;margin:auto}._subicons_background_wuf1v_67{display:flex;align-items:center;justify-content:center;padding:5px;border-radius:50%;width:1rem;height:1rem;margin:auto}._card_container_k9f9d_1{padding:1rem;border:1px solid #ececec;border-radius:8px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:160px}._card_count_k9f9d_25{font-size:18px;font-weight:600}._card_container_14n44_1{padding:1rem;border:1px solid #ececec;border-radius:8px;background:#fff;display:flex;flex-direction:column;gap:10px;min-height:114px}._card_count_14n44_23{font-size:18px;font-weight:600}._card_subtitles_14n44_33{font-size:1rem;font-weight:600}._card_container_1rzhj_1{padding:1rem;border:1px solid #ececec;border-radius:8px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:145px;overflow-x:scroll}._card_count_1rzhj_25{font-size:18px;font-weight:600}._card_subtitles_1rzhj_35{font-size:1rem;font-weight:600}._icons_background_1rzhj_45{display:flex;align-items:center;justify-content:center;padding:5px;border-radius:50%;width:3rem;height:3rem;margin:auto}._card_container_t78fp_1{padding:1rem;border:1px solid #ececec;border-radius:8px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:145px;overflow-x:scroll}._plan_card_t78fp_25{padding:1rem 1.5rem;border:1px solid #ececec;border-radius:8px;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;min-height:145px;overflow-x:scroll}._discount_card_t78fp_53{position:absolute;top:0;right:0}._discount_card_t78fp_53 span{border-radius:0 0 0 8px;padding:4px 8px;background:#027a481a;color:#027a48;font-weight:600}._plan_total_count_t78fp_79{font-size:20px;font-weight:600}._card_count_t78fp_89{font-size:1.5rem;font-weight:700}._card_subtitles_t78fp_99{font-size:1rem;font-weight:600}._icons_background_t78fp_109{display:flex;align-items:center;justify-content:center;padding:5px;border-radius:50%;width:3rem;height:3rem;margin:auto}._card_container_80xec_1{padding:1rem;border:1px solid #c8c8c8;border-radius:8px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;overflow-x:scroll}._plans_80xec_23{height:665px}._add_ons_80xec_29{height:320px}._card_titles_80xec_37{font-size:1.5rem;font-weight:700}._add_ons_title_80xec_47{font-size:1.125rem;font-weight:700}._card_subtitles_80xec_57{font-size:1rem;font-weight:600}._icons_background_80xec_67{display:flex;align-items:center;justify-content:center;padding:5px;border-radius:50%;width:2rem;height:2rem;margin:auto}._subicons_background_80xec_89{display:flex;align-items:center;justify-content:center;padding:5px;border-radius:50%;width:1rem;height:1rem;margin:auto}._plan_headers_80xec_111{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:flex-start}._card_content_80xec_127{display:flex;flex-direction:column;justify-content:flex-start;gap:10px;height:430px;overflow:scroll}._card_container_1ro5p_1{padding:1rem;border:1px solid #c8c8c8;border-radius:8px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:145px;overflow-x:scroll}._card_titles_1ro5p_25{font-size:24px;font-weight:700}._card_subtitles_1ro5p_35{font-size:1rem;font-weight:600}._card_subtotal_1ro5p_45{font-size:1rem;font-weight:600;color:#615e69}._icons_background_1ro5p_57{display:flex;align-items:center;justify-content:center;padding:5px;border-radius:50%;width:3rem;height:3rem;margin:auto}._card_headers_1ro5p_79{display:flex;justify-content:center;align-items:center;padding:1rem;height:100px}._card_content_1ro5p_95{display:flex;justify-content:center;gap:5px;flex-direction:column;align-items:center;padding:1rem;height:190px;overflow:scroll}._card_container_16wzw_1{padding:1rem;border:1px solid #ececec;border-radius:8px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:145px;overflow-x:scroll}._card_count_16wzw_25{font-size:18px;font-weight:600}._card_subtitles_16wzw_35{font-size:1rem;font-weight:600}._icons_background_16wzw_45{display:flex;align-items:center;justify-content:center;padding:5px;border-radius:50%;width:3rem;height:3rem;margin:auto}._credit_card_16wzw_67{width:272px;height:161px;border-radius:1rem;background:linear-gradient(45deg,#00359e,#155eef)}._circle_16wzw_81{position:absolute;width:1rem;height:1rem;border-radius:50%;opacity:.8;mix-blend-mode:multiply}._circle1_16wzw_99{background-color:red;left:6%;transform:translate(-50%,-50%)}._circle2_16wzw_111{background-color:#f9a000;left:9%;transform:translate(-50%,-50%)}._circle_container_16wzw_123{display:flex;justify-content:center;align-items:center;position:relative;top:30px;color:#fff;z-index:120}._credit_card_holder_name_16wzw_143{display:flex;justify-content:center;align-items:center;position:relative;top:140px;color:#fff;z-index:120;font-size:10px}._credit_card_holder_name_absolute_16wzw_165{position:absolute;width:220px;opacity:.8;left:4%;mix-blend-mode:multiply}
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@zimyo/manage",
3
+ "private": false,
4
+ "version": "0.0.1",
5
+ "type": "module",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "scripts": {
10
+ "dev": "vite",
11
+ "build": "tsc -b && vite build",
12
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
13
+ "preview": "vite preview"
14
+ },
15
+ "exports": {
16
+ ".": {
17
+ "import": "./dist/main.js",
18
+ "require": "./dist/main.cjs",
19
+ "types": "./dist/index.d.ts"
20
+ },
21
+ "./style.css": {
22
+ "import": "./dist/style.css",
23
+ "require": "./dist/style.css"
24
+ }
25
+ },
26
+ "main": "./dist/main.cjs",
27
+ "style": "./dist/style.css",
28
+ "module": "./dist/main.js",
29
+ "typings": "./dist/main.d.ts",
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "dependencies": {
34
+ "@mui/x-date-pickers": "^7.9.0",
35
+ "@zimyo/components": "^4.2.5",
36
+ "@zimyo/design-system": "^4.0.0",
37
+ "axios": "^1.7.2",
38
+ "dayjs": "^1.11.11",
39
+ "lodash": "^4.17.21",
40
+ "react": "^18.3.1",
41
+ "react-dom": "^18.3.1",
42
+ "react-icons": "^5.2.1",
43
+ "react-query": "^3.39.3",
44
+ "tinycolor2": "^1.6.0",
45
+ "zustand": "^4.5.4"
46
+ },
47
+ "devDependencies": {
48
+ "@rollup/plugin-typescript": "^11.1.6",
49
+ "@types/lodash": "^4.17.6",
50
+ "@types/node": "^20.14.9",
51
+ "@types/react": "^18.3.3",
52
+ "@types/react-dom": "^18.3.0",
53
+ "@types/tinycolor2": "^1.4.6",
54
+ "@typescript-eslint/eslint-plugin": "^7.13.1",
55
+ "@typescript-eslint/parser": "^7.13.1",
56
+ "@vitejs/plugin-react": "^4.3.1",
57
+ "eslint": "^8.57.0",
58
+ "eslint-plugin-react-hooks": "^4.6.2",
59
+ "eslint-plugin-react-refresh": "^0.4.7",
60
+ "rollup-plugin-typescript-paths": "^1.5.0",
61
+ "typescript": "^5.2.2",
62
+ "vite": "^5.3.1",
63
+ "vite-plugin-dts": "^3.9.1"
64
+ }
65
+ }