UNPKG

2.42 kBTypeScriptView Raw
1import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
2export type GridDirection = 'horizontal' | 'vertical';
3export declare const gridProps: {
4 square: BooleanConstructor;
5 center: {
6 type: BooleanConstructor;
7 default: true;
8 };
9 border: {
10 type: BooleanConstructor;
11 default: true;
12 };
13 gutter: (NumberConstructor | StringConstructor)[];
14 reverse: BooleanConstructor;
15 iconSize: (NumberConstructor | StringConstructor)[];
16 direction: PropType<GridDirection>;
17 clickable: BooleanConstructor;
18 columnNum: {
19 type: (NumberConstructor | StringConstructor)[];
20 default: number;
21 };
22};
23export type GridProps = ExtractPropTypes<typeof gridProps>;
24export type GridProvide = {
25 props: GridProps;
26};
27export declare const GRID_KEY: InjectionKey<GridProvide>;
28declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
29 square: BooleanConstructor;
30 center: {
31 type: BooleanConstructor;
32 default: true;
33 };
34 border: {
35 type: BooleanConstructor;
36 default: true;
37 };
38 gutter: (NumberConstructor | StringConstructor)[];
39 reverse: BooleanConstructor;
40 iconSize: (NumberConstructor | StringConstructor)[];
41 direction: PropType<GridDirection>;
42 clickable: BooleanConstructor;
43 columnNum: {
44 type: (NumberConstructor | StringConstructor)[];
45 default: number;
46 };
47}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
48 square: BooleanConstructor;
49 center: {
50 type: BooleanConstructor;
51 default: true;
52 };
53 border: {
54 type: BooleanConstructor;
55 default: true;
56 };
57 gutter: (NumberConstructor | StringConstructor)[];
58 reverse: BooleanConstructor;
59 iconSize: (NumberConstructor | StringConstructor)[];
60 direction: PropType<GridDirection>;
61 clickable: BooleanConstructor;
62 columnNum: {
63 type: (NumberConstructor | StringConstructor)[];
64 default: number;
65 };
66}>> & Readonly<{}>, {
67 reverse: boolean;
68 center: boolean;
69 border: boolean;
70 square: boolean;
71 clickable: boolean;
72 columnNum: string | number;
73}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
74export default _default;