1 | import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
|
2 | import { type Interceptor } from '../utils';
|
3 | import type { TabsProvide, TabsType } from './types';
|
4 | export declare const tabsProps: {
|
5 | type: {
|
6 | type: PropType<TabsType>;
|
7 | default: TabsType;
|
8 | };
|
9 | color: StringConstructor;
|
10 | border: BooleanConstructor;
|
11 | sticky: BooleanConstructor;
|
12 | shrink: BooleanConstructor;
|
13 | active: {
|
14 | type: (NumberConstructor | StringConstructor)[];
|
15 | default: number;
|
16 | };
|
17 | duration: {
|
18 | type: (NumberConstructor | StringConstructor)[];
|
19 | default: number;
|
20 | };
|
21 | animated: BooleanConstructor;
|
22 | ellipsis: {
|
23 | type: BooleanConstructor;
|
24 | default: true;
|
25 | };
|
26 | swipeable: BooleanConstructor;
|
27 | scrollspy: BooleanConstructor;
|
28 | offsetTop: {
|
29 | type: (NumberConstructor | StringConstructor)[];
|
30 | default: number;
|
31 | };
|
32 | background: StringConstructor;
|
33 | lazyRender: {
|
34 | type: BooleanConstructor;
|
35 | default: true;
|
36 | };
|
37 | showHeader: {
|
38 | type: BooleanConstructor;
|
39 | default: true;
|
40 | };
|
41 | lineWidth: (NumberConstructor | StringConstructor)[];
|
42 | lineHeight: (NumberConstructor | StringConstructor)[];
|
43 | beforeChange: PropType<Interceptor>;
|
44 | swipeThreshold: {
|
45 | type: (NumberConstructor | StringConstructor)[];
|
46 | default: number;
|
47 | };
|
48 | titleActiveColor: StringConstructor;
|
49 | titleInactiveColor: StringConstructor;
|
50 | };
|
51 | export type TabsProps = ExtractPropTypes<typeof tabsProps>;
|
52 | export declare const TABS_KEY: InjectionKey<TabsProvide>;
|
53 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
54 | type: {
|
55 | type: PropType<TabsType>;
|
56 | default: TabsType;
|
57 | };
|
58 | color: StringConstructor;
|
59 | border: BooleanConstructor;
|
60 | sticky: BooleanConstructor;
|
61 | shrink: BooleanConstructor;
|
62 | active: {
|
63 | type: (NumberConstructor | StringConstructor)[];
|
64 | default: number;
|
65 | };
|
66 | duration: {
|
67 | type: (NumberConstructor | StringConstructor)[];
|
68 | default: number;
|
69 | };
|
70 | animated: BooleanConstructor;
|
71 | ellipsis: {
|
72 | type: BooleanConstructor;
|
73 | default: true;
|
74 | };
|
75 | swipeable: BooleanConstructor;
|
76 | scrollspy: BooleanConstructor;
|
77 | offsetTop: {
|
78 | type: (NumberConstructor | StringConstructor)[];
|
79 | default: number;
|
80 | };
|
81 | background: StringConstructor;
|
82 | lazyRender: {
|
83 | type: BooleanConstructor;
|
84 | default: true;
|
85 | };
|
86 | showHeader: {
|
87 | type: BooleanConstructor;
|
88 | default: true;
|
89 | };
|
90 | lineWidth: (NumberConstructor | StringConstructor)[];
|
91 | lineHeight: (NumberConstructor | StringConstructor)[];
|
92 | beforeChange: PropType<Interceptor>;
|
93 | swipeThreshold: {
|
94 | type: (NumberConstructor | StringConstructor)[];
|
95 | default: number;
|
96 | };
|
97 | titleActiveColor: StringConstructor;
|
98 | titleInactiveColor: StringConstructor;
|
99 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change" | "rendered" | "clickTab" | "update:active")[], "scroll" | "change" | "rendered" | "clickTab" | "update:active", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
100 | type: {
|
101 | type: PropType<TabsType>;
|
102 | default: TabsType;
|
103 | };
|
104 | color: StringConstructor;
|
105 | border: BooleanConstructor;
|
106 | sticky: BooleanConstructor;
|
107 | shrink: BooleanConstructor;
|
108 | active: {
|
109 | type: (NumberConstructor | StringConstructor)[];
|
110 | default: number;
|
111 | };
|
112 | duration: {
|
113 | type: (NumberConstructor | StringConstructor)[];
|
114 | default: number;
|
115 | };
|
116 | animated: BooleanConstructor;
|
117 | ellipsis: {
|
118 | type: BooleanConstructor;
|
119 | default: true;
|
120 | };
|
121 | swipeable: BooleanConstructor;
|
122 | scrollspy: BooleanConstructor;
|
123 | offsetTop: {
|
124 | type: (NumberConstructor | StringConstructor)[];
|
125 | default: number;
|
126 | };
|
127 | background: StringConstructor;
|
128 | lazyRender: {
|
129 | type: BooleanConstructor;
|
130 | default: true;
|
131 | };
|
132 | showHeader: {
|
133 | type: BooleanConstructor;
|
134 | default: true;
|
135 | };
|
136 | lineWidth: (NumberConstructor | StringConstructor)[];
|
137 | lineHeight: (NumberConstructor | StringConstructor)[];
|
138 | beforeChange: PropType<Interceptor>;
|
139 | swipeThreshold: {
|
140 | type: (NumberConstructor | StringConstructor)[];
|
141 | default: number;
|
142 | };
|
143 | titleActiveColor: StringConstructor;
|
144 | titleInactiveColor: StringConstructor;
|
145 | }>> & Readonly<{
|
146 | onChange?: ((...args: any[]) => any) | undefined;
|
147 | onScroll?: ((...args: any[]) => any) | undefined;
|
148 | onRendered?: ((...args: any[]) => any) | undefined;
|
149 | onClickTab?: ((...args: any[]) => any) | undefined;
|
150 | "onUpdate:active"?: ((...args: any[]) => any) | undefined;
|
151 | }>, {
|
152 | type: TabsType;
|
153 | ellipsis: boolean;
|
154 | sticky: boolean;
|
155 | border: boolean;
|
156 | active: string | number;
|
157 | duration: string | number;
|
158 | lazyRender: boolean;
|
159 | offsetTop: string | number;
|
160 | animated: boolean;
|
161 | swipeable: boolean;
|
162 | shrink: boolean;
|
163 | scrollspy: boolean;
|
164 | showHeader: boolean;
|
165 | swipeThreshold: string | number;
|
166 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
167 | export default _default;
|
168 |
|
\ | No newline at end of file |