1 | import { type PropType, type InjectionKey, type TeleportProps, type ExtractPropTypes } from 'vue';
|
2 | import { type Numeric } from '../utils';
|
3 | import { IndexBarProvide } from './types';
|
4 | declare function genAlphabet(): string[];
|
5 | export declare const indexBarProps: {
|
6 | sticky: {
|
7 | type: BooleanConstructor;
|
8 | default: true;
|
9 | };
|
10 | zIndex: (NumberConstructor | StringConstructor)[];
|
11 | teleport: PropType<TeleportProps["to"]>;
|
12 | highlightColor: StringConstructor;
|
13 | stickyOffsetTop: {
|
14 | type: NumberConstructor;
|
15 | default: number;
|
16 | };
|
17 | indexList: {
|
18 | type: PropType<Numeric[]>;
|
19 | default: typeof genAlphabet;
|
20 | };
|
21 | };
|
22 | export type IndexBarProps = ExtractPropTypes<typeof indexBarProps>;
|
23 | export declare const INDEX_BAR_KEY: InjectionKey<IndexBarProvide>;
|
24 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
25 | sticky: {
|
26 | type: BooleanConstructor;
|
27 | default: true;
|
28 | };
|
29 | zIndex: (NumberConstructor | StringConstructor)[];
|
30 | teleport: PropType<TeleportProps["to"]>;
|
31 | highlightColor: StringConstructor;
|
32 | stickyOffsetTop: {
|
33 | type: NumberConstructor;
|
34 | default: number;
|
35 | };
|
36 | indexList: {
|
37 | type: PropType<Numeric[]>;
|
38 | default: typeof genAlphabet;
|
39 | };
|
40 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
41 | sticky: {
|
42 | type: BooleanConstructor;
|
43 | default: true;
|
44 | };
|
45 | zIndex: (NumberConstructor | StringConstructor)[];
|
46 | teleport: PropType<TeleportProps["to"]>;
|
47 | highlightColor: StringConstructor;
|
48 | stickyOffsetTop: {
|
49 | type: NumberConstructor;
|
50 | default: number;
|
51 | };
|
52 | indexList: {
|
53 | type: PropType<Numeric[]>;
|
54 | default: typeof genAlphabet;
|
55 | };
|
56 | }>> & Readonly<{
|
57 | onChange?: ((...args: any[]) => any) | undefined;
|
58 | onSelect?: ((...args: any[]) => any) | undefined;
|
59 | }>, {
|
60 | sticky: boolean;
|
61 | stickyOffsetTop: number;
|
62 | indexList: Numeric[];
|
63 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
64 | export default _default;
|
65 |
|
\ | No newline at end of file |