UNPKG

4.96 kBTypeScriptView Raw
1import { type PropType, type TeleportProps, type ExtractPropTypes } from 'vue';
2export type NumberKeyboardTheme = 'default' | 'custom';
3export declare const numberKeyboardProps: {
4 show: BooleanConstructor;
5 title: StringConstructor;
6 theme: {
7 type: PropType<NumberKeyboardTheme>;
8 default: NumberKeyboardTheme;
9 };
10 zIndex: (NumberConstructor | StringConstructor)[];
11 teleport: PropType<TeleportProps["to"]>;
12 maxlength: {
13 type: (NumberConstructor | StringConstructor)[];
14 default: number;
15 };
16 modelValue: {
17 type: PropType<string>;
18 default: string;
19 };
20 transition: {
21 type: BooleanConstructor;
22 default: true;
23 };
24 blurOnClose: {
25 type: BooleanConstructor;
26 default: true;
27 };
28 showDeleteKey: {
29 type: BooleanConstructor;
30 default: true;
31 };
32 randomKeyOrder: BooleanConstructor;
33 closeButtonText: StringConstructor;
34 deleteButtonText: StringConstructor;
35 closeButtonLoading: BooleanConstructor;
36 hideOnClickOutside: {
37 type: BooleanConstructor;
38 default: true;
39 };
40 safeAreaInsetBottom: {
41 type: BooleanConstructor;
42 default: true;
43 };
44 extraKey: {
45 type: PropType<string | string[]>;
46 default: string;
47 };
48};
49export type NumberKeyboardProps = ExtractPropTypes<typeof numberKeyboardProps>;
50declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
51 show: BooleanConstructor;
52 title: StringConstructor;
53 theme: {
54 type: PropType<NumberKeyboardTheme>;
55 default: NumberKeyboardTheme;
56 };
57 zIndex: (NumberConstructor | StringConstructor)[];
58 teleport: PropType<TeleportProps["to"]>;
59 maxlength: {
60 type: (NumberConstructor | StringConstructor)[];
61 default: number;
62 };
63 modelValue: {
64 type: PropType<string>;
65 default: string;
66 };
67 transition: {
68 type: BooleanConstructor;
69 default: true;
70 };
71 blurOnClose: {
72 type: BooleanConstructor;
73 default: true;
74 };
75 showDeleteKey: {
76 type: BooleanConstructor;
77 default: true;
78 };
79 randomKeyOrder: BooleanConstructor;
80 closeButtonText: StringConstructor;
81 deleteButtonText: StringConstructor;
82 closeButtonLoading: BooleanConstructor;
83 hideOnClickOutside: {
84 type: BooleanConstructor;
85 default: true;
86 };
87 safeAreaInsetBottom: {
88 type: BooleanConstructor;
89 default: true;
90 };
91 extraKey: {
92 type: PropType<string | string[]>;
93 default: string;
94 };
95}>, () => 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<ExtractPropTypes<{
96 show: BooleanConstructor;
97 title: StringConstructor;
98 theme: {
99 type: PropType<NumberKeyboardTheme>;
100 default: NumberKeyboardTheme;
101 };
102 zIndex: (NumberConstructor | StringConstructor)[];
103 teleport: PropType<TeleportProps["to"]>;
104 maxlength: {
105 type: (NumberConstructor | StringConstructor)[];
106 default: number;
107 };
108 modelValue: {
109 type: PropType<string>;
110 default: string;
111 };
112 transition: {
113 type: BooleanConstructor;
114 default: true;
115 };
116 blurOnClose: {
117 type: BooleanConstructor;
118 default: true;
119 };
120 showDeleteKey: {
121 type: BooleanConstructor;
122 default: true;
123 };
124 randomKeyOrder: BooleanConstructor;
125 closeButtonText: StringConstructor;
126 deleteButtonText: StringConstructor;
127 closeButtonLoading: BooleanConstructor;
128 hideOnClickOutside: {
129 type: BooleanConstructor;
130 default: true;
131 };
132 safeAreaInsetBottom: {
133 type: BooleanConstructor;
134 default: true;
135 };
136 extraKey: {
137 type: PropType<string | string[]>;
138 default: string;
139 };
140}>> & Readonly<{
141 onBlur?: ((...args: any[]) => any) | undefined;
142 onInput?: ((...args: any[]) => any) | undefined;
143 onClose?: ((...args: any[]) => any) | undefined;
144 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
145 onDelete?: ((...args: any[]) => any) | undefined;
146 onHide?: ((...args: any[]) => any) | undefined;
147 onShow?: ((...args: any[]) => any) | undefined;
148}>, {
149 theme: NumberKeyboardTheme;
150 show: boolean;
151 maxlength: string | number;
152 modelValue: string;
153 safeAreaInsetBottom: boolean;
154 transition: boolean;
155 blurOnClose: boolean;
156 showDeleteKey: boolean;
157 randomKeyOrder: boolean;
158 closeButtonLoading: boolean;
159 hideOnClickOutside: boolean;
160 extraKey: string | string[];
161}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
162export default _default;
163
\No newline at end of file