UNPKG

2.38 kBTypeScriptView Raw
1import { type InjectionKey, type ExtractPropTypes } from 'vue';
2export type PickerGroupProvide = Record<string, string>;
3export declare const PICKER_GROUP_KEY: InjectionKey<PickerGroupProvide>;
4export declare const pickerGroupProps: {
5 tabs: {
6 type: import("vue").PropType<string[]>;
7 default: () => never[];
8 };
9 activeTab: {
10 type: (NumberConstructor | StringConstructor)[];
11 default: number;
12 };
13 nextStepText: StringConstructor;
14 showToolbar: {
15 type: BooleanConstructor;
16 default: true;
17 };
18} & {
19 title: StringConstructor;
20 cancelButtonText: StringConstructor;
21 confirmButtonText: StringConstructor;
22};
23export type PickerGroupProps = ExtractPropTypes<typeof pickerGroupProps>;
24declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
25 tabs: {
26 type: import("vue").PropType<string[]>;
27 default: () => never[];
28 };
29 activeTab: {
30 type: (NumberConstructor | StringConstructor)[];
31 default: number;
32 };
33 nextStepText: StringConstructor;
34 showToolbar: {
35 type: BooleanConstructor;
36 default: true;
37 };
38} & {
39 title: StringConstructor;
40 cancelButtonText: StringConstructor;
41 confirmButtonText: StringConstructor;
42}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm" | "update:activeTab")[], "cancel" | "confirm" | "update:activeTab", import("vue").PublicProps, Readonly<ExtractPropTypes<{
43 tabs: {
44 type: import("vue").PropType<string[]>;
45 default: () => never[];
46 };
47 activeTab: {
48 type: (NumberConstructor | StringConstructor)[];
49 default: number;
50 };
51 nextStepText: StringConstructor;
52 showToolbar: {
53 type: BooleanConstructor;
54 default: true;
55 };
56} & {
57 title: StringConstructor;
58 cancelButtonText: StringConstructor;
59 confirmButtonText: StringConstructor;
60}>> & Readonly<{
61 onCancel?: ((...args: any[]) => any) | undefined;
62 onConfirm?: ((...args: any[]) => any) | undefined;
63 "onUpdate:activeTab"?: ((...args: any[]) => any) | undefined;
64}>, {
65 showToolbar: boolean;
66 tabs: string[];
67 activeTab: string | number;
68}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69export default _default;
70
\No newline at end of file