@zimyo/manage 0.4.12 → 0.4.14
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 +3 -3
- package/dist/components/customComponents/CustomCard/index.d.ts +2 -3
- package/dist/components/customComponents/CustomFilter/index.d.ts +1 -2
- package/dist/components/customComponents/CustomSearch/index.d.ts +1 -2
- package/dist/components/customComponents/CustomTooltip/index.d.ts +1 -1
- package/dist/components/customComponents/PageHeading/index.d.ts +2 -3
- package/dist/components/manage/Subscription/BillingSubscription/BillingSubscription.d.ts +2 -1
- package/dist/components/manage/Subscription/Consumption/Consumption.d.ts +1 -1
- package/dist/components/manage/Subscription/Invoices/Invoices.d.ts +1 -1
- package/dist/components/manage/Subscription/Ledger/Ledger.d.ts +1 -1
- package/dist/components/manage/Subscription/Mail/Mail.d.ts +1 -1
- package/dist/components/manage/Subscription/NewOverview/ManageUsers.d.ts +1 -1
- package/dist/components/manage/Subscription/NewOverview/NewOverview.d.ts +1 -1
- package/dist/components/manage/Subscription/Overview/Overview.d.ts +1 -1
- package/dist/components/manage/Subscription/PaymentMethod/PaymentMethod.d.ts +1 -1
- package/dist/components/manage/Subscription/PaymentRecords/PaymentRecords.d.ts +2 -2
- package/dist/components/manage/Subscription/PlansOverview/ComaprePlans.d.ts +1 -1
- package/dist/components/manage/Subscription/PlansOverview/PlanChangeCheckout.d.ts +28 -0
- package/dist/components/manage/Subscription/PlansOverview/PlansOverview.d.ts +2 -2
- package/dist/components/manage/Subscription/ProductUpdates/ProductUpdates.d.ts +2 -1
- package/dist/components/manage/Subscription/ServiceDeskLogs/ServiceDeskLogs.d.ts +1 -1
- package/dist/components/manage/Subscription/SubscribedPlan/SubscribedPlan.d.ts +1 -1
- package/dist/components/manage/Subscription/SubscriptionPricing/CardView/CardView.d.ts +2 -2
- package/dist/components/manage/Subscription/SubscriptionPricing/ComparePlans/ComparePlans.d.ts +2 -2
- package/dist/components/manage/Subscription/SubscriptionPricing/SubscriptionPricing.d.ts +2 -2
- package/dist/components/manage/Subscription/TempPayment/TempPayment.d.ts +1 -1
- package/dist/components/manage/Subscription/UpcomingSubscription/UpcomingSubscription.d.ts +1 -1
- package/dist/components/manage/Subscription/Wallet/Wallet.d.ts +1 -1
- package/dist/components/manage/Subscription/WalletDashboard/WalletDashboard.d.ts +2 -1
- package/dist/components/ui/Alert/Alert.d.ts +2 -3
- package/dist/components/ui/DatePicker/DatePicker.d.ts +1 -2
- package/dist/components/ui/Loader/Loader.d.ts +2 -2
- package/dist/components/ui/NoDataFound/NoDataFound.d.ts +1 -1
- package/dist/components/ui/OrgDetailsCard/OrgDetailsCard.d.ts +1 -1
- package/dist/components/ui/OverviewCard/OverviewCard.d.ts +1 -1
- package/dist/components/ui/TextReducingTooltipComponent/TextReducingTooltipComponent.d.ts +1 -1
- package/dist/components/ui/TopUpWalletModal/TopUpWalletModal.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/main.cjs +550 -328
- package/dist/main.d.ts +19 -19
- package/dist/main.js +111497 -101629
- package/dist/shared/constants/endpoints.d.ts +2 -0
- package/dist/shared/hooks/useFetch.d.ts +8 -9
- package/dist/shared/providers/AppProvider.d.ts +3 -4
- package/dist/shared/providers/AuthProvider.d.ts +2 -3
- package/dist/shared/services/http.d.ts +4 -4
- package/dist/shared/types/backend.types.d.ts +1 -2
- package/dist/shared/zustand/alert.store.d.ts +1 -2
- package/dist/shared/zustand/session.store.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/node_modules/html-dom-parser/esm/types.d.ts +0 -3
- package/dist/src/App.d.ts +0 -4
- package/dist/src/components/customComponents/CustomCard/index.d.ts +0 -13
- package/dist/src/components/customComponents/CustomFilter/index.d.ts +0 -24
- package/dist/src/components/customComponents/CustomSearch/index.d.ts +0 -10
- package/dist/src/components/customComponents/CustomTooltip/index.d.ts +0 -10
- package/dist/src/components/customComponents/PageHeading/index.d.ts +0 -23
- package/dist/src/components/manage/Subscription/BillingSubscription/BillingSubscription.d.ts +0 -1
- package/dist/src/components/manage/Subscription/Consumption/Consumption.d.ts +0 -1
- package/dist/src/components/manage/Subscription/Invoices/Invoices.d.ts +0 -1
- package/dist/src/components/manage/Subscription/Invoices/constant.d.ts +0 -4
- package/dist/src/components/manage/Subscription/Ledger/Ledger.d.ts +0 -1
- package/dist/src/components/manage/Subscription/Mail/Mail.d.ts +0 -1
- package/dist/src/components/manage/Subscription/NewOverview/ManageUsers.d.ts +0 -5
- package/dist/src/components/manage/Subscription/NewOverview/NewOverview.d.ts +0 -2
- package/dist/src/components/manage/Subscription/Overview/Overview.d.ts +0 -5
- package/dist/src/components/manage/Subscription/PaymentMethod/PaymentMethod.d.ts +0 -1
- package/dist/src/components/manage/Subscription/PaymentRecords/PaymentRecords.d.ts +0 -6
- package/dist/src/components/manage/Subscription/PaymentRecords/TableView/Table.d.ts +0 -1
- package/dist/src/components/manage/Subscription/PlansOverview/ComaprePlans.d.ts +0 -5
- package/dist/src/components/manage/Subscription/PlansOverview/PlansOverview.d.ts +0 -2
- package/dist/src/components/manage/Subscription/PlansOverview/constant.d.ts +0 -5
- package/dist/src/components/manage/Subscription/ProductUpdates/ProductUpdates.d.ts +0 -2
- package/dist/src/components/manage/Subscription/ServiceDeskLogs/ServiceDeskLogs.d.ts +0 -1
- package/dist/src/components/manage/Subscription/SubscribedPlan/SubscribedPlan.d.ts +0 -5
- package/dist/src/components/manage/Subscription/SubscriptionPricing/CardView/CardView.d.ts +0 -50
- package/dist/src/components/manage/Subscription/SubscriptionPricing/ComparePlans/ComparePlans.d.ts +0 -3
- package/dist/src/components/manage/Subscription/SubscriptionPricing/SubscriptionPricing.d.ts +0 -51
- package/dist/src/components/manage/Subscription/TempPayment/TempPayment.d.ts +0 -1
- package/dist/src/components/manage/Subscription/TempPayment/constant.d.ts +0 -5
- package/dist/src/components/manage/Subscription/UpcomingSubscription/UpcomingSubscription.d.ts +0 -1
- package/dist/src/components/manage/Subscription/UpcomingSubscription/constant.d.ts +0 -4
- package/dist/src/components/manage/Subscription/Wallet/Wallet.d.ts +0 -1
- package/dist/src/components/manage/Subscription/Wallet/constant.d.ts +0 -8
- package/dist/src/components/manage/Subscription/WalletDashboard/WalletDashboard.d.ts +0 -2
- package/dist/src/components/manage/Subscription/WalletDashboard/index.d.ts +0 -2
- package/dist/src/components/ui/Alert/Alert.d.ts +0 -6
- package/dist/src/components/ui/DatePicker/DatePicker.d.ts +0 -4
- package/dist/src/components/ui/Loader/Loader.d.ts +0 -7
- package/dist/src/components/ui/NoDataFound/NoDataFound.d.ts +0 -5
- package/dist/src/components/ui/OrgDetailsCard/OrgDetailsCard.d.ts +0 -20
- package/dist/src/components/ui/OverviewCard/OverviewCard.d.ts +0 -4
- package/dist/src/components/ui/TextReducingTooltipComponent/TextReducingTooltipComponent.d.ts +0 -10
- package/dist/src/components/ui/TopUpWalletModal/TopUpWalletModal.d.ts +0 -6
- package/dist/src/index.d.ts +0 -1
- package/dist/src/main.d.ts +0 -19
- package/dist/src/shared/constants/constant.d.ts +0 -42
- package/dist/src/shared/constants/endpoints.d.ts +0 -34
- package/dist/src/shared/constants/form-types.d.ts +0 -44
- package/dist/src/shared/constants/status.d.ts +0 -4
- package/dist/src/shared/constants/time.d.ts +0 -53
- package/dist/src/shared/hooks/useConstants.d.ts +0 -1
- package/dist/src/shared/hooks/useDownloadBufferFile.d.ts +0 -7
- package/dist/src/shared/hooks/useDownloadXls.d.ts +0 -1
- package/dist/src/shared/hooks/useErrorAlert.d.ts +0 -1
- package/dist/src/shared/hooks/useFetch.d.ts +0 -124
- package/dist/src/shared/hooks/useFilterParsedValue.d.ts +0 -6
- package/dist/src/shared/hooks/useLoading.d.ts +0 -1
- package/dist/src/shared/hooks/useMutation.d.ts +0 -18
- package/dist/src/shared/hooks/useSuccessAlert.d.ts +0 -1
- package/dist/src/shared/providers/AppProvider.d.ts +0 -14
- package/dist/src/shared/providers/AuthProvider.d.ts +0 -11
- package/dist/src/shared/services/cashfree-payments.d.ts +0 -1
- package/dist/src/shared/services/http.d.ts +0 -11
- package/dist/src/shared/types/backend.types.d.ts +0 -20
- package/dist/src/shared/utils/utils.d.ts +0 -25
- package/dist/src/shared/zustand/alert.store.d.ts +0 -20
- package/dist/src/shared/zustand/session.store.d.ts +0 -22
package/dist/App.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const theme: import(
|
|
3
|
-
declare function App(): import("react
|
|
1
|
+
import "./App.css";
|
|
2
|
+
export declare const theme: import("@mui/material").Theme;
|
|
3
|
+
declare function App(): import("react").JSX.Element;
|
|
4
4
|
export default App;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import React, { ReactElement, ReactNode } from "react";
|
|
3
2
|
export declare const CardLabel: ({ label, icon }: {
|
|
4
3
|
label: string | ReactElement;
|
|
5
4
|
icon?: ReactElement;
|
|
6
|
-
}) =>
|
|
5
|
+
}) => React.JSX.Element;
|
|
7
6
|
interface Props {
|
|
8
7
|
children: ReactNode;
|
|
9
8
|
className?: string;
|
|
@@ -6,5 +6,5 @@ interface Props {
|
|
|
6
6
|
endAdornment?: string;
|
|
7
7
|
startAdornment?: string;
|
|
8
8
|
}
|
|
9
|
-
declare function CustomTooltip({ data, limit, doNotShowTooltip, arrow, endAdornment, startAdornment, }: Props): import("react
|
|
9
|
+
declare function CustomTooltip({ data, limit, doNotShowTooltip, arrow, endAdornment, startAdornment, }: Props): import("react").JSX.Element;
|
|
10
10
|
export default CustomTooltip;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ButtonProps } from
|
|
3
|
-
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
|
+
import { ButtonProps } from "@zimyo/ui";
|
|
4
3
|
type PageHeadingButtonConfig = {
|
|
5
4
|
variant?: ButtonProps["variant"];
|
|
6
5
|
color?: ButtonProps["color"];
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const BillingSubscription: () => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SubscriptionConsumption: () => import("react
|
|
1
|
+
export declare const SubscriptionConsumption: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CustomerInvoices: () => import("react
|
|
1
|
+
export declare const CustomerInvoices: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Ledger: () => import("react
|
|
1
|
+
export declare const Ledger: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Mail: () => import("react
|
|
1
|
+
export declare const Mail: () => import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface ManageUsersProps {
|
|
2
2
|
onClose?: () => void;
|
|
3
3
|
}
|
|
4
|
-
declare const ManageUsers: ({ onClose }: ManageUsersProps) => import("react
|
|
4
|
+
declare const ManageUsers: ({ onClose }: ManageUsersProps) => import("react").JSX.Element;
|
|
5
5
|
export default ManageUsers;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const NewOverview: () => import("react
|
|
1
|
+
export declare const NewOverview: () => import("react").JSX.Element;
|
|
2
2
|
export default NewOverview;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type overviewPropTypes = {
|
|
2
2
|
onTabChange: (value: number) => void;
|
|
3
3
|
};
|
|
4
|
-
export declare const SubscriptionOverview: (props: overviewPropTypes) => import("react
|
|
4
|
+
export declare const SubscriptionOverview: (props: overviewPropTypes) => import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SubscriptionPaymentMethod: () => import("react
|
|
1
|
+
export declare const SubscriptionPaymentMethod: () => import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import "./PaymentRecords.css";
|
|
2
2
|
type overviewPropTypes = {
|
|
3
3
|
onTabChange: (value: number) => void;
|
|
4
4
|
};
|
|
5
|
-
declare const PaymentRecords: (props: overviewPropTypes) => import("react
|
|
5
|
+
declare const PaymentRecords: (props: overviewPropTypes) => import("react").JSX.Element;
|
|
6
6
|
export default PaymentRecords;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
planAmount?: Record<string, number>;
|
|
3
3
|
}
|
|
4
|
-
declare const PlanComparisonTable: ({ planAmount }: Props) => import("react
|
|
4
|
+
declare const PlanComparisonTable: ({ planAmount }: Props) => import("react").JSX.Element;
|
|
5
5
|
export default PlanComparisonTable;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type Line = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
user: number | string;
|
|
5
|
+
currentUser: number;
|
|
6
|
+
type: 'plan' | 'add_on';
|
|
7
|
+
isNew?: boolean;
|
|
8
|
+
currentName?: string;
|
|
9
|
+
};
|
|
10
|
+
interface Props {
|
|
11
|
+
currency: string;
|
|
12
|
+
plan: Line | null;
|
|
13
|
+
addOns: Line[];
|
|
14
|
+
removedAddOns: string[];
|
|
15
|
+
offeredAddOnIds: number[];
|
|
16
|
+
onUserChange: (value: string, type: 'plan' | 'add_on', id: number) => void;
|
|
17
|
+
onPaid: () => void;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Change subscription checkout. The customer sets users per item and sees what
|
|
21
|
+
* it costs, worked out by the server exactly like the PI it raises (period
|
|
22
|
+
* charges less the unused part of the current period and any balance, GST,
|
|
23
|
+
* round off) plus everything else still due. Every change starts today, as
|
|
24
|
+
* soon as it is paid. Users never go below today's; a lower plan or a removed
|
|
25
|
+
* add-on only once the subscription has ended (from the day after its End Date).
|
|
26
|
+
*/
|
|
27
|
+
export declare function PlanChangeCheckout({ currency, plan, addOns, removedAddOns, offeredAddOnIds, onUserChange, onPaid }: Props): import("react").JSX.Element;
|
|
28
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function PlansOverview(): import("react
|
|
1
|
+
import "./style.css";
|
|
2
|
+
export declare function PlansOverview(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ServiceDeskLogs: () => import("react
|
|
1
|
+
export declare const ServiceDeskLogs: () => import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type subscribedPlanPropTypes = {
|
|
2
2
|
onTabChange: (value: number) => void;
|
|
3
3
|
};
|
|
4
|
-
export declare const SubscriptionPlans: (props: subscribedPlanPropTypes) => import("react
|
|
4
|
+
export declare const SubscriptionPlans: (props: subscribedPlanPropTypes) => import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import "./CardView.css";
|
|
2
2
|
type OverviewData = {
|
|
3
3
|
employee_details: {
|
|
4
4
|
active_employee: number;
|
|
@@ -46,5 +46,5 @@ type AddOnProduct = {
|
|
|
46
46
|
type CardViewProps = {
|
|
47
47
|
overviewData?: OverviewData;
|
|
48
48
|
};
|
|
49
|
-
declare const CardView: ({ overviewData }: CardViewProps) => import("react
|
|
49
|
+
declare const CardView: ({ overviewData }: CardViewProps) => import("react").JSX.Element;
|
|
50
50
|
export default CardView;
|
package/dist/components/manage/Subscription/SubscriptionPricing/ComparePlans/ComparePlans.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ComparePlans: () => import("react
|
|
1
|
+
import './ComparePlans.css';
|
|
2
|
+
declare const ComparePlans: () => import("react").JSX.Element;
|
|
3
3
|
export default ComparePlans;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import "./SubscriptionPricing.css";
|
|
2
2
|
type overviewPropTypes = {
|
|
3
3
|
onTabChange: (value: number) => void;
|
|
4
4
|
overviewData?: OverviewData;
|
|
@@ -47,5 +47,5 @@ type AddOnProduct = {
|
|
|
47
47
|
modules_ids: number[];
|
|
48
48
|
subscription_id: number;
|
|
49
49
|
};
|
|
50
|
-
export declare const SubscriptionPricing: (props: overviewPropTypes) => import("react
|
|
50
|
+
export declare const SubscriptionPricing: (props: overviewPropTypes) => import("react").JSX.Element;
|
|
51
51
|
export default SubscriptionPricing;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const TempPayment: () => import("react
|
|
1
|
+
export declare const TempPayment: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const UpcomingInvoices: () => import("react
|
|
1
|
+
export declare const UpcomingInvoices: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SubscriptionWallet: () => import("react
|
|
1
|
+
export declare const SubscriptionWallet: () => import("react").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { AlertColor } from
|
|
2
|
-
|
|
1
|
+
import { AlertColor } from "@mui/material";
|
|
3
2
|
declare const AlertComponent: (props: {
|
|
4
3
|
type: AlertColor | undefined | string;
|
|
5
4
|
message?: string;
|
|
6
|
-
}) => import("react
|
|
5
|
+
}) => import("react").JSX.Element;
|
|
7
6
|
export default AlertComponent;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
|
|
2
2
|
import { Dayjs } from 'dayjs';
|
|
3
|
-
|
|
4
|
-
declare const XDatePicker: (props: DatePickerProps<Dayjs>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const XDatePicker: (props: DatePickerProps<Dayjs>) => import("react").JSX.Element;
|
|
5
4
|
export default XDatePicker;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import "./Loader.css";
|
|
2
2
|
type props = {
|
|
3
3
|
visible: boolean;
|
|
4
4
|
type?: "component" | "table" | "skeleton";
|
|
5
5
|
};
|
|
6
|
-
export declare const Loader: ({ visible, type }: props) => import("react
|
|
6
|
+
export declare const Loader: ({ visible, type }: props) => import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -6,5 +6,5 @@ declare function TextReducingTooltipComponent({ data, limit, doNotShowTooltip, a
|
|
|
6
6
|
endAdornment?: string | undefined;
|
|
7
7
|
startAdornment?: string | undefined;
|
|
8
8
|
styleOverrides?: {} | undefined;
|
|
9
|
-
}): import("react
|
|
9
|
+
}): import("react").JSX.Element;
|
|
10
10
|
export default TextReducingTooltipComponent;
|
|
@@ -2,5 +2,5 @@ type topupWalletModalProps = {
|
|
|
2
2
|
open: boolean;
|
|
3
3
|
setIsOpen: (value: boolean) => void;
|
|
4
4
|
};
|
|
5
|
-
declare const TopUpWalletModal: (props: topupWalletModalProps) => import("react
|
|
5
|
+
declare const TopUpWalletModal: (props: topupWalletModalProps) => import("react").JSX.Element;
|
|
6
6
|
export default TopUpWalletModal;
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import './index.css';
|