1 | import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
|
2 | import { type Numeric, type Interceptor } from '../utils';
|
3 | export declare const tabbarProps: {
|
4 | route: BooleanConstructor;
|
5 | fixed: {
|
6 | type: BooleanConstructor;
|
7 | default: true;
|
8 | };
|
9 | border: {
|
10 | type: BooleanConstructor;
|
11 | default: true;
|
12 | };
|
13 | zIndex: (NumberConstructor | StringConstructor)[];
|
14 | placeholder: BooleanConstructor;
|
15 | activeColor: StringConstructor;
|
16 | beforeChange: PropType<Interceptor>;
|
17 | inactiveColor: StringConstructor;
|
18 | modelValue: {
|
19 | type: (NumberConstructor | StringConstructor)[];
|
20 | default: number;
|
21 | };
|
22 | safeAreaInsetBottom: {
|
23 | type: PropType<boolean | null>;
|
24 | default: null;
|
25 | };
|
26 | };
|
27 | export type TabbarProps = ExtractPropTypes<typeof tabbarProps>;
|
28 | export type TabbarProvide = {
|
29 | props: TabbarProps;
|
30 | setActive: (active: Numeric, afterChange: () => void) => void;
|
31 | };
|
32 | export declare const TABBAR_KEY: InjectionKey<TabbarProvide>;
|
33 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
34 | route: BooleanConstructor;
|
35 | fixed: {
|
36 | type: BooleanConstructor;
|
37 | default: true;
|
38 | };
|
39 | border: {
|
40 | type: BooleanConstructor;
|
41 | default: true;
|
42 | };
|
43 | zIndex: (NumberConstructor | StringConstructor)[];
|
44 | placeholder: BooleanConstructor;
|
45 | activeColor: StringConstructor;
|
46 | beforeChange: PropType<Interceptor>;
|
47 | inactiveColor: StringConstructor;
|
48 | modelValue: {
|
49 | type: (NumberConstructor | StringConstructor)[];
|
50 | default: number;
|
51 | };
|
52 | safeAreaInsetBottom: {
|
53 | type: PropType<boolean | null>;
|
54 | default: null;
|
55 | };
|
56 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
57 | route: BooleanConstructor;
|
58 | fixed: {
|
59 | type: BooleanConstructor;
|
60 | default: true;
|
61 | };
|
62 | border: {
|
63 | type: BooleanConstructor;
|
64 | default: true;
|
65 | };
|
66 | zIndex: (NumberConstructor | StringConstructor)[];
|
67 | placeholder: BooleanConstructor;
|
68 | activeColor: StringConstructor;
|
69 | beforeChange: PropType<Interceptor>;
|
70 | inactiveColor: StringConstructor;
|
71 | modelValue: {
|
72 | type: (NumberConstructor | StringConstructor)[];
|
73 | default: number;
|
74 | };
|
75 | safeAreaInsetBottom: {
|
76 | type: PropType<boolean | null>;
|
77 | default: null;
|
78 | };
|
79 | }>> & Readonly<{
|
80 | onChange?: ((...args: any[]) => any) | undefined;
|
81 | "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
82 | }>, {
|
83 | fixed: boolean;
|
84 | border: boolean;
|
85 | modelValue: string | number;
|
86 | placeholder: boolean;
|
87 | safeAreaInsetBottom: boolean | null;
|
88 | route: boolean;
|
89 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
90 | export default _default;
|
91 |
|
\ | No newline at end of file |