UNPKG

4.22 kBTypeScriptView Raw
1export declare const NumberKeyboard: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 show: BooleanConstructor;
3 title: StringConstructor;
4 theme: {
5 type: import("vue").PropType<import("./NumberKeyboard").NumberKeyboardTheme>;
6 default: import("./NumberKeyboard").NumberKeyboardTheme;
7 };
8 zIndex: (NumberConstructor | StringConstructor)[];
9 teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
10 maxlength: {
11 type: (NumberConstructor | StringConstructor)[];
12 default: number;
13 };
14 modelValue: {
15 type: import("vue").PropType<string>;
16 default: string;
17 };
18 transition: {
19 type: BooleanConstructor;
20 default: true;
21 };
22 blurOnClose: {
23 type: BooleanConstructor;
24 default: true;
25 };
26 showDeleteKey: {
27 type: BooleanConstructor;
28 default: true;
29 };
30 randomKeyOrder: BooleanConstructor;
31 closeButtonText: StringConstructor;
32 deleteButtonText: StringConstructor;
33 closeButtonLoading: BooleanConstructor;
34 hideOnClickOutside: {
35 type: BooleanConstructor;
36 default: true;
37 };
38 safeAreaInsetBottom: {
39 type: BooleanConstructor;
40 default: true;
41 };
42 extraKey: {
43 type: import("vue").PropType<string | string[]>;
44 default: string;
45 };
46}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "delete" | "hide" | "show" | "blur" | "update:modelValue" | "close")[], "input" | "delete" | "hide" | "show" | "blur" | "update:modelValue" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
47 show: BooleanConstructor;
48 title: StringConstructor;
49 theme: {
50 type: import("vue").PropType<import("./NumberKeyboard").NumberKeyboardTheme>;
51 default: import("./NumberKeyboard").NumberKeyboardTheme;
52 };
53 zIndex: (NumberConstructor | StringConstructor)[];
54 teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
55 maxlength: {
56 type: (NumberConstructor | StringConstructor)[];
57 default: number;
58 };
59 modelValue: {
60 type: import("vue").PropType<string>;
61 default: string;
62 };
63 transition: {
64 type: BooleanConstructor;
65 default: true;
66 };
67 blurOnClose: {
68 type: BooleanConstructor;
69 default: true;
70 };
71 showDeleteKey: {
72 type: BooleanConstructor;
73 default: true;
74 };
75 randomKeyOrder: BooleanConstructor;
76 closeButtonText: StringConstructor;
77 deleteButtonText: StringConstructor;
78 closeButtonLoading: BooleanConstructor;
79 hideOnClickOutside: {
80 type: BooleanConstructor;
81 default: true;
82 };
83 safeAreaInsetBottom: {
84 type: BooleanConstructor;
85 default: true;
86 };
87 extraKey: {
88 type: import("vue").PropType<string | string[]>;
89 default: string;
90 };
91}>> & Readonly<{
92 onBlur?: ((...args: any[]) => any) | undefined;
93 onInput?: ((...args: any[]) => any) | undefined;
94 onClose?: ((...args: any[]) => any) | undefined;
95 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
96 onDelete?: ((...args: any[]) => any) | undefined;
97 onHide?: ((...args: any[]) => any) | undefined;
98 onShow?: ((...args: any[]) => any) | undefined;
99}>, {
100 theme: import("./NumberKeyboard").NumberKeyboardTheme;
101 show: boolean;
102 maxlength: string | number;
103 modelValue: string;
104 safeAreaInsetBottom: boolean;
105 transition: boolean;
106 blurOnClose: boolean;
107 showDeleteKey: boolean;
108 randomKeyOrder: boolean;
109 closeButtonLoading: boolean;
110 hideOnClickOutside: boolean;
111 extraKey: string | string[];
112}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
113export default NumberKeyboard;
114export { numberKeyboardProps } from './NumberKeyboard';
115export type { NumberKeyboardProps, NumberKeyboardTheme, } from './NumberKeyboard';
116export type { NumberKeyboardThemeVars } from './types';
117declare module 'vue' {
118 interface GlobalComponents {
119 VanNumberKeyboard: typeof NumberKeyboard;
120 }
121}
122
\No newline at end of file