@bunnyapp/components 1.0.35 → 1.0.37
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/README.md +59 -20
- package/dist/cjs/index.js +20857 -0
- package/dist/cjs/playground/billingdetails/index.d.ts +1 -0
- package/dist/cjs/playground/main.d.ts +1 -0
- package/dist/cjs/playground/transactions/index.d.ts +1 -0
- package/dist/cjs/src/ajax.d.ts +1 -0
- package/dist/cjs/src/components/BillingDetails/BillingDetails.d.ts +15 -0
- package/dist/cjs/src/components/BillingDetails/BillingDetails.stories.d.ts +14 -0
- package/dist/cjs/src/components/BillingDetails/BillingDetailsForm.d.ts +9 -0
- package/dist/cjs/src/components/BillingDetails/index.d.ts +1 -0
- package/dist/cjs/src/components/BunnyProvider.d.ts +23 -0
- package/dist/cjs/src/components/Card.d.ts +7 -0
- package/dist/cjs/src/components/Checkout/Checkout.d.ts +11 -0
- package/dist/cjs/src/components/Checkout/CouponComponent.d.ts +7 -0
- package/dist/cjs/src/components/Checkout/QuoteCheckout.d.ts +12 -0
- package/dist/cjs/src/components/Checkout/checkoutUtils.d.ts +2 -0
- package/dist/cjs/src/components/Checkout/index.d.ts +2 -0
- package/dist/cjs/src/components/DrawerHeader.d.ts +7 -0
- package/dist/cjs/src/components/Error.d.ts +5 -0
- package/dist/cjs/src/components/FeatureUsageGraph.d.ts +6 -0
- package/dist/cjs/src/components/HeaderModalWrapper.d.ts +2 -0
- package/dist/cjs/src/components/Invoice/Invoice.d.ts +3 -0
- package/dist/cjs/src/components/Invoice/Invoice.stories.d.ts +18 -0
- package/dist/cjs/src/components/Invoice/InvoiceQuoteContext.d.ts +18 -0
- package/dist/cjs/src/components/Invoice/InvoiceQuoteView.d.ts +11 -0
- package/dist/cjs/src/components/Invoice/index.d.ts +8 -0
- package/dist/cjs/src/components/LegacyInvoicePDF.d.ts +5 -0
- package/dist/cjs/src/components/PageWrapper.d.ts +1 -0
- package/dist/cjs/src/components/PandadocPollingModal.d.ts +7 -0
- package/dist/cjs/src/components/PaymentForm/CheckoutFooter.d.ts +9 -0
- package/dist/cjs/src/components/PaymentForm/DemoPay/DemoPayCardCvc.d.ts +7 -0
- package/dist/cjs/src/components/PaymentForm/DemoPay/DemoPayCardNumber.d.ts +7 -0
- package/dist/cjs/src/components/PaymentForm/DemoPay/DemoPayExpiry.d.ts +7 -0
- package/dist/cjs/src/components/PaymentForm/DemoPay/DemoPayForm.d.ts +7 -0
- package/dist/cjs/src/components/PaymentForm/DemoPay/demoPayUtils.d.ts +21 -0
- package/dist/cjs/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +12 -0
- package/dist/cjs/src/components/PaymentForm/DemoPay/hooks/useSave.d.ts +21 -0
- package/dist/cjs/src/components/PaymentForm/DemoPay/index.d.ts +1 -0
- package/dist/cjs/src/components/PaymentForm/PaymentForm.d.ts +17 -0
- package/dist/cjs/src/components/PaymentForm/PaymentFormTypes.d.ts +24 -0
- package/dist/cjs/src/components/PaymentForm/PaymentMethod/CreditCard/CreditCard.d.ts +22 -0
- package/dist/cjs/src/components/PaymentForm/PaymentMethod/CreditCard/LargCardIcon.d.ts +2 -0
- package/dist/cjs/src/components/PaymentForm/PaymentMethod/CreditCard/PlusIcon.d.ts +4 -0
- package/dist/cjs/src/components/PaymentForm/PaymentMethod/PaymentMethod.d.ts +9 -0
- package/dist/cjs/src/components/PaymentForm/PaymentMethod/PaymentMethod.stories.d.ts +11 -0
- package/dist/cjs/src/components/PaymentForm/PaymentMethod/index.d.ts +1 -0
- package/dist/cjs/src/components/PaymentForm/PaymentMethodDetails.d.ts +9 -0
- package/dist/cjs/src/components/PaymentForm/PaymentMethodSelector.d.ts +7 -0
- package/dist/cjs/src/components/PaymentForm/SavePaymentMethodFooter.d.ts +6 -0
- package/dist/cjs/src/components/PaymentForm/Stripe/PaymentMethodForm.d.ts +7 -0
- package/dist/cjs/src/components/PaymentForm/Stripe/StripeForm.d.ts +7 -0
- package/dist/cjs/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +12 -0
- package/dist/cjs/src/components/PaymentForm/Stripe/hooks/useSave.d.ts +10 -0
- package/dist/cjs/src/components/PaymentForm/Stripe/stripeUtils.d.ts +26 -0
- package/dist/cjs/src/components/PaymentForm/index.d.ts +2 -0
- package/dist/cjs/src/components/PaymentForm/useRemovePaymentMethod.d.ts +3 -0
- package/dist/cjs/src/components/Quote/AcceptQuoteModal.d.ts +9 -0
- package/dist/cjs/src/components/Quote/Quote.d.ts +3 -0
- package/dist/cjs/src/components/Quote/Quote.stories.d.ts +144 -0
- package/dist/cjs/src/components/Quote/StyledModal.d.ts +3 -0
- package/dist/cjs/src/components/Quote/index.d.ts +1 -0
- package/dist/cjs/src/components/Quotes/Quotes.d.ts +40 -0
- package/dist/cjs/src/components/Quotes/Quotes.stories.d.ts +22 -0
- package/dist/cjs/src/components/Quotes/index.d.ts +1 -0
- package/dist/cjs/src/components/Signup/PaymentForms.d.ts +18 -0
- package/dist/cjs/src/components/Signup/PaymentSuccess.d.ts +9 -0
- package/dist/cjs/src/components/Signup/PriceListDisplay.d.ts +6 -0
- package/dist/cjs/src/components/Signup/Signup.d.ts +21 -0
- package/dist/cjs/src/components/Signup/Signup.stories.d.ts +10 -0
- package/dist/cjs/src/components/Signup/index.d.ts +1 -0
- package/dist/cjs/src/components/StateTag.d.ts +4 -0
- package/dist/cjs/src/components/Subscriptions/Subscriptions.d.ts +23 -0
- package/dist/cjs/src/components/Subscriptions/Subscriptions.stories.d.ts +10 -0
- package/dist/cjs/src/components/Subscriptions/SubscriptionsContext.d.ts +8 -0
- package/dist/cjs/src/components/Subscriptions/index.d.ts +1 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/SubscriptionCardActions.d.ts +8 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/SubscriptionCardHeader.d.ts +8 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/SubscriptionChargeTotal.d.ts +6 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/SubscriptionChargeUnitPrice.d.ts +6 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/SubscriptionsList.d.ts +9 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardColumnHeaders.d.ts +12 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardDesktop.d.ts +8 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionsCardCell.d.ts +9 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardCellMobile.d.ts +8 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardMobile.d.ts +5 -0
- package/dist/cjs/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +16 -0
- package/dist/cjs/src/components/TaxationForm.d.ts +6 -0
- package/dist/cjs/src/components/Transactions/Transactions.d.ts +55 -0
- package/dist/cjs/src/components/Transactions/Transactions.stories.d.ts +26 -0
- package/dist/cjs/src/components/Transactions/TransactionsListContext.d.ts +30 -0
- package/dist/cjs/src/components/Transactions/index.d.ts +1 -0
- package/dist/cjs/src/components/Transactions/transactionsList/TransactionDate.d.ts +4 -0
- package/dist/cjs/src/components/Transactions/transactionsList/TransactionDownload.d.ts +7 -0
- package/dist/cjs/src/components/Transactions/transactionsList/TransactionGridCell.d.ts +2 -0
- package/dist/cjs/src/components/Transactions/transactionsList/TransactionTitle.d.ts +5 -0
- package/dist/cjs/src/components/Transactions/transactionsList/TransactionsEmptyState.d.ts +2 -0
- package/dist/cjs/src/components/Transactions/transactionsList/TransactionsListDesktop.d.ts +7 -0
- package/dist/cjs/src/components/Transactions/transactionsList/TransactionsListMobile.d.ts +6 -0
- package/dist/cjs/src/components/Transactions/transactionsList/utils.d.ts +3 -0
- package/dist/cjs/src/components/icons/ArrowDownToLine.d.ts +5 -0
- package/dist/cjs/src/components/icons/CardIcon.d.ts +2 -0
- package/dist/cjs/src/components/index.d.ts +10 -0
- package/dist/cjs/src/contexts/BrandContext.d.ts +7 -0
- package/dist/cjs/src/contexts/NavigationContext.d.ts +9 -0
- package/dist/cjs/src/contexts/PaymentContext.d.ts +10 -0
- package/dist/cjs/src/enums/SubscriptionState.d.ts +8 -0
- package/dist/cjs/src/graphql/mutations/accountSignup.d.ts +12 -0
- package/dist/cjs/src/graphql/mutations/accountUpdate.d.ts +7 -0
- package/dist/cjs/src/graphql/mutations/billingDetailsUpdate.d.ts +6 -0
- package/dist/cjs/src/graphql/mutations/checkout.d.ts +23 -0
- package/dist/cjs/src/graphql/mutations/quoteAccountSignup.d.ts +14 -0
- package/dist/cjs/src/graphql/mutations/quoteAddCoupon.d.ts +8 -0
- package/dist/cjs/src/graphql/mutations/quoteCompose.d.ts +13 -0
- package/dist/cjs/src/graphql/mutations/quoteRecalculateTaxes.d.ts +6 -0
- package/dist/cjs/src/graphql/mutations/quoteSubscriptionReinstate.d.ts +7 -0
- package/dist/cjs/src/graphql/queries/getBillingDetails.d.ts +6 -0
- package/dist/cjs/src/graphql/queries/getBranding.d.ts +6 -0
- package/dist/cjs/src/graphql/queries/getFeatureUsage.d.ts +10 -0
- package/dist/cjs/src/graphql/queries/getFormattedQuote.d.ts +7 -0
- package/dist/cjs/src/graphql/queries/getPlanChangeOptions.d.ts +8 -0
- package/dist/cjs/src/graphql/queries/getPriceList.d.ts +7 -0
- package/dist/cjs/src/graphql/queries/getQuotes.d.ts +6 -0
- package/dist/cjs/src/graphql/queries/getSubscriptions.d.ts +7 -0
- package/dist/cjs/src/graphql/queries/getTaxationRequiredAccountFields.d.ts +6 -0
- package/dist/cjs/src/graphql/queries/getTransactions.d.ts +3 -0
- package/dist/cjs/src/hooks/index.d.ts +1 -0
- package/dist/cjs/src/hooks/quotes/useSendAcceptQuote.d.ts +20 -0
- package/dist/cjs/src/hooks/quotes/useSigningComplete.d.ts +5 -0
- package/dist/cjs/src/hooks/subscriptions/useSubscriptions.d.ts +5 -0
- package/dist/cjs/src/hooks/useFocusFirstInput.d.ts +7 -0
- package/dist/cjs/src/hooks/useHasTaxPlugin.d.ts +6 -0
- package/dist/cjs/src/hooks/useIsExpired.d.ts +2 -0
- package/dist/cjs/src/hooks/usePaymentMethod.d.ts +5 -0
- package/dist/cjs/src/hooks/usePaymentPlugins.d.ts +11 -0
- package/dist/cjs/src/hooks/usePlugins.d.ts +6 -0
- package/dist/cjs/src/hooks/useSigningPlugins.d.ts +6 -0
- package/dist/cjs/src/hooks/useToken.d.ts +2 -0
- package/dist/cjs/src/index.d.ts +3 -0
- package/dist/cjs/src/mocks/browser.d.ts +1 -0
- package/dist/cjs/src/mocks/handlers.d.ts +1 -0
- package/dist/cjs/src/storybook-utils.d.ts +10 -0
- package/dist/cjs/src/types/billingDetails.d.ts +14 -0
- package/dist/cjs/src/types/shadowType.d.ts +1 -0
- package/dist/cjs/src/utils/GraphQLClient.d.ts +2 -0
- package/dist/cjs/src/utils/quoteInvoiceUtils.d.ts +6 -0
- package/dist/cjs/src/utils/styled.d.ts +3 -0
- package/dist/cjs/vite.config.d.ts +2 -0
- package/dist/esm/index.js +218 -215
- package/dist/esm/src/ajax.d.ts +1 -1
- package/dist/esm/src/components/BillingDetails/BillingDetails.d.ts +2 -1
- package/dist/esm/src/components/BillingDetails/BillingDetails.stories.d.ts +3 -0
- package/dist/esm/src/components/BillingDetails/BillingDetailsForm.d.ts +9 -0
- package/dist/esm/src/components/BunnyProvider.d.ts +2 -2
- package/dist/esm/src/components/DrawerHeader.d.ts +3 -2
- package/dist/esm/src/components/LegacyInvoicePDF.d.ts +1 -1
- package/dist/esm/src/components/PaymentForm/DemoPay/demoPayUtils.d.ts +1 -1
- package/dist/esm/src/components/PaymentForm/DemoPay/hooks/useSave.d.ts +1 -1
- package/dist/esm/src/components/PaymentForm/PaymentForm.d.ts +3 -1
- package/dist/esm/src/components/PaymentForm/PaymentMethod/PaymentMethod.d.ts +2 -1
- package/dist/esm/src/components/PaymentForm/PaymentMethodDetails.d.ts +3 -1
- package/dist/esm/src/components/PaymentForm/Stripe/stripeUtils.d.ts +3 -3
- package/dist/esm/src/components/PaymentForm/index.d.ts +1 -0
- package/dist/esm/src/components/PaymentForm/useRemovePaymentMethod.d.ts +1 -1
- package/dist/esm/src/components/Transactions/Transactions.d.ts +2 -1
- package/dist/esm/src/components/Transactions/transactionsList/TransactionDownload.d.ts +1 -1
- package/dist/esm/src/components/Transactions/transactionsList/TransactionsListDesktop.d.ts +1 -1
- package/dist/esm/src/components/index.d.ts +1 -1
- package/dist/esm/src/graphql/mutations/accountUpdate.d.ts +1 -1
- package/dist/esm/src/graphql/mutations/billingDetailsUpdate.d.ts +1 -1
- package/dist/esm/src/graphql/mutations/checkout.d.ts +1 -1
- package/dist/esm/src/graphql/mutations/quoteAccountSignup.d.ts +1 -1
- package/dist/esm/src/graphql/mutations/quoteAddCoupon.d.ts +1 -1
- package/dist/esm/src/graphql/queries/getBillingDetails.d.ts +1 -1
- package/dist/esm/src/graphql/queries/getBranding.d.ts +1 -1
- package/dist/esm/src/graphql/queries/getFeatureUsage.d.ts +1 -1
- package/dist/esm/src/graphql/queries/getFormattedQuote.d.ts +1 -1
- package/dist/esm/src/graphql/queries/getPlanChangeOptions.d.ts +1 -1
- package/dist/esm/src/graphql/queries/getPriceList.d.ts +1 -1
- package/dist/esm/src/graphql/queries/getQuotes.d.ts +1 -1
- package/dist/esm/src/graphql/queries/getSubscriptions.d.ts +1 -1
- package/dist/esm/src/graphql/queries/getTransactions.d.ts +1 -1
- package/dist/esm/src/hooks/quotes/useSendAcceptQuote.d.ts +1 -1
- package/dist/esm/src/hooks/quotes/useSigningComplete.d.ts +1 -1
- package/dist/esm/src/hooks/usePaymentMethod.d.ts +4 -1
- package/dist/esm/src/hooks/usePaymentPlugins.d.ts +1 -1
- package/dist/esm/src/hooks/usePlugins.d.ts +1 -1
- package/dist/esm/src/hooks/useSigningPlugins.d.ts +1 -1
- package/dist/esm/src/hooks/useToken.d.ts +1 -1
- package/dist/esm/src/utils/GraphQLClient.d.ts +1 -1
- package/dist/index.d.ts +30 -11
- package/package.json +2 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../src/styles/output.less";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useDownloadFile: (id?: string, onError?: ((error: any) => void) | undefined) => (url: string, token?: string) => Promise<any>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../../styles/index.less";
|
|
2
|
+
import { ShadowType } from "../../types/shadowType";
|
|
3
|
+
declare const BillingDetails: ({ entityId, isCardEnabled, shadow, className, hidePaymentMethodForm, hideBillingDetailsForm, countryListFilter, }: {
|
|
4
|
+
entityId: string;
|
|
5
|
+
isCardEnabled?: boolean | undefined;
|
|
6
|
+
shadow?: ShadowType | undefined;
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
hidePaymentMethodForm?: boolean | undefined;
|
|
9
|
+
hideBillingDetailsForm?: boolean | undefined;
|
|
10
|
+
countryListFilter?: ((country: {
|
|
11
|
+
value: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}) => boolean) | undefined;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default BillingDetails;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import BillingDetails from "./BillingDetails";
|
|
3
|
+
declare const meta: Meta<typeof BillingDetails>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const NoShadow: Story;
|
|
8
|
+
export declare const CustomClassName: Story;
|
|
9
|
+
export declare const NoCard: Story;
|
|
10
|
+
export declare const Mobile: Story;
|
|
11
|
+
export declare const DarkMode: Story;
|
|
12
|
+
export declare const HidePaymentMethodForm: Story;
|
|
13
|
+
export declare const HideBillingDetailsForm: Story;
|
|
14
|
+
export declare const HideBothForms: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "../../styles/index.less";
|
|
2
|
+
export default function BillingDetailsSection({ entityId, hidePaymentMethodForm, countryListFilter, }: {
|
|
3
|
+
entityId: string;
|
|
4
|
+
hidePaymentMethodForm: boolean;
|
|
5
|
+
countryListFilter?: (country: {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}) => boolean;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BillingDetails } from "./BillingDetails";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { QueryClient } from "@tanstack/react-query";
|
|
3
|
+
import { ThemeConfig } from "antd";
|
|
4
|
+
import { GraphQLClient } from "graphql-request";
|
|
5
|
+
export type BunnyContextValues = {
|
|
6
|
+
apiHost: string;
|
|
7
|
+
graphQLClient: GraphQLClient;
|
|
8
|
+
token?: string;
|
|
9
|
+
displayPayButtonNameAnyways?: boolean;
|
|
10
|
+
darkMode?: boolean;
|
|
11
|
+
onTokenExpired?: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const BunnyContext: import("react").Context<BunnyContextValues>;
|
|
14
|
+
declare function BunnyProvider({ children, darkMode, queryClient, apiHost, token, onTokenExpired, configProviderProps, }: {
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
darkMode?: boolean;
|
|
17
|
+
queryClient?: QueryClient;
|
|
18
|
+
apiHost: string;
|
|
19
|
+
token?: string;
|
|
20
|
+
onTokenExpired?: () => void;
|
|
21
|
+
configProviderProps?: ThemeConfig | undefined;
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default BunnyProvider;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Card: ({ children, className, style, }: {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
className?: string | undefined;
|
|
5
|
+
style?: import("react").CSSProperties | undefined;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default Card;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PaymentMethod } from "@bunnyapp/common";
|
|
2
|
+
import { CheckoutProps } from "../PaymentForm/PaymentFormTypes";
|
|
3
|
+
interface CheckoutComponentProps extends CheckoutProps {
|
|
4
|
+
entityId: string;
|
|
5
|
+
isMobile: boolean;
|
|
6
|
+
token: string;
|
|
7
|
+
storedPaymentMethod?: PaymentMethod;
|
|
8
|
+
quantity?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const Checkout: ({ entityId, onCancel, onSuccess, onFail, invoice, open, quote, selectedPriceList, token, quantity, }: CheckoutComponentProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export default Checkout;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Quote } from "@bunnyapp/common";
|
|
2
|
+
declare const CouponComponent: ({ quote, onSuccess, onFail, }: {
|
|
3
|
+
quote: Quote;
|
|
4
|
+
onSuccess?: ((couponCode: string) => void) | undefined;
|
|
5
|
+
onFail?: ((error: any) => void) | undefined;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default CouponComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Account, PaymentMethod, Quote, TaxationRequiredAccountFields } from "@bunnyapp/common";
|
|
2
|
+
import { InvoiceQuoteParentProps } from "../PaymentForm/PaymentFormTypes";
|
|
3
|
+
interface QuoteCheckoutProps extends InvoiceQuoteParentProps {
|
|
4
|
+
account: Account;
|
|
5
|
+
quote: Quote;
|
|
6
|
+
taxationRequiredAccountFields?: TaxationRequiredAccountFields | null;
|
|
7
|
+
token: string;
|
|
8
|
+
storedPaymentMethod?: PaymentMethod;
|
|
9
|
+
entityId: string;
|
|
10
|
+
}
|
|
11
|
+
declare const QuoteCheckout: ({ account, onSuccess, onFail, quote, taxationRequiredAccountFields, entityId, }: QuoteCheckoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default QuoteCheckout;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const DrawerHeader: ({ description, onClose, title, closeButtonClassName, }: {
|
|
2
|
+
description?: string | undefined;
|
|
3
|
+
onClose?: (() => void) | undefined;
|
|
4
|
+
title: string;
|
|
5
|
+
closeButtonClassName?: string | undefined;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default DrawerHeader;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FeatureUsage, SubscriptionCharge } from "@bunnyapp/common";
|
|
2
|
+
declare const FeatureUsageGraph: ({ charge, featureUsage, }: {
|
|
3
|
+
charge: SubscriptionCharge;
|
|
4
|
+
featureUsage: FeatureUsage;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FeatureUsageGraph;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import "../../styles/index.less";
|
|
2
|
+
import { InvoiceQuoteContextProps } from "./InvoiceQuoteContext";
|
|
3
|
+
export default function Invoice({ id, invoiceQuoteViewComponent, backButtonName, onBackButtonClick, onInvoiceDownloadError, onPaymentSuccess, entityId, shadow, className, hideDownloadButton, onInvoiceLoaded, }: InvoiceQuoteContextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Invoice from "./Invoice";
|
|
3
|
+
declare const meta: Meta<typeof Invoice>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const basicArgs: {
|
|
7
|
+
token: string;
|
|
8
|
+
id: string;
|
|
9
|
+
entityId: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const Default: Story;
|
|
12
|
+
export declare const NoShadow: Story;
|
|
13
|
+
export declare const CustomBackButton: Story;
|
|
14
|
+
export declare const Mobile: Story;
|
|
15
|
+
export declare const CustomClassName: Story;
|
|
16
|
+
export declare const HideDownloadButton: Story;
|
|
17
|
+
export declare const InvoiceDue: Story;
|
|
18
|
+
export declare const DarkMode: Story;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ShadowType } from "../../types/shadowType";
|
|
3
|
+
import { FormattedInvoice, FormattedQuote } from "@bunnyapp/common";
|
|
4
|
+
export type InvoiceQuoteContextProps = {
|
|
5
|
+
id?: string;
|
|
6
|
+
invoiceQuoteViewComponent?: React.ReactNode;
|
|
7
|
+
backButtonName?: string;
|
|
8
|
+
onBackButtonClick?: () => void;
|
|
9
|
+
onInvoiceDownloadError?: () => void;
|
|
10
|
+
onPaymentSuccess?: (savePaymentMethod?: boolean) => void;
|
|
11
|
+
entityId: string;
|
|
12
|
+
shadow?: ShadowType;
|
|
13
|
+
className?: string;
|
|
14
|
+
hideDownloadButton?: boolean;
|
|
15
|
+
onInvoiceLoaded?: (formattedInvoice: FormattedInvoice) => void;
|
|
16
|
+
onQuoteLoaded?: (formattedQuote: FormattedQuote) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const InvoiceQuoteContext: import("react").Context<InvoiceQuoteContextProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { FormattedInvoice } from "@bunnyapp/common";
|
|
3
|
+
declare const InvoiceQuoteView: ({ children, formattedInvoice, html, backButtonName, onBackButtonClick, onDownloadError, }: {
|
|
4
|
+
html: string;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
formattedInvoice?: FormattedInvoice | undefined;
|
|
7
|
+
backButtonName?: string | undefined;
|
|
8
|
+
onBackButtonClick?: (() => void) | undefined;
|
|
9
|
+
onDownloadError?: (() => void) | undefined;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default InvoiceQuoteView;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pageWrapperClassName: (isMobile: boolean) => string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface PandadocPollingModalProps {
|
|
2
|
+
isVisible: boolean;
|
|
3
|
+
setVisible: (visible: boolean) => void;
|
|
4
|
+
id?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const PandadocPollingModal: ({ isVisible, setVisible, id, }: PandadocPollingModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default PandadocPollingModal;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormattedInvoice, PluginData, Quote } from "@bunnyapp/common";
|
|
2
|
+
declare const CheckoutFooter: ({ quote, invoice, onPaymentSuccess, noPadding, plugin, }: {
|
|
3
|
+
quote?: Quote | undefined;
|
|
4
|
+
invoice?: FormattedInvoice | undefined;
|
|
5
|
+
onPaymentSuccess: () => void;
|
|
6
|
+
noPadding?: boolean | undefined;
|
|
7
|
+
plugin: PluginData | undefined;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export default CheckoutFooter;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const DemoPayCardCvc: ({ autoFocus, onChange, placeholder, value, }: {
|
|
2
|
+
autoFocus?: boolean | undefined;
|
|
3
|
+
onChange: (cvc: string) => void;
|
|
4
|
+
placeholder?: string | undefined;
|
|
5
|
+
value: string;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default DemoPayCardCvc;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const DemoPayCardNumber: ({ autoFocus, onChange, placeholder, value, }: {
|
|
2
|
+
autoFocus?: boolean | undefined;
|
|
3
|
+
onChange: (number: string) => void;
|
|
4
|
+
placeholder?: string | undefined;
|
|
5
|
+
value: string;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default DemoPayCardNumber;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const DemoPayExpiry: ({ autoFocus, onChange, placeholder, value, }: {
|
|
2
|
+
autoFocus?: boolean | undefined;
|
|
3
|
+
onChange: (cvc: string) => void;
|
|
4
|
+
placeholder?: string | undefined;
|
|
5
|
+
value: string;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default DemoPayExpiry;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PluginData } from "@bunnyapp/common";
|
|
2
|
+
declare const DemoPayForm: ({ onFail, onSavePaymentMethod, plugin, }: {
|
|
3
|
+
onFail: (error: any) => void;
|
|
4
|
+
onSavePaymentMethod: (response: any) => void;
|
|
5
|
+
plugin: PluginData;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default DemoPayForm;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PluginData } from "@bunnyapp/common";
|
|
2
|
+
export declare const confirmPayment: ({ amount, currency, }: {
|
|
3
|
+
amount: number;
|
|
4
|
+
currency: string;
|
|
5
|
+
}) => {
|
|
6
|
+
token: string;
|
|
7
|
+
amount: number;
|
|
8
|
+
currency: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const isDigit: (char: string) => boolean;
|
|
11
|
+
export declare const isValidKey: (code: number) => boolean;
|
|
12
|
+
export declare const isValidExpiry: (expiry: string) => boolean;
|
|
13
|
+
export declare const isCardExpired: (expiry: string) => boolean;
|
|
14
|
+
export declare const formatCardExpiry: (cardExpiry: string) => string;
|
|
15
|
+
export declare const unformatCardNumber: (cardNumber: string) => string;
|
|
16
|
+
export declare const storePayment: (options: {
|
|
17
|
+
testCreditCardCvc: string;
|
|
18
|
+
testCreditCardExpirationDate: string;
|
|
19
|
+
testCreditCardNumber: string;
|
|
20
|
+
token?: string | undefined;
|
|
21
|
+
}, plugin: PluginData, apiHost: string, accountId?: string) => Promise<any>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FormattedInvoice, PaymentMethod, PluginData, Quote } from "@bunnyapp/common";
|
|
2
|
+
export declare function usePay({ onPaymentSuccess, onPaymentError, quote, invoice, storedPaymentMethod, plugin, }: {
|
|
3
|
+
onPaymentSuccess: (response: any) => void;
|
|
4
|
+
onPaymentError?: (error: any) => void;
|
|
5
|
+
quote?: Quote;
|
|
6
|
+
invoice?: FormattedInvoice;
|
|
7
|
+
storedPaymentMethod?: PaymentMethod;
|
|
8
|
+
plugin: PluginData | undefined;
|
|
9
|
+
}): {
|
|
10
|
+
pay: () => Promise<void>;
|
|
11
|
+
};
|
|
12
|
+
export default usePay;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FormattedInvoice, PluginData, Quote } from "@bunnyapp/common";
|
|
2
|
+
export declare function useSave({ onSaveSuccess, token, apiHost, accountId, }: {
|
|
3
|
+
onSaveSuccess: (response: any) => void;
|
|
4
|
+
quote?: Quote;
|
|
5
|
+
invoice?: FormattedInvoice;
|
|
6
|
+
token?: string;
|
|
7
|
+
apiHost: string;
|
|
8
|
+
accountId?: string;
|
|
9
|
+
}): {
|
|
10
|
+
save: ({ cardDetails, plugin, savePaymentMethod, }: {
|
|
11
|
+
cardDetails: {
|
|
12
|
+
number: string;
|
|
13
|
+
expiry: string;
|
|
14
|
+
cvc: string;
|
|
15
|
+
};
|
|
16
|
+
plugin: PluginData;
|
|
17
|
+
savePaymentMethod: boolean;
|
|
18
|
+
}) => Promise<void>;
|
|
19
|
+
isSaving: boolean;
|
|
20
|
+
};
|
|
21
|
+
export default useSave;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DemoPayForm } from "./DemoPayForm";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormattedInvoice, PluginData, Quote } from "@bunnyapp/common";
|
|
3
|
+
import { GraphQLClient } from "graphql-request";
|
|
4
|
+
export declare const PaymentForm: ({ entityId, invoice, onFail, onPaymentSuccess, quote, accountId, onSavePaymentMethod, overrideToken, graphQLClient, customCheckoutFunction, currencyId: currencyIdFromProps, customPaymentForms, }: {
|
|
5
|
+
entityId: string;
|
|
6
|
+
invoice?: FormattedInvoice | undefined;
|
|
7
|
+
quote?: Quote | undefined;
|
|
8
|
+
onFail: (error: any) => void;
|
|
9
|
+
onPaymentSuccess?: (() => void) | undefined;
|
|
10
|
+
onSavePaymentMethod?: (() => void) | undefined;
|
|
11
|
+
accountId?: string | undefined;
|
|
12
|
+
overrideToken?: string | undefined;
|
|
13
|
+
graphQLClient: GraphQLClient;
|
|
14
|
+
customCheckoutFunction?: ((plugin: PluginData | undefined) => Promise<any>) | undefined;
|
|
15
|
+
currencyId?: string | undefined;
|
|
16
|
+
customPaymentForms?: Record<string, import("react").ReactNode> | undefined;
|
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Quote, FormattedInvoice, PluginData, PriceList } from "@bunnyapp/common";
|
|
2
|
+
export type SavedPaymentMethodResponse = {
|
|
3
|
+
paymentMethodId: string;
|
|
4
|
+
};
|
|
5
|
+
export type PluginPaymentResponse = {
|
|
6
|
+
metadata?: Record<string, any>;
|
|
7
|
+
plugin: PluginData;
|
|
8
|
+
savePaymentMethod?: boolean;
|
|
9
|
+
token: string;
|
|
10
|
+
};
|
|
11
|
+
export type InvoiceQuoteParentProps = {
|
|
12
|
+
onSuccess: () => void;
|
|
13
|
+
onFail: (error: any) => void;
|
|
14
|
+
};
|
|
15
|
+
export type CheckoutProps = {
|
|
16
|
+
invoice?: FormattedInvoice;
|
|
17
|
+
onCancel: () => void;
|
|
18
|
+
onFail: (error: any) => void;
|
|
19
|
+
onSuccess: () => void;
|
|
20
|
+
open: boolean;
|
|
21
|
+
quote?: Quote;
|
|
22
|
+
selectedPriceList?: PriceList;
|
|
23
|
+
token: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PaymentMethod } from "@bunnyapp/common";
|
|
2
|
+
import { ShadowType } from "../../../../types/shadowType";
|
|
3
|
+
type CreditCardProps = {
|
|
4
|
+
onClickRemove: () => void;
|
|
5
|
+
onClickUpdate: () => void;
|
|
6
|
+
paymentMethodData: PaymentMethod;
|
|
7
|
+
shadow?: ShadowType;
|
|
8
|
+
cardEnabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const CreditCard: ({ onClickRemove, onClickUpdate, paymentMethodData, shadow, cardEnabled, }: CreditCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const MiniCreditCard: ({ hideRemoveButton, onClickRemove, paymentMethodData, }: {
|
|
12
|
+
hideRemoveButton?: boolean | undefined;
|
|
13
|
+
onClickRemove: () => void;
|
|
14
|
+
paymentMethodData: PaymentMethod;
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare const EmptyCard: ({ onClick, shadow, cardEnabled, }: {
|
|
17
|
+
onClick: () => void;
|
|
18
|
+
shadow?: ShadowType | undefined;
|
|
19
|
+
cardEnabled?: boolean | undefined;
|
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export { EmptyCard };
|
|
22
|
+
export default CreditCard;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "../../../styles/index.less";
|
|
2
|
+
import { ShadowType } from "../../../types/shadowType";
|
|
3
|
+
export declare const PaymentMethod: ({ entityId, className, shadow, cardEnabled, useModal, }: {
|
|
4
|
+
entityId: string;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
shadow?: ShadowType | undefined;
|
|
7
|
+
cardEnabled?: boolean | undefined;
|
|
8
|
+
useModal?: boolean | undefined;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { PaymentMethod } from "./PaymentMethod";
|
|
3
|
+
declare const meta: Meta<typeof PaymentMethod>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const CustomClassName: Story;
|
|
8
|
+
export declare const NoShadow: Story;
|
|
9
|
+
export declare const NoCard: Story;
|
|
10
|
+
export declare const Mobile: Story;
|
|
11
|
+
export declare const DarkMode: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PaymentMethod } from "./PaymentMethod";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PaymentMethod, PluginData } from "@bunnyapp/common";
|
|
3
|
+
declare const PaymentMethodDetails: ({ onFail, paymentMethod, onSavePaymentMethod, customPaymentForms, }: {
|
|
4
|
+
onFail: (error: any) => void;
|
|
5
|
+
paymentMethod: PaymentMethod | PluginData;
|
|
6
|
+
onSavePaymentMethod: () => void;
|
|
7
|
+
customPaymentForms?: Record<string, import("react").ReactNode> | undefined;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export default PaymentMethodDetails;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PluginData } from "@bunnyapp/common";
|
|
2
|
+
declare const PaymentMethodSelector: ({ paymentMethodAllowedPlugins, onSelect, value, }: {
|
|
3
|
+
onSelect: (paymentPlugin?: PluginData) => void;
|
|
4
|
+
paymentMethodAllowedPlugins?: PluginData[] | undefined;
|
|
5
|
+
value?: PluginData | null | undefined;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default PaymentMethodSelector;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PluginData } from "@bunnyapp/common";
|
|
2
|
+
declare const PaymentMethodForm: ({ plugin, onFail, onSavePaymentMethod, }: {
|
|
3
|
+
plugin: PluginData;
|
|
4
|
+
onFail: (error: any) => void;
|
|
5
|
+
onSavePaymentMethod: (response: any) => void;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default PaymentMethodForm;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PluginData } from "@bunnyapp/common";
|
|
2
|
+
declare const StripeForm: ({ plugin, onFail, onSavePaymentMethod, }: {
|
|
3
|
+
plugin: PluginData;
|
|
4
|
+
onFail: (error: any) => void;
|
|
5
|
+
onSavePaymentMethod: (response: any) => void;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default StripeForm;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FormattedInvoice, PaymentMethod, PluginData, Quote } from "@bunnyapp/common";
|
|
2
|
+
export declare function usePay({ onPaymentSuccess, onPaymentError, quote, invoice, storedPaymentMethod, plugin, }: {
|
|
3
|
+
onPaymentSuccess?: (response: any) => void;
|
|
4
|
+
onPaymentError?: (error: any) => void;
|
|
5
|
+
quote?: Quote;
|
|
6
|
+
invoice?: FormattedInvoice;
|
|
7
|
+
storedPaymentMethod?: PaymentMethod;
|
|
8
|
+
plugin: PluginData | undefined;
|
|
9
|
+
}): {
|
|
10
|
+
pay: () => Promise<void>;
|
|
11
|
+
};
|
|
12
|
+
export default usePay;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PluginData } from "@bunnyapp/common";
|
|
2
|
+
export declare function useSave({ onSaveSuccess, }: {
|
|
3
|
+
onSaveSuccess: (response: any) => void;
|
|
4
|
+
}): {
|
|
5
|
+
save: ({ plugin }: {
|
|
6
|
+
plugin: PluginData;
|
|
7
|
+
}) => Promise<void>;
|
|
8
|
+
isSaving: boolean;
|
|
9
|
+
};
|
|
10
|
+
export default useSave;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Stripe } from "@stripe/stripe-js";
|
|
2
|
+
import { PluginData, Payable } from "@bunnyapp/common";
|
|
3
|
+
export declare const createPaymentMethod: ({ paymentMethodId, plugin, token, apiHost, accountId, }: {
|
|
4
|
+
paymentMethodId: string;
|
|
5
|
+
plugin: PluginData;
|
|
6
|
+
token?: string | undefined;
|
|
7
|
+
apiHost: string;
|
|
8
|
+
accountId?: string | undefined;
|
|
9
|
+
}) => Promise<any>;
|
|
10
|
+
export declare const createSetupIntent: (plugin: PluginData, apiHost: string, token?: string, accountId?: string) => Promise<any>;
|
|
11
|
+
export declare const createPaymentIntent: ({ payable, savePaymentMethod, memo, plugin, token, apiHost, }: {
|
|
12
|
+
payable: Payable;
|
|
13
|
+
savePaymentMethod: boolean;
|
|
14
|
+
memo?: string | undefined;
|
|
15
|
+
plugin: PluginData;
|
|
16
|
+
token: string;
|
|
17
|
+
apiHost: string;
|
|
18
|
+
}) => Promise<any>;
|
|
19
|
+
export declare const useStripePlugin: (plugin: PluginData | undefined, apiHost: string, currencyId: string, token?: string, accountId?: string) => {
|
|
20
|
+
stripe: Stripe | null;
|
|
21
|
+
options: {
|
|
22
|
+
mode: "setup";
|
|
23
|
+
currency: string;
|
|
24
|
+
setupFutureUsage: "off_session";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormattedQuote } from "@bunnyapp/common";
|
|
2
|
+
declare const AcceptQuoteModal: ({ acceptBoxVisible, formattedQuote, sendAccept, setAcceptBoxVisible, setIsAccepting, }: {
|
|
3
|
+
acceptBoxVisible: boolean;
|
|
4
|
+
formattedQuote: FormattedQuote;
|
|
5
|
+
sendAccept: (changedFields: any) => void;
|
|
6
|
+
setAcceptBoxVisible: (visible: boolean) => void;
|
|
7
|
+
setIsAccepting: (accepting: boolean) => void;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default AcceptQuoteModal;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { InvoiceQuoteContextProps } from "../Invoice/InvoiceQuoteContext";
|
|
2
|
+
export declare const MarkupContainer: any;
|
|
3
|
+
export default function Quote({ id, invoiceQuoteViewComponent, onInvoiceDownloadError, onPaymentSuccess, entityId, shadow, className, hideDownloadButton, onQuoteLoaded, }: InvoiceQuoteContextProps): import("react/jsx-runtime").JSX.Element;
|