UNPKG

@taiga-ui/addon-commerce

Version:

Extension package for Taiga UI related to commerce, payment systems, currencies etc.

13 lines (12 loc) 727 B
import { InjectionToken, type Provider } from '@angular/core'; import { type TuiPaymentSystem } from '@taiga-ui/addon-commerce/types'; import { type TuiHandler } from '@taiga-ui/cdk/types'; export interface TuiInputCardOptions { /** @deprecated apparently "off" doesn't disable autocomplete */ readonly autocomplete: boolean; readonly icon: string | null; readonly paymentSystemHandler: TuiHandler<string | null | undefined, TuiPaymentSystem | null>; } export declare const TUI_INPUT_CARD_DEFAULT_OPTIONS: TuiInputCardOptions; export declare const TUI_INPUT_CARD_OPTIONS: InjectionToken<TuiInputCardOptions>; export declare function tuiInputCardOptionsProvider(options: Partial<TuiInputCardOptions>): Provider;