UNPKG

3.16 kBTypeScriptView Raw
1import { type PropType, type ExtractPropTypes } from 'vue';
2import { ButtonType } from '../button';
3export type SubmitBarTextAlign = 'left' | 'right';
4export declare const submitBarProps: {
5 tip: StringConstructor;
6 label: StringConstructor;
7 price: NumberConstructor;
8 tipIcon: StringConstructor;
9 loading: BooleanConstructor;
10 currency: {
11 type: PropType<string>;
12 default: string;
13 };
14 disabled: BooleanConstructor;
15 textAlign: PropType<SubmitBarTextAlign>;
16 buttonText: StringConstructor;
17 buttonType: {
18 type: PropType<ButtonType>;
19 default: ButtonType;
20 };
21 buttonColor: StringConstructor;
22 suffixLabel: StringConstructor;
23 placeholder: BooleanConstructor;
24 decimalLength: {
25 type: (NumberConstructor | StringConstructor)[];
26 default: number;
27 };
28 safeAreaInsetBottom: {
29 type: BooleanConstructor;
30 default: true;
31 };
32};
33export type SubmitBarProps = ExtractPropTypes<typeof submitBarProps>;
34declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
35 tip: StringConstructor;
36 label: StringConstructor;
37 price: NumberConstructor;
38 tipIcon: StringConstructor;
39 loading: BooleanConstructor;
40 currency: {
41 type: PropType<string>;
42 default: string;
43 };
44 disabled: BooleanConstructor;
45 textAlign: PropType<SubmitBarTextAlign>;
46 buttonText: StringConstructor;
47 buttonType: {
48 type: PropType<ButtonType>;
49 default: ButtonType;
50 };
51 buttonColor: StringConstructor;
52 suffixLabel: StringConstructor;
53 placeholder: BooleanConstructor;
54 decimalLength: {
55 type: (NumberConstructor | StringConstructor)[];
56 default: number;
57 };
58 safeAreaInsetBottom: {
59 type: BooleanConstructor;
60 default: true;
61 };
62}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").PublicProps, Readonly<ExtractPropTypes<{
63 tip: StringConstructor;
64 label: StringConstructor;
65 price: NumberConstructor;
66 tipIcon: StringConstructor;
67 loading: BooleanConstructor;
68 currency: {
69 type: PropType<string>;
70 default: string;
71 };
72 disabled: BooleanConstructor;
73 textAlign: PropType<SubmitBarTextAlign>;
74 buttonText: StringConstructor;
75 buttonType: {
76 type: PropType<ButtonType>;
77 default: ButtonType;
78 };
79 buttonColor: StringConstructor;
80 suffixLabel: StringConstructor;
81 placeholder: BooleanConstructor;
82 decimalLength: {
83 type: (NumberConstructor | StringConstructor)[];
84 default: number;
85 };
86 safeAreaInsetBottom: {
87 type: BooleanConstructor;
88 default: true;
89 };
90}>> & Readonly<{
91 onSubmit?: ((...args: any[]) => any) | undefined;
92}>, {
93 disabled: boolean;
94 placeholder: boolean;
95 safeAreaInsetBottom: boolean;
96 loading: boolean;
97 currency: string;
98 decimalLength: string | number;
99 buttonType: ButtonType;
100}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
101export default _default;
102
\No newline at end of file