46 lines
1.3 KiB
TypeScript
46 lines
1.3 KiB
TypeScript
import { type PropType } from 'vue';
|
|
import { type Numeric } from '../utils';
|
|
export type CouponInfo = {
|
|
id: Numeric;
|
|
name: string;
|
|
endAt: number;
|
|
value: number;
|
|
startAt: number;
|
|
reason?: string;
|
|
discount?: number;
|
|
unitDesc?: string;
|
|
condition?: string;
|
|
valueDesc?: string;
|
|
description: string;
|
|
denominations?: number;
|
|
originCondition?: number;
|
|
};
|
|
declare const _default: import("vue").DefineComponent<{
|
|
chosen: BooleanConstructor;
|
|
coupon: {
|
|
type: PropType<CouponInfo>;
|
|
required: true;
|
|
};
|
|
disabled: BooleanConstructor;
|
|
currency: {
|
|
type: PropType<string>;
|
|
default: string;
|
|
};
|
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
chosen: BooleanConstructor;
|
|
coupon: {
|
|
type: PropType<CouponInfo>;
|
|
required: true;
|
|
};
|
|
disabled: BooleanConstructor;
|
|
currency: {
|
|
type: PropType<string>;
|
|
default: string;
|
|
};
|
|
}>>, {
|
|
disabled: boolean;
|
|
currency: string;
|
|
chosen: boolean;
|
|
}>;
|
|
export default _default;
|