1 | import { type PropType, type ExtractPropTypes } from 'vue';
|
2 | import { CouponInfo } from '../coupon';
|
3 | export declare const couponListProps: {
|
4 | code: {
|
5 | type: PropType<string>;
|
6 | default: string;
|
7 | };
|
8 | coupons: {
|
9 | type: PropType<CouponInfo[]>;
|
10 | default: () => never[];
|
11 | };
|
12 | currency: {
|
13 | type: PropType<string>;
|
14 | default: string;
|
15 | };
|
16 | showCount: {
|
17 | type: BooleanConstructor;
|
18 | default: true;
|
19 | };
|
20 | emptyImage: StringConstructor;
|
21 | enabledTitle: StringConstructor;
|
22 | disabledTitle: StringConstructor;
|
23 | disabledCoupons: {
|
24 | type: PropType<CouponInfo[]>;
|
25 | default: () => never[];
|
26 | };
|
27 | showExchangeBar: {
|
28 | type: BooleanConstructor;
|
29 | default: true;
|
30 | };
|
31 | showCloseButton: {
|
32 | type: BooleanConstructor;
|
33 | default: true;
|
34 | };
|
35 | closeButtonText: StringConstructor;
|
36 | inputPlaceholder: StringConstructor;
|
37 | exchangeMinLength: {
|
38 | type: NumberConstructor;
|
39 | default: number;
|
40 | };
|
41 | exchangeButtonText: StringConstructor;
|
42 | displayedCouponIndex: {
|
43 | type: NumberConstructor;
|
44 | default: number;
|
45 | };
|
46 | exchangeButtonLoading: BooleanConstructor;
|
47 | exchangeButtonDisabled: BooleanConstructor;
|
48 | chosenCoupon: {
|
49 | type: PropType<number | number[]>;
|
50 | default: number;
|
51 | };
|
52 | };
|
53 | export type CouponListProps = ExtractPropTypes<typeof couponListProps>;
|
54 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
55 | code: {
|
56 | type: PropType<string>;
|
57 | default: string;
|
58 | };
|
59 | coupons: {
|
60 | type: PropType<CouponInfo[]>;
|
61 | default: () => never[];
|
62 | };
|
63 | currency: {
|
64 | type: PropType<string>;
|
65 | default: string;
|
66 | };
|
67 | showCount: {
|
68 | type: BooleanConstructor;
|
69 | default: true;
|
70 | };
|
71 | emptyImage: StringConstructor;
|
72 | enabledTitle: StringConstructor;
|
73 | disabledTitle: StringConstructor;
|
74 | disabledCoupons: {
|
75 | type: PropType<CouponInfo[]>;
|
76 | default: () => never[];
|
77 | };
|
78 | showExchangeBar: {
|
79 | type: BooleanConstructor;
|
80 | default: true;
|
81 | };
|
82 | showCloseButton: {
|
83 | type: BooleanConstructor;
|
84 | default: true;
|
85 | };
|
86 | closeButtonText: StringConstructor;
|
87 | inputPlaceholder: StringConstructor;
|
88 | exchangeMinLength: {
|
89 | type: NumberConstructor;
|
90 | default: number;
|
91 | };
|
92 | exchangeButtonText: StringConstructor;
|
93 | displayedCouponIndex: {
|
94 | type: NumberConstructor;
|
95 | default: number;
|
96 | };
|
97 | exchangeButtonLoading: BooleanConstructor;
|
98 | exchangeButtonDisabled: BooleanConstructor;
|
99 | chosenCoupon: {
|
100 | type: PropType<number | number[]>;
|
101 | default: number;
|
102 | };
|
103 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "exchange" | "update:code")[], "change" | "exchange" | "update:code", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
104 | code: {
|
105 | type: PropType<string>;
|
106 | default: string;
|
107 | };
|
108 | coupons: {
|
109 | type: PropType<CouponInfo[]>;
|
110 | default: () => never[];
|
111 | };
|
112 | currency: {
|
113 | type: PropType<string>;
|
114 | default: string;
|
115 | };
|
116 | showCount: {
|
117 | type: BooleanConstructor;
|
118 | default: true;
|
119 | };
|
120 | emptyImage: StringConstructor;
|
121 | enabledTitle: StringConstructor;
|
122 | disabledTitle: StringConstructor;
|
123 | disabledCoupons: {
|
124 | type: PropType<CouponInfo[]>;
|
125 | default: () => never[];
|
126 | };
|
127 | showExchangeBar: {
|
128 | type: BooleanConstructor;
|
129 | default: true;
|
130 | };
|
131 | showCloseButton: {
|
132 | type: BooleanConstructor;
|
133 | default: true;
|
134 | };
|
135 | closeButtonText: StringConstructor;
|
136 | inputPlaceholder: StringConstructor;
|
137 | exchangeMinLength: {
|
138 | type: NumberConstructor;
|
139 | default: number;
|
140 | };
|
141 | exchangeButtonText: StringConstructor;
|
142 | displayedCouponIndex: {
|
143 | type: NumberConstructor;
|
144 | default: number;
|
145 | };
|
146 | exchangeButtonLoading: BooleanConstructor;
|
147 | exchangeButtonDisabled: BooleanConstructor;
|
148 | chosenCoupon: {
|
149 | type: PropType<number | number[]>;
|
150 | default: number;
|
151 | };
|
152 | }>> & Readonly<{
|
153 | onChange?: ((...args: any[]) => any) | undefined;
|
154 | onExchange?: ((...args: any[]) => any) | undefined;
|
155 | "onUpdate:code"?: ((...args: any[]) => any) | undefined;
|
156 | }>, {
|
157 | code: string;
|
158 | currency: string;
|
159 | coupons: CouponInfo[];
|
160 | chosenCoupon: number | number[];
|
161 | showCount: boolean;
|
162 | disabledCoupons: CouponInfo[];
|
163 | showExchangeBar: boolean;
|
164 | showCloseButton: boolean;
|
165 | exchangeMinLength: number;
|
166 | displayedCouponIndex: number;
|
167 | exchangeButtonLoading: boolean;
|
168 | exchangeButtonDisabled: boolean;
|
169 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
170 | export default _default;
|
171 |
|
\ | No newline at end of file |