@zimyo/manage 0.2.27 → 0.2.29
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/components/customComponents/CustomCard/index.d.ts +13 -0
- package/dist/components/customComponents/CustomFilter/index.d.ts +24 -0
- package/dist/components/customComponents/CustomSearch/index.d.ts +10 -0
- package/dist/components/customComponents/CustomTooltip/index.d.ts +10 -0
- package/dist/components/customComponents/PageHeading/index.d.ts +23 -0
- package/dist/components/manage/Subscription/Ledger/Ledger.d.ts +1 -0
- package/dist/components/manage/Subscription/NewOverview/NewOverview.d.ts +5 -0
- package/dist/components/manage/Subscription/PaymentRecords/PaymentRecords.d.ts +6 -0
- package/dist/components/manage/Subscription/PaymentRecords/TableView/Table.d.ts +1 -0
- package/dist/components/manage/Subscription/SubscriptionPricing/CardView/CardView.d.ts +3 -0
- package/dist/components/manage/Subscription/SubscriptionPricing/ComparePlans/ComparePlans.d.ts +3 -0
- package/dist/components/manage/Subscription/SubscriptionPricing/SubscriptionPricing.d.ts +6 -0
- package/dist/components/manage/Subscription/TempPayment/TempPayment.d.ts +1 -0
- package/dist/components/manage/Subscription/TempPayment/constant.d.ts +5 -0
- package/dist/components/ui/TextReducingTooltipComponent/TextReducingTooltipComponent.d.ts +7 -7
- package/dist/main.cjs +5539 -401
- package/dist/main.d.ts +2 -0
- package/dist/main.js +112987 -94195
- package/dist/shared/constants/constant.d.ts +1 -0
- package/dist/shared/constants/endpoints.d.ts +2 -0
- package/dist/shared/hooks/useDownloadBufferFile.d.ts +7 -0
- package/dist/shared/hooks/useFetch.d.ts +5 -5
- package/dist/shared/hooks/useFilterParsedValue.d.ts +6 -0
- package/dist/shared/utils/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { ReactElement, ReactNode } from "react";
|
|
2
|
+
export declare const CardLabel: ({ label, icon }: {
|
|
3
|
+
label: string | ReactElement;
|
|
4
|
+
icon?: ReactElement;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
interface Props {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
title?: string;
|
|
10
|
+
icon?: React.ReactElement;
|
|
11
|
+
}
|
|
12
|
+
declare const CustomCard: React.FC<Props>;
|
|
13
|
+
export default CustomCard;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface SelectOption {
|
|
3
|
+
id: string | number;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
export interface SelectConfig {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
options: SelectOption[];
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
}
|
|
13
|
+
interface FilterProps {
|
|
14
|
+
showSearch?: boolean;
|
|
15
|
+
searchPlaceholder?: string;
|
|
16
|
+
searchValue?: string;
|
|
17
|
+
onSearchChange?: (id: string) => void;
|
|
18
|
+
filters?: SelectConfig[];
|
|
19
|
+
filterValues?: Record<string, string | number | (string | number)[]>;
|
|
20
|
+
onSelectChange?: (id: string, value: string | number | (string | number)[]) => void;
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
declare const CustomFilter: React.FC<FilterProps>;
|
|
24
|
+
export default CustomFilter;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
getSearchValue: (search: string) => void;
|
|
4
|
+
className?: string;
|
|
5
|
+
delay?: number;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
defaultValue?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const CustomSearch: React.FC<Props>;
|
|
10
|
+
export default CustomSearch;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
data: string;
|
|
3
|
+
limit?: number;
|
|
4
|
+
doNotShowTooltip?: boolean;
|
|
5
|
+
arrow?: boolean;
|
|
6
|
+
endAdornment?: string;
|
|
7
|
+
startAdornment?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function CustomTooltip({ data, limit, doNotShowTooltip, arrow, endAdornment, startAdornment, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default CustomTooltip;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
|
+
import { ButtonProps } from "@zimyo/ui";
|
|
3
|
+
type PageHeadingButtonConfig = {
|
|
4
|
+
variant?: ButtonProps["variant"];
|
|
5
|
+
color?: ButtonProps["color"];
|
|
6
|
+
label?: string;
|
|
7
|
+
size?: ButtonProps["size"];
|
|
8
|
+
startIcon?: React.ReactNode;
|
|
9
|
+
endIcon?: React.ReactNode;
|
|
10
|
+
sx?: object;
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
isVisible?: boolean;
|
|
14
|
+
};
|
|
15
|
+
type PageHeadingProps = {
|
|
16
|
+
heading?: string | ReactElement;
|
|
17
|
+
className?: string;
|
|
18
|
+
actionButtons?: PageHeadingButtonConfig[];
|
|
19
|
+
filters?: ReactElement;
|
|
20
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
21
|
+
};
|
|
22
|
+
declare const PageHeading: React.FC<PageHeadingProps>;
|
|
23
|
+
export default PageHeading;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Ledger: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TempPayment: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare function TextReducingTooltipComponent({ data, limit, doNotShowTooltip, arrow, endAdornment, startAdornment, styleOverrides }: {
|
|
2
|
-
data?: string
|
|
3
|
-
limit?: number
|
|
4
|
-
doNotShowTooltip?: boolean
|
|
5
|
-
arrow?: boolean
|
|
6
|
-
endAdornment?: string
|
|
7
|
-
startAdornment?: string
|
|
8
|
-
styleOverrides?: {}
|
|
2
|
+
data?: string;
|
|
3
|
+
limit?: number;
|
|
4
|
+
doNotShowTooltip?: boolean;
|
|
5
|
+
arrow?: boolean;
|
|
6
|
+
endAdornment?: string;
|
|
7
|
+
startAdornment?: string;
|
|
8
|
+
styleOverrides?: {};
|
|
9
9
|
}): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default TextReducingTooltipComponent;
|