@pit-front-end/components
Version:
湖南创智艾泰克科技有限公司
59 lines (58 loc) • 924 B
JavaScript
import "vue";
import { definePropType as o } from "../../../hooks/use-install/index.js";
import { useSizeProp as l } from "pit-element-plus";
const t = o([
String,
Object,
Function
]), a = {
modelValue: {
type: [Number, String, null, void 0],
default: ""
},
readonly: {
type: Boolean,
default: !1
},
maxlength: {
type: [String, Number],
default: 200
},
showWordLimit: {
type: Boolean,
default: null
},
clearable: {
type: Boolean,
default: !0
},
size: l,
disabled: {
type: Boolean,
default: !1
},
placeholder: {
type: String
},
type: {
type: String,
default: "text"
},
suffixIcon: {
type: t
},
prefixIcon: {
type: t
}
}, u = {
"update:modelValue": (e) => !0,
input: (e) => e,
change: (e) => e,
blur: (e) => e,
clear: () => !0
};
export {
t as iconPropType,
u as inputEmits,
a as inputProps
};