Rocky_Mountain_Vending/.pnpm-store/v10/files/43/ffde961dd1126f8183ddf22822ccc300aea1123879a20ec428f3bf7c01f45e194e87804c8dfc7c6d7f38ced9caf4747be58a9911ad84126a5b333a0ce39929
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

138 lines
3.6 KiB
Text

import {
StripeElementBase,
StripeElementStyle,
StripeElementClasses,
StripeElementChangeEvent,
} from './base';
export type StripeAuBankAccountElement = StripeElementBase & {
/**
* The change event is triggered when the `Element`'s value changes.
*/
on(
eventType: 'change',
handler: (event: StripeAuBankAccountElementChangeEvent) => any
): StripeAuBankAccountElement;
once(
eventType: 'change',
handler: (event: StripeAuBankAccountElementChangeEvent) => any
): StripeAuBankAccountElement;
off(
eventType: 'change',
handler?: (event: StripeAuBankAccountElementChangeEvent) => any
): StripeAuBankAccountElement;
/**
* Triggered when the element is fully rendered and can accept `element.focus` calls.
*/
on(
eventType: 'ready',
handler: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
once(
eventType: 'ready',
handler: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
off(
eventType: 'ready',
handler?: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
/**
* Triggered when the element gains focus.
*/
on(
eventType: 'focus',
handler: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
once(
eventType: 'focus',
handler: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
off(
eventType: 'focus',
handler?: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
/**
* Triggered when the element loses focus.
*/
on(
eventType: 'blur',
handler: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
once(
eventType: 'blur',
handler: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
off(
eventType: 'blur',
handler?: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
/**
* Triggered when the escape key is pressed within the element.
*/
on(
eventType: 'escape',
handler: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
once(
eventType: 'escape',
handler: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
off(
eventType: 'escape',
handler?: (event: {elementType: 'auBankAccount'}) => any
): StripeAuBankAccountElement;
/**
* Updates the options the `AuBankAccountElement` was initialized with.
* Updates are merged into the existing configuration.
*
* The styles of an `AuBankAccountElement` can be dynamically changed using `element.update`.
* This method can be used to simulate CSS media queries that automatically adjust the size of elements when viewed on different devices.
*/
update(options: Partial<StripeAuBankAccountElementOptions>): void;
};
export interface StripeAuBankAccountElementOptions {
classes?: StripeElementClasses;
style?: StripeElementStyle;
/**
* Appearance of the icon in the Element.
*/
iconStyle?: 'default' | 'solid';
/**
* Hides the icon in the Element.
* Default is `false`.
*/
hideIcon?: boolean;
/**
* Applies a disabled state to the Element such that user input is not accepted.
* Default is false.
*/
disabled?: boolean;
}
export interface StripeAuBankAccountElementChangeEvent
extends StripeElementChangeEvent {
/**
* The type of element that emitted this event.
*/
elementType: 'auBankAccount';
/**
* The bank name corresponding to the entered BSB.
*/
bankName?: string;
/**
* The branch name corresponding to the entered BSB.
*/
branchName?: string;
}