@bunnyapp/components 1.4.0-beta.2 → 1.5.0-beta.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.
- package/dist/cjs/index.js +849 -495
- package/dist/cjs/src/components/Invoice/Invoice.d.ts +4 -1
- package/dist/cjs/src/components/PlanManagerQuoteProvider.d.ts +19 -0
- package/dist/cjs/src/components/Quote/Quote.stories.d.ts +5 -0
- package/dist/cjs/src/components/QuotePreviewProvider.d.ts +0 -2
- package/dist/cjs/src/components/Subscriptions/AddonIndentation.d.ts +8 -0
- package/dist/cjs/src/components/Subscriptions/AddonSubscriptionCards.d.ts +7 -0
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/PriceListGrid.d.ts +3 -3
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/checkoutBar/CheckoutBarSummarySection.d.ts +2 -3
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/checkoutBar/CheckoutButton.d.ts +2 -1
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/checkoutBar/PlanPickerCheckoutBar.d.ts +1 -2
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +2 -1
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/PlanAddonsCard.d.ts +11 -0
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/PriceListCardDesktop.d.ts +4 -3
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/PriceListGridDesktop.d.ts +3 -3
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerMobile/PriceListCardMobile.d.ts +1 -2
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerMobile/PriceListGridMobile.d.ts +2 -3
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/PriceListCard.d.ts +3 -2
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/PriceListCardButton.d.ts +2 -2
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/PriceListCardPrice.d.ts +2 -1
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/PriceListCardTitle.d.ts +1 -1
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/priceListCardUtils.d.ts +1 -2
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/{PriceListSelector.d.ts → priceListSelector/PriceListSelector.d.ts} +1 -2
- package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/priceListSelector/PriceListSelectorContext.d.ts +9 -0
- package/dist/cjs/src/components/Subscriptions/QuotePreviewData.d.ts +6 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/SubscriptionCardActions.d.ts +2 -2
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/SubscriptionsList.d.ts +1 -1
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardDesktop.d.ts +2 -1
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +1 -1
- package/dist/cjs/src/components/Transactions/Transactions.d.ts +3 -1
- package/dist/cjs/src/components/Transactions/TransactionsListContext.d.ts +1 -0
- package/dist/cjs/src/graphql/QuoteRequests.d.ts +17 -2
- package/dist/cjs/src/graphql/mutations/quoteAddonCreate.d.ts +7 -0
- package/dist/cjs/src/graphql/mutations/quoteChangeCreate.d.ts +8 -0
- package/dist/cjs/src/graphql/mutations/quoteChangeDelete.d.ts +6 -0
- package/dist/cjs/src/graphql/mutations/quoteChargeDelete.d.ts +2 -1
- package/dist/cjs/src/graphql/mutations/quoteCompose.d.ts +0 -1
- package/dist/cjs/src/graphql/mutations/quoteCreate.d.ts +8 -0
- package/dist/cjs/src/graphql/mutations/quoteCreateWithDeal.d.ts +10 -0
- package/dist/cjs/src/graphql/queries/getQuote.d.ts +3 -1
- package/dist/cjs/src/hooks/quotes/useQuoteCreate.d.ts +12 -0
- package/dist/cjs/src/hooks/quotes/useQuoteUpdateFeatureAddon.d.ts +2 -3
- package/dist/cjs/src/hooks/useToggleAddonQuoteChange.d.ts +7 -0
- package/dist/cjs/src/utils/addonPlanUtils.d.ts +4 -0
- package/dist/esm/index.js +849 -495
- package/dist/esm/src/components/Invoice/Invoice.d.ts +4 -1
- package/dist/esm/src/components/PlanManagerQuoteProvider.d.ts +19 -0
- package/dist/esm/src/components/Quote/Quote.stories.d.ts +5 -0
- package/dist/esm/src/components/QuotePreviewProvider.d.ts +0 -2
- package/dist/esm/src/components/Subscriptions/AddonIndentation.d.ts +8 -0
- package/dist/esm/src/components/Subscriptions/AddonSubscriptionCards.d.ts +7 -0
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/PriceListGrid.d.ts +3 -3
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/checkoutBar/CheckoutBarSummarySection.d.ts +2 -3
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/checkoutBar/CheckoutButton.d.ts +2 -1
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/checkoutBar/PlanPickerCheckoutBar.d.ts +1 -2
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +2 -1
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/PlanAddonsCard.d.ts +11 -0
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/PriceListCardDesktop.d.ts +4 -3
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/PriceListGridDesktop.d.ts +3 -3
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerMobile/PriceListCardMobile.d.ts +1 -2
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerMobile/PriceListGridMobile.d.ts +2 -3
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/PriceListCard.d.ts +3 -2
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/PriceListCardButton.d.ts +2 -2
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/PriceListCardPrice.d.ts +2 -1
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/PriceListCardTitle.d.ts +1 -1
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/priceListCardUtils.d.ts +1 -2
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/{PriceListSelector.d.ts → priceListSelector/PriceListSelector.d.ts} +1 -2
- package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/priceListSelector/PriceListSelectorContext.d.ts +9 -0
- package/dist/esm/src/components/Subscriptions/QuotePreviewData.d.ts +6 -0
- package/dist/esm/src/components/Subscriptions/subscriptionsList/SubscriptionCardActions.d.ts +2 -2
- package/dist/esm/src/components/Subscriptions/subscriptionsList/SubscriptionsList.d.ts +1 -1
- package/dist/esm/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardDesktop.d.ts +2 -1
- package/dist/esm/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +1 -1
- package/dist/esm/src/components/Transactions/Transactions.d.ts +3 -1
- package/dist/esm/src/components/Transactions/TransactionsListContext.d.ts +1 -0
- package/dist/esm/src/graphql/QuoteRequests.d.ts +17 -2
- package/dist/esm/src/graphql/mutations/quoteAddonCreate.d.ts +7 -0
- package/dist/esm/src/graphql/mutations/quoteChangeCreate.d.ts +8 -0
- package/dist/esm/src/graphql/mutations/quoteChangeDelete.d.ts +6 -0
- package/dist/esm/src/graphql/mutations/quoteChargeDelete.d.ts +2 -1
- package/dist/esm/src/graphql/mutations/quoteCompose.d.ts +0 -1
- package/dist/esm/src/graphql/mutations/quoteCreate.d.ts +8 -0
- package/dist/esm/src/graphql/mutations/quoteCreateWithDeal.d.ts +10 -0
- package/dist/esm/src/graphql/queries/getQuote.d.ts +3 -1
- package/dist/esm/src/hooks/quotes/useQuoteCreate.d.ts +12 -0
- package/dist/esm/src/hooks/quotes/useQuoteUpdateFeatureAddon.d.ts +2 -3
- package/dist/esm/src/hooks/useToggleAddonQuoteChange.d.ts +7 -0
- package/dist/esm/src/utils/addonPlanUtils.d.ts +4 -0
- package/dist/index.d.ts +7 -2
- package/package.json +1 -1
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import '../../styles/index.less';
|
|
2
2
|
import { InvoiceQuoteContextProps } from './InvoiceQuoteContext';
|
|
3
|
-
export
|
|
3
|
+
export type InvoiceProps = InvoiceQuoteContextProps & {
|
|
4
|
+
hidePaymentForm?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export default function Invoice({ id, invoiceQuoteViewComponent, backButtonName, onBackButtonClick, onInvoiceDownloadError, onPaymentSuccess, shadow, className, hideDownloadButton, hidePaymentForm, onInvoiceLoaded, }: InvoiceProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Quote } from '@bunnyapp/common';
|
|
3
|
+
import { EditingQuoteDataType } from './Subscriptions/SubscriptionsListContainer';
|
|
4
|
+
export type PlanManagerQuoteContextValues = {
|
|
5
|
+
quote: Quote | undefined;
|
|
6
|
+
isQuotePending: boolean;
|
|
7
|
+
isAddonPlanLoading: boolean;
|
|
8
|
+
setIsAddonPlanLoading: React.Dispatch<React.SetStateAction<boolean>>;
|
|
9
|
+
isFeatureAddonsLoading: boolean;
|
|
10
|
+
addFeatureAddonLoading: (featureAddonId: string) => void;
|
|
11
|
+
removeFeatureAddonLoading: (featureAddonId: string) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const PlanManagerQuoteContext: import("react").Context<PlanManagerQuoteContextValues>;
|
|
14
|
+
declare function PlanManagerQuoteProvider({ children, editingQuoteData, setEditingQuoteData, }: {
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
editingQuoteData: EditingQuoteDataType | undefined;
|
|
17
|
+
setEditingQuoteData: React.Dispatch<React.SetStateAction<EditingQuoteDataType | undefined>>;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default PlanManagerQuoteProvider;
|
|
@@ -16,6 +16,7 @@ export declare const Default: import("@storybook/core/csf").StoryAnnotations<imp
|
|
|
16
16
|
onPaymentSuccess?: any;
|
|
17
17
|
invoiceQuoteViewComponent?: any;
|
|
18
18
|
onInvoiceDownloadError?: any;
|
|
19
|
+
hidePaymentForm?: any;
|
|
19
20
|
onInvoiceLoaded?: any;
|
|
20
21
|
onQuoteLoaded?: any;
|
|
21
22
|
}>;
|
|
@@ -32,6 +33,7 @@ export declare const NoShadow: import("@storybook/core/csf").StoryAnnotations<im
|
|
|
32
33
|
onPaymentSuccess?: any;
|
|
33
34
|
invoiceQuoteViewComponent?: any;
|
|
34
35
|
onInvoiceDownloadError?: any;
|
|
36
|
+
hidePaymentForm?: any;
|
|
35
37
|
onInvoiceLoaded?: any;
|
|
36
38
|
onQuoteLoaded?: any;
|
|
37
39
|
}>;
|
|
@@ -48,6 +50,7 @@ export declare const Mobile: import("@storybook/core/csf").StoryAnnotations<impo
|
|
|
48
50
|
onPaymentSuccess?: any;
|
|
49
51
|
invoiceQuoteViewComponent?: any;
|
|
50
52
|
onInvoiceDownloadError?: any;
|
|
53
|
+
hidePaymentForm?: any;
|
|
51
54
|
onInvoiceLoaded?: any;
|
|
52
55
|
onQuoteLoaded?: any;
|
|
53
56
|
}>;
|
|
@@ -64,6 +67,7 @@ export declare const CustomClassName: import("@storybook/core/csf").StoryAnnotat
|
|
|
64
67
|
onPaymentSuccess?: any;
|
|
65
68
|
invoiceQuoteViewComponent?: any;
|
|
66
69
|
onInvoiceDownloadError?: any;
|
|
70
|
+
hidePaymentForm?: any;
|
|
67
71
|
onInvoiceLoaded?: any;
|
|
68
72
|
onQuoteLoaded?: any;
|
|
69
73
|
}>;
|
|
@@ -83,6 +87,7 @@ export declare const DarkMode: import("@storybook/core/csf").StoryAnnotations<im
|
|
|
83
87
|
onPaymentSuccess?: any;
|
|
84
88
|
invoiceQuoteViewComponent?: any;
|
|
85
89
|
onInvoiceDownloadError?: any;
|
|
90
|
+
hidePaymentForm?: any;
|
|
86
91
|
onInvoiceLoaded?: any;
|
|
87
92
|
onQuoteLoaded?: any;
|
|
88
93
|
}>;
|
|
@@ -3,12 +3,10 @@ import { PriceList } from '@bunnyapp/common';
|
|
|
3
3
|
export type QuotePreviewData = {
|
|
4
4
|
priceList?: PriceList;
|
|
5
5
|
quantity?: number;
|
|
6
|
-
editingQuoteId?: string;
|
|
7
6
|
};
|
|
8
7
|
export type QuotePreviewContextValues = {
|
|
9
8
|
quotePreviewData?: QuotePreviewData;
|
|
10
9
|
setQuotePreviewData: React.Dispatch<React.SetStateAction<QuotePreviewData | undefined>>;
|
|
11
|
-
handleSetEditingQuote: (editingQuoteId: string) => void;
|
|
12
10
|
};
|
|
13
11
|
export declare const QuotePreviewContext: import("react").Context<QuotePreviewContextValues>;
|
|
14
12
|
declare function QuotePreviewProvider({ children }: {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Subscription } from '@bunnyapp/common';
|
|
2
|
+
export declare function AddonSubscriptionsCards({ onCancelSubscriptionClick, subscriptions, subscription, hideExpired, }: {
|
|
3
|
+
onCancelSubscriptionClick?: (subscription: Subscription) => void;
|
|
4
|
+
subscriptions: Subscription[];
|
|
5
|
+
subscription: Subscription;
|
|
6
|
+
hideExpired: boolean;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { PriceList, PriceListChangeOptions, Product, Subscription } from '@bunnyapp/common';
|
|
1
|
+
import { PriceList, BillingPeriod, PriceListChangeOptions, Product, Subscription } from '@bunnyapp/common';
|
|
2
2
|
import { Dispatch, SetStateAction } from 'react';
|
|
3
3
|
type PriceListGridProps = {
|
|
4
4
|
availablePriceLists: PriceList[];
|
|
5
|
-
onChangePriceList: (selectedPriceList: PriceList) => void;
|
|
6
5
|
priceListChangeOptions?: PriceListChangeOptions;
|
|
7
6
|
selectedPriceList?: PriceList;
|
|
8
7
|
selectedProduct?: Product;
|
|
@@ -10,6 +9,7 @@ type PriceListGridProps = {
|
|
|
10
9
|
priceListStart: number;
|
|
11
10
|
setPriceListStart: Dispatch<SetStateAction<number>>;
|
|
12
11
|
upgradingSubscriptionState?: Subscription;
|
|
12
|
+
selectedBillingPeriod?: BillingPeriod | undefined;
|
|
13
13
|
};
|
|
14
|
-
declare const PriceListGrid: ({ availablePriceLists,
|
|
14
|
+
declare const PriceListGrid: ({ availablePriceLists, priceListChangeOptions, priceListStart, selectedPriceList, selectedProduct, setPriceListStart, subscriptions, upgradingSubscriptionState, selectedBillingPeriod, }: PriceListGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export default PriceListGrid;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { PriceList,
|
|
2
|
-
declare const CheckoutBarSummarySection: ({ open,
|
|
1
|
+
import { PriceList, Subscription } from '@bunnyapp/common';
|
|
2
|
+
declare const CheckoutBarSummarySection: ({ open, selectedPriceList, onClickCheckout, upgradingSubscription, }: {
|
|
3
3
|
open: boolean;
|
|
4
|
-
quote?: Quote | undefined;
|
|
5
4
|
selectedPriceList: PriceList;
|
|
6
5
|
onClickCheckout: () => void;
|
|
7
6
|
upgradingSubscription?: Subscription | undefined;
|
package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/checkoutBar/CheckoutButton.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
declare const CheckoutButton: ({ checkoutButtonDisabled, onClickCheckout, loading, }: {
|
|
1
|
+
declare const CheckoutButton: ({ checkoutButtonDisabled, onClickCheckout, loading, tooltipText, }: {
|
|
2
2
|
checkoutButtonDisabled: boolean;
|
|
3
3
|
onClickCheckout: () => void;
|
|
4
4
|
loading: boolean;
|
|
5
|
+
tooltipText?: string | undefined;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export default CheckoutButton;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EditingQuoteDataType } from '../../../Subscriptions';
|
|
2
|
-
declare const PlanPickerCheckoutBarWrapper: ({ editingQuote,
|
|
2
|
+
declare const PlanPickerCheckoutBarWrapper: ({ editingQuote, handlePortalErrors, onCheckoutSuccess, }: {
|
|
3
3
|
editingQuote?: EditingQuoteDataType | undefined;
|
|
4
|
-
setEditingQuoteData?: ((quoteId?: string, isTrial?: boolean) => void) | undefined;
|
|
5
4
|
handlePortalErrors?: ((errors: any) => void) | undefined;
|
|
6
5
|
onCheckoutSuccess: () => void;
|
|
7
6
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -62,9 +62,10 @@ export declare const filterUniqueFeatures: ({ availablePriceLists, }: {
|
|
|
62
62
|
updatedAt: string;
|
|
63
63
|
addonPlans?: import("@bunnyapp/common").Plan[] | undefined;
|
|
64
64
|
}[];
|
|
65
|
-
declare const EverythingPlanFeatures: ({ displayPriceLists, selectedProduct, plansToDisplay, }: {
|
|
65
|
+
declare const EverythingPlanFeatures: ({ displayPriceLists, selectedProduct, plansToDisplay, hideBorder, }: {
|
|
66
66
|
displayPriceLists: PriceList[];
|
|
67
67
|
plansToDisplay: number;
|
|
68
68
|
selectedProduct?: Product | undefined;
|
|
69
|
+
hideBorder?: boolean | undefined;
|
|
69
70
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
70
71
|
export default EverythingPlanFeatures;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BillingPeriod, Plan, PriceList, PriceListChangeOptions, Product, Subscription } from '@bunnyapp/common';
|
|
2
|
+
type PlanAddonsCardProps = {
|
|
3
|
+
selectedPriceList: PriceList;
|
|
4
|
+
subscriptions: Subscription[];
|
|
5
|
+
addonPlans: Plan[];
|
|
6
|
+
selectedProduct: Product | undefined;
|
|
7
|
+
priceListChangeOptions: PriceListChangeOptions | undefined;
|
|
8
|
+
selectedBillingPeriod: BillingPeriod | undefined;
|
|
9
|
+
};
|
|
10
|
+
declare const PlanAddonsCard: ({ selectedPriceList, subscriptions, addonPlans, selectedProduct, priceListChangeOptions, selectedBillingPeriod, }: PlanAddonsCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default PlanAddonsCard;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Feature, PriceList, Subscription } from '@bunnyapp/common';
|
|
2
|
-
declare const PriceListCardDesktop: ({ description,
|
|
2
|
+
declare const PriceListCardDesktop: ({ hideButton, description, disableSelectCurrentPlan, feature, isPriceListCurrentSubscription, isSelected, priceList, subscriptionPlan, trialRemainingDays, noBorder, }: {
|
|
3
|
+
hideButton?: boolean | undefined;
|
|
3
4
|
description: string;
|
|
4
|
-
|
|
5
|
+
disableSelectCurrentPlan: boolean;
|
|
5
6
|
feature?: Feature | undefined;
|
|
6
7
|
isPriceListCurrentSubscription: boolean;
|
|
7
8
|
isSelected: boolean;
|
|
8
|
-
onClick: (priceList: PriceList) => void;
|
|
9
9
|
priceList: PriceList;
|
|
10
10
|
subscriptionPlan?: Subscription | undefined;
|
|
11
11
|
trialRemainingDays?: number | undefined;
|
|
12
|
+
noBorder?: boolean | undefined;
|
|
12
13
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default PriceListCardDesktop;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { PriceList, PriceListChangeOptions, Product, Subscription } from '@bunnyapp/common';
|
|
1
|
+
import { BillingPeriod, PriceList, PriceListChangeOptions, Product, Subscription } from '@bunnyapp/common';
|
|
2
2
|
import { Dispatch, SetStateAction } from 'react';
|
|
3
3
|
type PriceListGridDesktopProps = {
|
|
4
4
|
availablePriceLists: PriceList[];
|
|
5
|
-
onChangePriceList: (selectedPriceList: PriceList) => void;
|
|
6
5
|
priceListChangeOptions?: PriceListChangeOptions;
|
|
7
6
|
priceListStart: number;
|
|
8
7
|
selectedPriceList?: PriceList;
|
|
@@ -10,6 +9,7 @@ type PriceListGridDesktopProps = {
|
|
|
10
9
|
setPriceListStart: Dispatch<SetStateAction<number>>;
|
|
11
10
|
subscriptions: Subscription[];
|
|
12
11
|
trialRemainingDays: number;
|
|
12
|
+
selectedBillingPeriod?: BillingPeriod | undefined;
|
|
13
13
|
};
|
|
14
|
-
declare const PriceListGridDesktop: ({ availablePriceLists,
|
|
14
|
+
declare const PriceListGridDesktop: ({ availablePriceLists, priceListChangeOptions, priceListStart, selectedPriceList, selectedProduct, setPriceListStart, subscriptions, trialRemainingDays, selectedBillingPeriod, }: PriceListGridDesktopProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export default PriceListGridDesktop;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Feature, PriceList, Subscription } from '@bunnyapp/common';
|
|
2
|
-
declare const PriceListCardMobile: ({ description, disableOnClick, feature, isPriceListCurrentSubscription, isSelected,
|
|
2
|
+
declare const PriceListCardMobile: ({ description, disableOnClick, feature, isPriceListCurrentSubscription, isSelected, priceList, subscriptionPlan, trialRemainingDays, }: {
|
|
3
3
|
description: string;
|
|
4
4
|
disableOnClick: boolean;
|
|
5
5
|
feature?: Feature | undefined;
|
|
6
6
|
isPriceListCurrentSubscription: boolean;
|
|
7
7
|
isSelected: boolean;
|
|
8
|
-
onClick: (priceList: PriceList) => void;
|
|
9
8
|
priceList: PriceList;
|
|
10
9
|
subscriptionPlan?: Subscription | undefined;
|
|
11
10
|
trialRemainingDays?: number | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { PriceList, PriceListChangeOptions, Product, Subscription } from
|
|
2
|
-
declare const PriceListGridMobile: ({ availablePriceLists,
|
|
1
|
+
import { PriceList, PriceListChangeOptions, Product, Subscription } from '@bunnyapp/common';
|
|
2
|
+
declare const PriceListGridMobile: ({ availablePriceLists, priceListChangeOptions, selectedPriceList, selectedProduct, subscriptions, trialRemainingDays, }: {
|
|
3
3
|
availablePriceLists: PriceList[];
|
|
4
|
-
onChangePriceList: (selectedPriceList: PriceList) => void;
|
|
5
4
|
priceListChangeOptions?: PriceListChangeOptions | undefined;
|
|
6
5
|
selectedPriceList?: PriceList | undefined;
|
|
7
6
|
selectedProduct?: Product | undefined;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { PriceList, Subscription } from '@bunnyapp/common';
|
|
2
|
-
declare const PriceListCard: ({
|
|
2
|
+
declare const PriceListCard: ({ hideButton, isSelected, priceList, subscriptions, trialRemainingDays, noBorder, }: {
|
|
3
|
+
hideButton?: boolean | undefined;
|
|
3
4
|
isSelected: boolean;
|
|
4
|
-
onClick: (priceList: PriceList) => void;
|
|
5
5
|
priceList: PriceList;
|
|
6
6
|
subscriptions?: Subscription[] | undefined;
|
|
7
7
|
trialRemainingDays?: number | undefined;
|
|
8
|
+
noBorder?: boolean | undefined;
|
|
8
9
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
10
|
export default PriceListCard;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PriceList, Subscription } from '@bunnyapp/common';
|
|
2
|
-
declare const PriceListCardButton: ({
|
|
3
|
-
|
|
2
|
+
declare const PriceListCardButton: ({ disableSelectCurrentPlan, isPriceListCurrentSubscription, isSelected, priceList, subscriptionPlan, }: {
|
|
3
|
+
disableSelectCurrentPlan: boolean;
|
|
4
4
|
isPriceListCurrentSubscription: boolean;
|
|
5
5
|
isSelected: boolean;
|
|
6
6
|
priceList: PriceList;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PriceList } from '@bunnyapp/common';
|
|
2
|
-
declare const PriceListCardPrice: ({ priceList }: {
|
|
2
|
+
declare const PriceListCardPrice: ({ priceList, fontSize, }: {
|
|
3
3
|
priceList: PriceList;
|
|
4
|
+
fontSize?: string | undefined;
|
|
4
5
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export default PriceListCardPrice;
|
|
@@ -3,8 +3,7 @@ export declare const createPlanDescription: (priceList: PriceList) => string;
|
|
|
3
3
|
export declare const getActivePlanPriceData: (priceList?: PriceList, selectedPriceList?: PriceList) => {
|
|
4
4
|
activeCharge: PriceListCharge | undefined;
|
|
5
5
|
} | undefined;
|
|
6
|
-
export declare const isPriceListDisabled: ({ priceList, upgradingSubscription,
|
|
6
|
+
export declare const isPriceListDisabled: ({ priceList, upgradingSubscription, }: {
|
|
7
7
|
priceList: PriceList;
|
|
8
8
|
upgradingSubscription: Subscription | undefined;
|
|
9
|
-
canPurchaseFeatureAddons: boolean;
|
|
10
9
|
}) => boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PriceList, PriceListChangeOptions, Subscription } from '@bunnyapp/common';
|
|
2
|
-
declare const PriceListSelector: ({ arePlanChangeOptionsLoading, areSubscriptionsLoading,
|
|
2
|
+
declare const PriceListSelector: ({ arePlanChangeOptionsLoading, areSubscriptionsLoading, priceListChangeOptions, selectedPriceList, subscriptions, }: {
|
|
3
3
|
arePlanChangeOptionsLoading: boolean;
|
|
4
4
|
areSubscriptionsLoading: boolean;
|
|
5
|
-
onChangePriceList: (selectedPriceList: PriceList) => void;
|
|
6
5
|
priceListChangeOptions?: PriceListChangeOptions | undefined;
|
|
7
6
|
selectedPriceList?: PriceList | undefined;
|
|
8
7
|
subscriptions: Subscription[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PriceList } from '@bunnyapp/common';
|
|
3
|
+
export type PriceListSelectorContextValues = {
|
|
4
|
+
onChangePriceList: (selectedPriceList: PriceList) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const PriceListSelectorContext: import("react").Context<PriceListSelectorContextValues>;
|
|
7
|
+
export declare function PriceListSelectorProvider({ children }: {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
package/dist/esm/src/components/Subscriptions/subscriptionsList/SubscriptionCardActions.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PriceListChangeOptions, Subscription } from '@bunnyapp/common';
|
|
2
2
|
declare const SubscriptionCardActions: ({ onChangePlanClick, onCancelSubscriptionClick, priceListChangeOptions, subscription, }: {
|
|
3
|
-
onChangePlanClick
|
|
4
|
-
onCancelSubscriptionClick
|
|
3
|
+
onChangePlanClick?: ((subscription: Subscription) => void) | undefined;
|
|
4
|
+
onCancelSubscriptionClick?: ((subscription: Subscription) => void) | undefined;
|
|
5
5
|
priceListChangeOptions?: PriceListChangeOptions | undefined;
|
|
6
6
|
subscription: Subscription;
|
|
7
7
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PriceListChangeOptions, Subscription } from
|
|
1
|
+
import { PriceListChangeOptions, Subscription } from '@bunnyapp/common';
|
|
2
2
|
declare const SubscriptionsList: ({ hideExpired, onChangePlanClick, onCancelSubscriptionClick, priceListChangeOptions, subscriptions, }: {
|
|
3
3
|
hideExpired: boolean;
|
|
4
4
|
onChangePlanClick?: ((subscription: Subscription) => void) | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PriceListChangeOptions, Subscription } from '@bunnyapp/common';
|
|
2
|
-
declare const SubscriptionCardDesktop: ({ onChangePlanClick, onCancelSubscriptionClick, priceListChangeOptions, subscription, }: {
|
|
2
|
+
declare const SubscriptionCardDesktop: ({ onChangePlanClick, onCancelSubscriptionClick, priceListChangeOptions, subscription, isAddon, }: {
|
|
3
3
|
onChangePlanClick?: ((subscription: Subscription) => void) | undefined;
|
|
4
4
|
onCancelSubscriptionClick?: ((subscription: Subscription) => void) | undefined;
|
|
5
5
|
priceListChangeOptions?: PriceListChangeOptions | undefined;
|
|
6
6
|
subscription: Subscription;
|
|
7
|
+
isAddon?: boolean | undefined;
|
|
7
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export default SubscriptionCardDesktop;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Plan, Product, Quote, Subscription, SubscriptionCharge
|
|
1
|
+
import { Plan, Product, Quote, QuoteChangeKind, Subscription, SubscriptionCharge } from '@bunnyapp/common';
|
|
2
2
|
import { EditingSubscriptionType } from '../quantityChangeDrawer/QuantityInput';
|
|
3
3
|
export declare const canShowQuantitiesInput: (charge: SubscriptionCharge, subscription: Subscription) => boolean | undefined;
|
|
4
4
|
export declare const createQuoteParams: (quote: Quote, subscriptionQuantity: number, editedSubscription?: EditingSubscriptionType) => {
|
|
@@ -3,7 +3,7 @@ import { Transaction, TransactionKind } from '@bunnyapp/common';
|
|
|
3
3
|
import { ShadowType } from '../../types/shadowType';
|
|
4
4
|
import { TransactionListColumnType } from './transactionsList/TransactionsListDesktop';
|
|
5
5
|
import { TransactionDateType } from './TransactionsListContext';
|
|
6
|
-
export default function Transactions({ transactionComponent, showSearchBar, showTitle, title, columns, className, shadow, searchBarClassName, useModal, onTransactionClick, suppressTransactionDisplay, kindsToShow, style, filter, noTransactionsMessage, filterTransactions, sortTransactions, transactionDateType, }: {
|
|
6
|
+
export default function Transactions({ transactionComponent, showSearchBar, showTitle, title, columns, className, shadow, searchBarClassName, useModal, onTransactionClick, suppressTransactionDisplay, kindsToShow, style, filter, noTransactionsMessage, filterTransactions, sortTransactions, transactionDateType, hidePaymentForm, }: {
|
|
7
7
|
/** A custom component to render instead of the default invoice component */
|
|
8
8
|
transactionComponent?: React.ReactNode;
|
|
9
9
|
/** Whether to show the search bar */
|
|
@@ -45,6 +45,8 @@ export default function Transactions({ transactionComponent, showSearchBar, show
|
|
|
45
45
|
sortTransactions?: (transactionA: Transaction, transactionB: Transaction) => number;
|
|
46
46
|
/** The type of date to display for transactions if applicable. Payments will always only show createdAt date. */
|
|
47
47
|
transactionDateType?: TransactionDateType;
|
|
48
|
+
/** Whether to hide the payment form on invoices */
|
|
49
|
+
hidePaymentForm?: boolean;
|
|
48
50
|
}): import("react/jsx-runtime").JSX.Element;
|
|
49
51
|
export declare function TransactionsDisplay({ transactions, onSearchValueChanged, search, }: {
|
|
50
52
|
transactions: Transaction[];
|
|
@@ -24,6 +24,7 @@ export type TransactionsContextValues = {
|
|
|
24
24
|
filterTransactions?: (transaction: Transaction) => boolean;
|
|
25
25
|
sortTransactions?: (transactionA: Transaction, transactionB: Transaction) => number;
|
|
26
26
|
transactionDateType: TransactionDateType;
|
|
27
|
+
hidePaymentForm?: boolean;
|
|
27
28
|
};
|
|
28
29
|
export type TransactionDateType = 'createdAt' | 'issuedAt' | 'dueAt';
|
|
29
30
|
export declare const TransactionsListContext: import("react").Context<TransactionsContextValues>;
|
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const quoteSubscriptionUpgrade: ({ subscriptionId, priceListId, apiHost, token, }: {
|
|
2
|
+
subscriptionId: string;
|
|
3
|
+
priceListId: string;
|
|
4
|
+
apiHost: string;
|
|
5
|
+
token?: string | undefined;
|
|
6
|
+
}) => Promise<unknown>;
|
|
2
7
|
export declare const useCreateSubscriptionQuote: () => (subscriptionIds: string[], apiHost: string, token?: string) => Promise<unknown>;
|
|
3
8
|
export declare const useQuoteChangeUpdate: () => (charges: {
|
|
4
9
|
id: string;
|
|
5
10
|
quantity: number;
|
|
6
11
|
}[], quoteChangeId: string, apiHost: string, token?: string) => Promise<unknown>;
|
|
7
12
|
export declare const useQuoteDelete: () => (quoteId: string, apiHost: string, token?: string) => Promise<unknown>;
|
|
8
|
-
export declare const
|
|
13
|
+
export declare const quoteSubscriptionAddon: ({ subscriptionId, priceListId, apiHost, token, }: {
|
|
14
|
+
subscriptionId: string;
|
|
15
|
+
priceListId?: string | undefined;
|
|
16
|
+
apiHost: string;
|
|
17
|
+
token?: string | undefined;
|
|
18
|
+
}) => Promise<unknown>;
|
|
19
|
+
export declare const quoteSubscriptionActivate: ({ subscriptionId, apiHost, token, }: {
|
|
20
|
+
subscriptionId: string;
|
|
21
|
+
apiHost: string;
|
|
22
|
+
token?: string | undefined;
|
|
23
|
+
}) => Promise<unknown>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const quoteChangeCreate: ({ parentQuoteChangeId, priceListId, apiHost, token, quoteId, }: {
|
|
2
|
+
parentQuoteChangeId: string | null;
|
|
3
|
+
priceListId: string | null;
|
|
4
|
+
apiHost: string;
|
|
5
|
+
token?: string | undefined;
|
|
6
|
+
quoteId: string;
|
|
7
|
+
}) => Promise<any>;
|
|
8
|
+
export default quoteChangeCreate;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { QuoteCharge } from '@bunnyapp/common';
|
|
1
2
|
type QuoteChargeDeleteProps = {
|
|
2
3
|
apiHost: string;
|
|
3
4
|
quoteChargeId: string;
|
|
4
5
|
token?: string;
|
|
5
6
|
};
|
|
6
|
-
declare const quoteChargeDelete: ({ quoteChargeId, token, apiHost }: QuoteChargeDeleteProps) => Promise<
|
|
7
|
+
declare const quoteChargeDelete: ({ quoteChargeId, token, apiHost }: QuoteChargeDeleteProps) => Promise<QuoteCharge>;
|
|
7
8
|
export default quoteChargeDelete;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Quote } from '@bunnyapp/common';
|
|
2
|
-
export declare const QUOTE_FIELDS = "quote {\n formattedQuote {\n html\n }\n acceptedByName\n acceptedByTitle\n accountId\n amount\n amountDue\n applicationDate\n applied\n billingDay\n contactId\n createdAt\n credits\n currencyId\n dealId\n discount\n discountValue\n endDate\n evergreen\n expiresAt\n id\n invoiceUntil\n isPendingApprovalRequest\n kind\n message\n name\n netPaymentDays\n notes\n ownerId\n periodAmount\n poNumber\n requiresApproval\n startDate\n state\n subtotal\n taxAmount\n updatedAt\n uuid\n amountsByPeriod {\n amount\n id\n name\n }\n endDateOptions {\n endDate\n label\n }\n invoiceUntilOptions {\n endDate\n label\n }\n quoteChanges {\n currencyId\n id\n kind\n charges {\n amountsByPeriod {\n amount\n startDate\n }\n amount\n billingPeriod\n billingPeriodAmounts { id amount prorationRate }\n chargeType\n couponId\n createdAt\n currencyId\n discount\n endDate\n feature { id name code isUnit unitName }\n id\n name\n priceListCharge {\n id\n }\n priceList {\n id\n }\n couponId\n price\n priceDecimals\n priceTiers { starts price }\n pricingModel\n prorationRate\n quantity\n quantityMax\n quantityMin\n startDate\n tieredAveragePrice\n updatedAt\n kind\n }\n priceList {\n id\n plan {\n name\n }\n product {\n name\n }\n }\n }\n}";
|
|
3
2
|
type Options = {
|
|
4
3
|
quoteId?: string;
|
|
5
4
|
priceListId?: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Quote } from '@bunnyapp/common';
|
|
2
|
+
type Options = {
|
|
3
|
+
dealAttributes: any;
|
|
4
|
+
quoteAttributes: any;
|
|
5
|
+
token?: string;
|
|
6
|
+
apiHost: string;
|
|
7
|
+
accountId: string;
|
|
8
|
+
};
|
|
9
|
+
declare const quoteCreateWithDeal: ({ dealAttributes, quoteAttributes, accountId, token, apiHost, }: Options) => Promise<Quote>;
|
|
10
|
+
export default quoteCreateWithDeal;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Quote } from '@bunnyapp/common';
|
|
2
|
-
declare const
|
|
2
|
+
export declare const QUOTE_FIELDS: (removeFormattedQuoteField?: boolean) => string;
|
|
3
|
+
declare const getQuote: ({ id, token, apiHost, removeFormattedQuoteField, }: {
|
|
3
4
|
id: string;
|
|
4
5
|
token?: string | undefined;
|
|
5
6
|
apiHost: string;
|
|
7
|
+
removeFormattedQuoteField?: boolean | undefined;
|
|
6
8
|
}) => Promise<Quote>;
|
|
7
9
|
export default getQuote;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PriceList, Quote, Subscription } from '@bunnyapp/common';
|
|
2
|
+
import { EditingQuoteDataType } from '../../components/Subscriptions/SubscriptionsListContainer';
|
|
3
|
+
export declare const useQuoteCreate: ({ editingQuote, setEditingQuoteData, upgradingSubscription, selectedPriceList, token, }: {
|
|
4
|
+
editingQuote?: EditingQuoteDataType | undefined;
|
|
5
|
+
setEditingQuoteData: (quoteId?: string, isTrial?: boolean) => void;
|
|
6
|
+
upgradingSubscription?: Subscription | undefined;
|
|
7
|
+
selectedPriceList?: PriceList | undefined;
|
|
8
|
+
token?: string | undefined;
|
|
9
|
+
}) => {
|
|
10
|
+
quote: Quote | undefined;
|
|
11
|
+
isQuotePending: boolean;
|
|
12
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { PriceListCharge } from '@bunnyapp/common';
|
|
2
|
-
export declare const useQuoteUpdateFeatureAddon: (
|
|
1
|
+
import { PriceListCharge, Quote } from '@bunnyapp/common';
|
|
2
|
+
export declare const useQuoteUpdateFeatureAddon: (quote: Quote | undefined, featureAddon: PriceListCharge) => {
|
|
3
3
|
handleAddFeatureAddon: () => void;
|
|
4
4
|
handleRemoveFeatureAddon: () => void;
|
|
5
5
|
isPending: boolean;
|
|
6
6
|
isChecked: boolean;
|
|
7
|
-
editingQuoteLoaded: boolean;
|
|
8
7
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Plan, PriceList, Quote } from '@bunnyapp/common';
|
|
2
|
+
export declare const useToggleAddonPlan: (quote: Quote | undefined, plan: Plan, billingPeriod: number, selectedPriceList: PriceList, setIsAddonPlanLoading: React.Dispatch<React.SetStateAction<boolean>>) => {
|
|
3
|
+
isPending: boolean;
|
|
4
|
+
addedQuoteChange: boolean;
|
|
5
|
+
deleteQuoteChange: () => void;
|
|
6
|
+
addAddonQuoteChange: () => void;
|
|
7
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Subscription } from '@bunnyapp/common';
|
|
2
|
+
export declare const ADDON_INDENTATION = 64;
|
|
3
|
+
export declare function findNonAddonSubscriptions(subscriptions: Subscription[]): Subscription[];
|
|
4
|
+
export declare function findAddonSubscriptions(parentSubscription: Subscription, subscriptions: Subscription[]): Subscription[];
|
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,10 @@ type InvoiceQuoteContextProps = {
|
|
|
22
22
|
onQuoteLoaded?: (formattedQuote: FormattedQuote) => void;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
type InvoiceProps = InvoiceQuoteContextProps & {
|
|
26
|
+
hidePaymentForm?: boolean;
|
|
27
|
+
};
|
|
28
|
+
declare function Invoice({ id, invoiceQuoteViewComponent, backButtonName, onBackButtonClick, onInvoiceDownloadError, onPaymentSuccess, shadow, className, hideDownloadButton, hidePaymentForm, onInvoiceLoaded, }: InvoiceProps): react_jsx_runtime.JSX.Element;
|
|
26
29
|
|
|
27
30
|
declare global {
|
|
28
31
|
interface Window {
|
|
@@ -128,7 +131,7 @@ declare function BunnyProvider({ children, darkMode, queryClient, apiHost, token
|
|
|
128
131
|
|
|
129
132
|
type TransactionDateType = 'createdAt' | 'issuedAt' | 'dueAt';
|
|
130
133
|
|
|
131
|
-
declare function Transactions({ transactionComponent, showSearchBar, showTitle, title, columns, className, shadow, searchBarClassName, useModal, onTransactionClick, suppressTransactionDisplay, kindsToShow, style, filter, noTransactionsMessage, filterTransactions, sortTransactions, transactionDateType, }: {
|
|
134
|
+
declare function Transactions({ transactionComponent, showSearchBar, showTitle, title, columns, className, shadow, searchBarClassName, useModal, onTransactionClick, suppressTransactionDisplay, kindsToShow, style, filter, noTransactionsMessage, filterTransactions, sortTransactions, transactionDateType, hidePaymentForm, }: {
|
|
132
135
|
/** A custom component to render instead of the default invoice component */
|
|
133
136
|
transactionComponent?: react__default.ReactNode;
|
|
134
137
|
/** Whether to show the search bar */
|
|
@@ -170,6 +173,8 @@ declare function Transactions({ transactionComponent, showSearchBar, showTitle,
|
|
|
170
173
|
sortTransactions?: (transactionA: Transaction, transactionB: Transaction) => number;
|
|
171
174
|
/** The type of date to display for transactions if applicable. Payments will always only show createdAt date. */
|
|
172
175
|
transactionDateType?: TransactionDateType;
|
|
176
|
+
/** Whether to hide the payment form on invoices */
|
|
177
|
+
hidePaymentForm?: boolean;
|
|
173
178
|
}): react_jsx_runtime.JSX.Element;
|
|
174
179
|
|
|
175
180
|
declare const SubscriptionsWrapper: ({ handlePortalErrors, companyName, isInPreviewMode, productId, className, styles: userStyles, noSubscriptionsComponent, hideTitle, hideExpired, hideExpiredToggle, }: {
|
package/package.json
CHANGED