gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
27 lines (26 loc) • 803 B
TypeScript
import { type StyleValue } from 'vue';
export interface KeyboardProps {
rootStyle?: StyleValue;
rootClass?: string;
type?: 'number' | 'digit' | 'idcard' | 'random' | 'plate';
}
export declare const defaultKeyboardProps: {
type: KeyboardProps["type"];
};
export interface KeyboardSlots {
default?(props: Record<string, never>): any;
}
export interface KeyboardEmits {
(e: 'input', key: string): void;
(e: 'delete'): void;
}
export interface KeyBoardExpose {
shuffle: () => void;
toggle: () => void;
}
export declare const numberKeys: string[];
export declare const digitKeys: string[];
export declare const idcardKeys: string[];
export declare const chineseKeys: string[];
export declare const englishKeys: string[];
export declare function getRandomKeys(): string[];