@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
@@ -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,5 @@
1
+ type overviewPropTypes = {
2
+ onTabChange: (value: number) => void;
3
+ };
4
+ declare const NewOverview: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
5
+ export default NewOverview;
@@ -0,0 +1,6 @@
1
+ import "./PaymentRecords.css";
2
+ type overviewPropTypes = {
3
+ onTabChange: (value: number) => void;
4
+ };
5
+ declare const PaymentRecords: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
6
+ export default PaymentRecords;
@@ -0,0 +1,3 @@
1
+ import './CardView.css';
2
+ declare const CardView: () => import("react/jsx-runtime").JSX.Element;
3
+ export default CardView;
@@ -0,0 +1,3 @@
1
+ import './ComparePlans.css';
2
+ declare const ComparePlans: () => import("react/jsx-runtime").JSX.Element;
3
+ export default ComparePlans;
@@ -0,0 +1,6 @@
1
+ import './SubscriptionPricing.css';
2
+ type overviewPropTypes = {
3
+ onTabChange: (value: number) => void;
4
+ };
5
+ declare const SubscriptionPricing: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
6
+ export default SubscriptionPricing;
@@ -0,0 +1 @@
1
+ export declare const TempPayment: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const SCREEN_TYPES: {
2
+ LIST_VIEW: string;
3
+ INVOICE_VIEW: string;
4
+ };
5
+ export declare const PAYMENT_TYPE: Record<string, string>;
@@ -1,10 +1,10 @@
1
1
  declare function TextReducingTooltipComponent({ data, limit, doNotShowTooltip, arrow, endAdornment, startAdornment, styleOverrides }: {
2
- data?: string | undefined;
3
- limit?: number | undefined;
4
- doNotShowTooltip?: boolean | undefined;
5
- arrow?: boolean | undefined;
6
- endAdornment?: string | undefined;
7
- startAdornment?: string | undefined;
8
- styleOverrides?: {} | undefined;
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;