@pit-front-end/components
Version:
湖南创智艾泰克科技有限公司
86 lines (85 loc) • 1.29 kB
JavaScript
import "vue";
import { definePropType as l } from "../../../hooks/use-install/index.js";
import { useSizeProp as o } from "pit-element-plus";
const t = l([
String,
Object,
Function
]), u = {
modelValue: {
type: [String, Number],
default: ""
},
readonly: {
type: Boolean,
default: !1
},
clearable: {
type: Boolean,
default: !0
},
size: o,
disabled: {
type: Boolean,
default: !1
},
type: {
type: String,
default: "text"
},
suffixIcon: {
type: t
},
prefixIcon: {
type: t
},
min: {
type: [String, Number],
default: null
},
maxlength: {
type: Number,
default: 50
},
showWordLimit: {
type: Boolean,
default: !1
},
placeholder: {
type: String
},
enterFuc: {
type: Function,
default: () => {
}
},
data: {
type: null,
default: null
},
// 保留小数位数
bit: {
type: Number,
default: 2
},
//是否展示单位
template: {
type: String,
default: "append"
},
//是否显示逗号
showComma: {
type: Boolean,
default: !0
}
}, r = {
"update:modelValue": (e) => e,
input: (e) => e,
change: (e) => e,
blur: (e) => e,
clear: () => !0
};
export {
r as moneyInputEmits,
u as moneyInputProps
};