UNPKG

adverich-kun-ui

Version:

Una librería de componentes Vue.js con Tailwind CSS

56 lines (55 loc) 2.15 kB
const e = { // Core modelValue: { type: [Number, String], default: null }, type: { type: String, default: "text" }, placeholder: { type: String, default: "" }, label: { type: String, default: "" }, dirty: { type: Boolean, default: !1 }, // Decoradores prefix: { type: String, default: "" }, suffix: { type: String, default: "" }, prependIcon: String, appendIcon: String, // Estilo y diseño rounded: { type: String, default: "rounded" }, borderColor: { type: String, default: "border-gray-300 dark:border-gray-700" }, textColor: { type: String, default: "text-black dark:text-white" }, labelColor: { type: String, default: "text-black/80 dark:text-white/80" }, placeholderColor: { type: String, default: "placeholder-black/60 dark:placeholder-white/60" }, bgInput: { type: String, default: "bg-field-background" }, textCenter: { type: Boolean, default: !1 }, controlVariant: { type: String, default: "default" }, noArrows: { type: Boolean, default: !1 }, density: { type: String, default: "default" }, // Estado error: { type: Boolean, default: !1 }, errorMessages: [String, Array], rules: { type: Array, default: () => [] }, disabled: { type: Boolean, default: !1 }, readonly: { type: Boolean, default: !1 }, clearable: { type: Boolean, default: !1 }, maxlength: { type: [Number, String], default: null }, counter: { type: Boolean, default: !1 }, debounce: { type: Number, default: 300 }, // Ayuda y detalles hint: { type: String, default: "" }, persistentHint: { type: Boolean, default: !1 }, hideDetails: { type: Boolean, default: !1 }, validateOnBlur: { type: Boolean, default: !1 }, // Reglas numéricas min: { type: [Number, String], default: -1 / 0 }, max: { type: [Number, String], default: 1 / 0 }, step: { type: [Number, String], default: 1 }, locale: { type: String, default: null }, separator: { type: String, default: "," }, useGrouping: { type: Boolean, default: !0 }, precision: { type: [Number, String], default: 2 }, formatMode: { type: String, default: "natural" // 'bank' | 'natural' } }; export { e as KunNumberFieldProps };