1 | import { type PropType } from 'vue';
|
2 | import { type Numeric } from '../utils';
|
3 | export type CouponInfo = {
|
4 | id: Numeric;
|
5 | name: string;
|
6 | endAt: number;
|
7 | value: number;
|
8 | startAt: number;
|
9 | reason?: string;
|
10 | discount?: number;
|
11 | unitDesc?: string;
|
12 | condition?: string;
|
13 | valueDesc?: string;
|
14 | description: string;
|
15 | denominations?: number;
|
16 | originCondition?: number;
|
17 | };
|
18 | declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
19 | chosen: BooleanConstructor;
|
20 | coupon: {
|
21 | type: PropType<CouponInfo>;
|
22 | required: true;
|
23 | };
|
24 | disabled: BooleanConstructor;
|
25 | currency: {
|
26 | type: PropType<string>;
|
27 | default: string;
|
28 | };
|
29 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
30 | chosen: BooleanConstructor;
|
31 | coupon: {
|
32 | type: PropType<CouponInfo>;
|
33 | required: true;
|
34 | };
|
35 | disabled: BooleanConstructor;
|
36 | currency: {
|
37 | type: PropType<string>;
|
38 | default: string;
|
39 | };
|
40 | }>> & Readonly<{}>, {
|
41 | disabled: boolean;
|
42 | currency: string;
|
43 | chosen: boolean;
|
44 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
45 | export default _default;
|