UNPKG

sard-uniapp

Version:

sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库

1,420 lines 86.9 kB
import { type StyleValue } from 'vue'; export interface InputProps { enableNative?: boolean; placeholder?: string; placeholderStyle?: string; placeholderClass?: string; disabled?: boolean; maxlength?: number; focus?: boolean; cursorSpacing?: number; cursor?: number; confirmType?: 'send' | 'search' | 'next' | 'go' | 'done'; confirmHold?: boolean; selectionStart?: number; selectionEnd?: number; adjustPosition?: boolean; holdKeyboard?: boolean; autoBlur?: boolean; ignoreCompositionEvent?: boolean; inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'; autoHeight?: boolean; fixed?: boolean; showConfirmBar?: boolean; disableDefaultPadding?: boolean; inputMinHeight?: boolean; type?: 'text' | 'number' | 'idcard' | 'digit' | 'tel' | 'safe-password' | 'nickname' | 'password' | 'textarea'; alwaysEmbed?: boolean; safePasswordCertPath?: string; safePasswordLength?: string; safePasswordTimeStamp?: string; safePasswordNonce?: string; safePasswordSalt?: string; safePasswordCustomHash?: string; randomNumber?: boolean; controlled?: boolean; alwaysSystem?: boolean; rootClass?: string; rootStyle?: StyleValue; modelValue?: string | number; clearable?: boolean; showClearOnlyFocus?: boolean; showCount?: boolean; inlaid?: boolean; borderless?: boolean; readonly?: boolean; focused?: boolean; minHeight?: string; validateEvent?: boolean; showEye?: boolean; internalPrepend?: number; } export declare const defaultInputProps: { enableNative?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; placeholder?: (string | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => string)) | undefined; placeholderStyle?: (string | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => string)) | undefined; placeholderClass?: (string | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => string)) | undefined; disabled?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; maxlength?: (number | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => number)) | undefined; focus?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; cursorSpacing?: (number | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => number)) | undefined; cursor?: (number | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => number)) | undefined; confirmType?: ("done" | "search" | "send" | "next" | "go" | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => "done" | "search" | "send" | "next" | "go")) | undefined; confirmHold?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; selectionStart?: (number | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => number)) | undefined; selectionEnd?: (number | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => number)) | undefined; adjustPosition?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; holdKeyboard?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; autoBlur?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; ignoreCompositionEvent?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; inputmode?: ("text" | "url" | "search" | "email" | "none" | "decimal" | "numeric" | "tel" | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => "text" | "url" | "search" | "email" | "none" | "decimal" | "numeric" | "tel")) | undefined; autoHeight?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; fixed?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; showConfirmBar?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; disableDefaultPadding?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; inputMinHeight?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; type?: ("number" | "text" | "textarea" | "tel" | "idcard" | "digit" | "safe-password" | "nickname" | "password" | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => "number" | "text" | "textarea" | "tel" | "idcard" | "digit" | "safe-password" | "nickname" | "password")) | undefined; alwaysEmbed?: (boolean | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => boolean)) | undefined; safePasswordCertPath?: (string | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => string)) | undefined; safePasswordLength?: (string | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreCompositionEvent: boolean; inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url"; autoHeight: boolean; fixed: boolean; showConfirmBar: boolean; disableDefaultPadding: boolean; inputMinHeight: boolean; type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea"; alwaysEmbed: boolean; safePasswordCertPath: string; safePasswordLength: string; safePasswordTimeStamp: string; safePasswordNonce: string; safePasswordSalt: string; safePasswordCustomHash: string; randomNumber: boolean; controlled: boolean; alwaysSystem: boolean; rootClass: string; rootStyle: StyleValue; modelValue: string | number; clearable: boolean; showClearOnlyFocus: boolean; showCount: boolean; inlaid: boolean; borderless: boolean; readonly: boolean; focused: boolean; minHeight: string; validateEvent: boolean; showEye: boolean; internalPrepend: number; }) => string)) | undefined; safePasswordTimeStamp?: (string | ((props: { enableNative: boolean; placeholder: string; placeholderStyle: string; placeholderClass: string; disabled: boolean; maxlength: number; focus: boolean; cursorSpacing: number; cursor: number; confirmType: "send" | "search" | "next" | "go" | "done"; confirmHold: boolean; selectionStart: number; selectionEnd: number; adjustPosition: boolean; holdKeyboard: boolean; autoBlur: boolean; ignoreComposition