UNPKG

3.31 kBTypeScriptView Raw
1export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 tag: {
3 type: import("vue").PropType<keyof HTMLElementTagNameMap>;
4 default: keyof HTMLElementTagNameMap;
5 };
6 icon: StringConstructor;
7 size: import("vue").PropType<import("./Cell").CellSize>;
8 title: (NumberConstructor | StringConstructor)[];
9 value: (NumberConstructor | StringConstructor)[];
10 label: (NumberConstructor | StringConstructor)[];
11 center: BooleanConstructor;
12 isLink: BooleanConstructor;
13 border: {
14 type: BooleanConstructor;
15 default: true;
16 };
17 iconPrefix: StringConstructor;
18 valueClass: import("vue").PropType<unknown>;
19 labelClass: import("vue").PropType<unknown>;
20 titleClass: import("vue").PropType<unknown>;
21 titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
22 arrowDirection: import("vue").PropType<import("./Cell").CellArrowDirection>;
23 required: {
24 type: import("vue").PropType<boolean | "auto">;
25 default: null;
26 };
27 clickable: {
28 type: import("vue").PropType<boolean | null>;
29 default: null;
30 };
31} & {
32 to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
33 url: StringConstructor;
34 replace: BooleanConstructor;
35}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36 tag: {
37 type: import("vue").PropType<keyof HTMLElementTagNameMap>;
38 default: keyof HTMLElementTagNameMap;
39 };
40 icon: StringConstructor;
41 size: import("vue").PropType<import("./Cell").CellSize>;
42 title: (NumberConstructor | StringConstructor)[];
43 value: (NumberConstructor | StringConstructor)[];
44 label: (NumberConstructor | StringConstructor)[];
45 center: BooleanConstructor;
46 isLink: BooleanConstructor;
47 border: {
48 type: BooleanConstructor;
49 default: true;
50 };
51 iconPrefix: StringConstructor;
52 valueClass: import("vue").PropType<unknown>;
53 labelClass: import("vue").PropType<unknown>;
54 titleClass: import("vue").PropType<unknown>;
55 titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
56 arrowDirection: import("vue").PropType<import("./Cell").CellArrowDirection>;
57 required: {
58 type: import("vue").PropType<boolean | "auto">;
59 default: null;
60 };
61 clickable: {
62 type: import("vue").PropType<boolean | null>;
63 default: null;
64 };
65} & {
66 to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
67 url: StringConstructor;
68 replace: BooleanConstructor;
69}>> & Readonly<{}>, {
70 replace: boolean;
71 tag: keyof HTMLElementTagNameMap;
72 center: boolean;
73 border: boolean;
74 isLink: boolean;
75 required: boolean | "auto";
76 clickable: boolean | null;
77}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
78export default Cell;
79export { cellProps } from './Cell';
80export type { CellSize, CellProps, CellArrowDirection } from './Cell';
81export type { CellThemeVars } from './types';
82declare module 'vue' {
83 interface GlobalComponents {
84 VanCell: typeof Cell;
85 }
86}