1 | export declare const CouponList: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2 | code: {
|
3 | type: import("vue").PropType<string>;
|
4 | default: string;
|
5 | };
|
6 | coupons: {
|
7 | type: import("vue").PropType<import("..").CouponInfo[]>;
|
8 | default: () => never[];
|
9 | };
|
10 | currency: {
|
11 | type: import("vue").PropType<string>;
|
12 | default: string;
|
13 | };
|
14 | showCount: {
|
15 | type: BooleanConstructor;
|
16 | default: true;
|
17 | };
|
18 | emptyImage: StringConstructor;
|
19 | enabledTitle: StringConstructor;
|
20 | disabledTitle: StringConstructor;
|
21 | disabledCoupons: {
|
22 | type: import("vue").PropType<import("..").CouponInfo[]>;
|
23 | default: () => never[];
|
24 | };
|
25 | showExchangeBar: {
|
26 | type: BooleanConstructor;
|
27 | default: true;
|
28 | };
|
29 | showCloseButton: {
|
30 | type: BooleanConstructor;
|
31 | default: true;
|
32 | };
|
33 | closeButtonText: StringConstructor;
|
34 | inputPlaceholder: StringConstructor;
|
35 | exchangeMinLength: {
|
36 | type: NumberConstructor;
|
37 | default: number;
|
38 | };
|
39 | exchangeButtonText: StringConstructor;
|
40 | displayedCouponIndex: {
|
41 | type: NumberConstructor;
|
42 | default: number;
|
43 | };
|
44 | exchangeButtonLoading: BooleanConstructor;
|
45 | exchangeButtonDisabled: BooleanConstructor;
|
46 | chosenCoupon: {
|
47 | type: import("vue").PropType<number | number[]>;
|
48 | default: number;
|
49 | };
|
50 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "exchange" | "update:code")[], "change" | "exchange" | "update:code", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
51 | code: {
|
52 | type: import("vue").PropType<string>;
|
53 | default: string;
|
54 | };
|
55 | coupons: {
|
56 | type: import("vue").PropType<import("..").CouponInfo[]>;
|
57 | default: () => never[];
|
58 | };
|
59 | currency: {
|
60 | type: import("vue").PropType<string>;
|
61 | default: string;
|
62 | };
|
63 | showCount: {
|
64 | type: BooleanConstructor;
|
65 | default: true;
|
66 | };
|
67 | emptyImage: StringConstructor;
|
68 | enabledTitle: StringConstructor;
|
69 | disabledTitle: StringConstructor;
|
70 | disabledCoupons: {
|
71 | type: import("vue").PropType<import("..").CouponInfo[]>;
|
72 | default: () => never[];
|
73 | };
|
74 | showExchangeBar: {
|
75 | type: BooleanConstructor;
|
76 | default: true;
|
77 | };
|
78 | showCloseButton: {
|
79 | type: BooleanConstructor;
|
80 | default: true;
|
81 | };
|
82 | closeButtonText: StringConstructor;
|
83 | inputPlaceholder: StringConstructor;
|
84 | exchangeMinLength: {
|
85 | type: NumberConstructor;
|
86 | default: number;
|
87 | };
|
88 | exchangeButtonText: StringConstructor;
|
89 | displayedCouponIndex: {
|
90 | type: NumberConstructor;
|
91 | default: number;
|
92 | };
|
93 | exchangeButtonLoading: BooleanConstructor;
|
94 | exchangeButtonDisabled: BooleanConstructor;
|
95 | chosenCoupon: {
|
96 | type: import("vue").PropType<number | number[]>;
|
97 | default: number;
|
98 | };
|
99 | }>> & Readonly<{
|
100 | onChange?: ((...args: any[]) => any) | undefined;
|
101 | onExchange?: ((...args: any[]) => any) | undefined;
|
102 | "onUpdate:code"?: ((...args: any[]) => any) | undefined;
|
103 | }>, {
|
104 | code: string;
|
105 | currency: string;
|
106 | coupons: import("..").CouponInfo[];
|
107 | chosenCoupon: number | number[];
|
108 | showCount: boolean;
|
109 | disabledCoupons: import("..").CouponInfo[];
|
110 | showExchangeBar: boolean;
|
111 | showCloseButton: boolean;
|
112 | exchangeMinLength: number;
|
113 | displayedCouponIndex: number;
|
114 | exchangeButtonLoading: boolean;
|
115 | exchangeButtonDisabled: boolean;
|
116 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
117 | export default CouponList;
|
118 | export { couponListProps } from './CouponList';
|
119 | export type { CouponListProps } from './CouponList';
|
120 | export type { CouponListThemeVars } from './types';
|
121 | declare module 'vue' {
|
122 | interface GlobalComponents {
|
123 | VanCouponList: typeof CouponList;
|
124 | }
|
125 | }
|
126 |
|
\ | No newline at end of file |