UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

25 lines (24 loc) 765 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const inputProps = { modelValue: [String, Number], size: String, prefixIcon: [String, Object], suffixIcon: [String, Object], clearable: Boolean, placeholder: String, type: String, disabled: Boolean, maxlength: [String, Number], minlength: [String, Number] }; const inputEmits = { ["update:modelValue"]: (val) => ["string", "number"].includes(typeof val), change: (val) => ["string", "number"].includes(typeof val), input: (val) => ["string", "number"].includes(typeof val), blur: (evt) => evt instanceof FocusEvent, clear: () => true, focus: (evt) => evt instanceof FocusEvent }; exports.inputEmits = inputEmits; exports.inputProps = inputProps;