UNPKG

2.12 kBTypeScriptView Raw
1import { type PropType, type ExtractPropTypes } from 'vue';
2import type { CouponInfo } from '../coupon';
3export declare const couponCellProps: {
4 title: StringConstructor;
5 border: {
6 type: BooleanConstructor;
7 default: true;
8 };
9 editable: {
10 type: BooleanConstructor;
11 default: true;
12 };
13 coupons: {
14 type: PropType<CouponInfo[]>;
15 default: () => never[];
16 };
17 currency: {
18 type: PropType<string>;
19 default: string;
20 };
21 chosenCoupon: {
22 type: PropType<number | number[]>;
23 default: number;
24 };
25};
26export type CouponCellProps = ExtractPropTypes<typeof couponCellProps>;
27declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
28 title: StringConstructor;
29 border: {
30 type: BooleanConstructor;
31 default: true;
32 };
33 editable: {
34 type: BooleanConstructor;
35 default: true;
36 };
37 coupons: {
38 type: PropType<CouponInfo[]>;
39 default: () => never[];
40 };
41 currency: {
42 type: PropType<string>;
43 default: string;
44 };
45 chosenCoupon: {
46 type: PropType<number | number[]>;
47 default: number;
48 };
49}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
50 title: StringConstructor;
51 border: {
52 type: BooleanConstructor;
53 default: true;
54 };
55 editable: {
56 type: BooleanConstructor;
57 default: true;
58 };
59 coupons: {
60 type: PropType<CouponInfo[]>;
61 default: () => never[];
62 };
63 currency: {
64 type: PropType<string>;
65 default: string;
66 };
67 chosenCoupon: {
68 type: PropType<number | number[]>;
69 default: number;
70 };
71}>> & Readonly<{}>, {
72 border: boolean;
73 currency: string;
74 editable: boolean;
75 coupons: CouponInfo[];
76 chosenCoupon: number | number[];
77}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
78export default _default;