2024-12-01 11:56:54 +00:00
|
|
|
import { IBaseProps } from '../_util/base';
|
2024-11-10 07:01:22 +00:00
|
|
|
export interface INumberKeyboardProps extends IBaseProps {
|
2024-12-01 11:56:54 +00:00
|
|
|
/**
|
|
|
|
* @description 关闭箭头
|
|
|
|
* @default false
|
|
|
|
*/
|
|
|
|
closeable: boolean;
|
|
|
|
/**
|
|
|
|
* @description 展示小数点
|
|
|
|
* @default true
|
|
|
|
*/
|
|
|
|
point: boolean;
|
|
|
|
/**
|
|
|
|
* @description 确认按钮文字
|
|
|
|
* @default ''
|
|
|
|
*/
|
|
|
|
confirmText: string;
|
|
|
|
/**
|
|
|
|
* @description 是否震动
|
|
|
|
* @default true
|
|
|
|
*/
|
|
|
|
vibrate: boolean;
|
|
|
|
/**
|
|
|
|
* @description 是否展示
|
|
|
|
* @default false
|
|
|
|
*/
|
|
|
|
visible: boolean;
|
|
|
|
/**
|
|
|
|
* @description 值
|
|
|
|
* @default ''
|
|
|
|
*/
|
|
|
|
value: string;
|
|
|
|
/**
|
|
|
|
* @description 安全距离
|
|
|
|
* @default true
|
|
|
|
*/
|
|
|
|
safeArea: boolean;
|
|
|
|
/**
|
|
|
|
* @description 乱序
|
|
|
|
* @default fasle
|
|
|
|
*/
|
|
|
|
random: boolean;
|
|
|
|
/**
|
|
|
|
* @description 禁用
|
|
|
|
* @default false
|
|
|
|
*/
|
|
|
|
confirmDisabled: boolean;
|
|
|
|
/**
|
|
|
|
* @description 输入值变化时的回调
|
|
|
|
*/
|
|
|
|
onChange?: (val: string) => void;
|
|
|
|
/**
|
|
|
|
* @description 点击确认时的回调
|
|
|
|
*/
|
|
|
|
onConfirm?: () => void;
|
|
|
|
/**
|
|
|
|
* @description 隐藏键盘时的回调
|
|
|
|
*/
|
|
|
|
onClose?: () => void;
|
2024-11-10 07:01:22 +00:00
|
|
|
}
|
|
|
|
export declare const NumberKeyboardDefaultProps: Partial<INumberKeyboardProps>;
|