@zimyo/manage 0.2.28 → 0.3.0

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 (25) hide show
  1. package/dist/components/customComponents/CustomCard/index.d.ts +13 -0
  2. package/dist/components/customComponents/CustomFilter/index.d.ts +24 -0
  3. package/dist/components/customComponents/CustomSearch/index.d.ts +10 -0
  4. package/dist/components/customComponents/CustomTooltip/index.d.ts +10 -0
  5. package/dist/components/customComponents/PageHeading/index.d.ts +23 -0
  6. package/dist/components/manage/Subscription/Ledger/Ledger.d.ts +1 -0
  7. package/dist/components/manage/Subscription/NewOverview/NewOverview.d.ts +5 -0
  8. package/dist/components/manage/Subscription/PaymentRecords/PaymentRecords.d.ts +6 -0
  9. package/dist/components/manage/Subscription/PaymentRecords/TableView/Table.d.ts +1 -0
  10. package/dist/components/manage/Subscription/SubscriptionPricing/CardView/CardView.d.ts +3 -0
  11. package/dist/components/manage/Subscription/SubscriptionPricing/ComparePlans/ComparePlans.d.ts +3 -0
  12. package/dist/components/manage/Subscription/SubscriptionPricing/SubscriptionPricing.d.ts +6 -0
  13. package/dist/components/manage/Subscription/TempPayment/TempPayment.d.ts +1 -0
  14. package/dist/components/manage/Subscription/TempPayment/constant.d.ts +5 -0
  15. package/dist/components/ui/TextReducingTooltipComponent/TextReducingTooltipComponent.d.ts +7 -7
  16. package/dist/main.cjs +5539 -401
  17. package/dist/main.d.ts +2 -0
  18. package/dist/main.js +112956 -94160
  19. package/dist/shared/constants/constant.d.ts +1 -0
  20. package/dist/shared/constants/endpoints.d.ts +2 -0
  21. package/dist/shared/hooks/useDownloadBufferFile.d.ts +7 -0
  22. package/dist/shared/hooks/useFetch.d.ts +5 -5
  23. package/dist/shared/hooks/useFilterParsedValue.d.ts +6 -0
  24. package/dist/shared/utils/utils.d.ts +1 -1
  25. package/package.json +3 -2
@@ -38,3 +38,4 @@ export declare const INVOICE_PAYMENT_STATUS: {
38
38
  UNPAID: number;
39
39
  };
40
40
  export declare const INVOICE_PAID_STATUS_COLOR: Record<number, string>;
41
+ export declare const CURRENCY_MAP: Record<any, string>;
@@ -20,3 +20,5 @@ export declare const SUBSCRIPTION_UPDATE_STATUS = "subscription/update-subscript
20
20
  export declare const CUSTOMER_MAILS = "customer/communication_email-list";
21
21
  export declare const SD_STATUS_WISE_COUNT = "email/status-wise-count";
22
22
  export declare const SD_EMAIL_TICKET_LIST = "email/list";
23
+ export declare const TRANSACTION_HISTORY_LEDGER = "subscription/ledger";
24
+ export declare const TRANSACTION_HISTORY_PAYMENT_HISTORY = "subscription/payment-history";
@@ -0,0 +1,7 @@
1
+ interface Payload {
2
+ buffer64: string;
3
+ file: string;
4
+ contentType: string;
5
+ }
6
+ export declare const useDownloadBufferFile: () => (payload: Payload) => void;
7
+ export {};
@@ -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?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
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?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
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?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
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?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
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?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
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
  };
@@ -0,0 +1,6 @@
1
+ declare const useFilterParsedValue: (filters: {
2
+ [key: string]: any;
3
+ }) => {
4
+ [key: string]: any;
5
+ };
6
+ export default useFilterParsedValue;
@@ -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 | null;
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,7 +1,7 @@
1
1
  {
2
2
  "name": "@zimyo/manage",
3
3
  "private": false,
4
- "version": "0.2.28",
4
+ "version": "0.3.0",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -32,6 +32,7 @@
32
32
  "dependencies": {
33
33
  "@cashfreepayments/cashfree-js": "^1.0.5",
34
34
  "@mui/icons-material": "^5.16.5",
35
+ "@mui/material": "^7.3.4",
35
36
  "@mui/x-date-pickers": "^7.9.0",
36
37
  "@zimyo/components": "^4.2.5",
37
38
  "@zimyo/design-system": "^4.0.0",
@@ -40,7 +41,7 @@
40
41
  "dayjs": "^1.11.11",
41
42
  "lodash": "^4.17.21",
42
43
  "react": "^18.3.1",
43
- "react-dom": "17.0.1",
44
+ "react-dom": "^18.3.1",
44
45
  "react-icons": "^5.2.1",
45
46
  "react-if": "^4.1.5",
46
47
  "react-query": "^3.39.3",