UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

60 lines (59 loc) 1.23 kB
import { buildProps as i, localeProp as r, booleanStringProp as a, booleanProp as o, classProp as s, styleProp as l, sizeProp as c, eventProp as e } from "@vexip-ui/config"; const t = [Number, String], d = (n) => n === "auto" || !Number.isNaN(parseFloat(n)), g = { default: "auto", validator: d }, m = i({ locale: r("modal"), transfer: a, active: o, width: t, height: t, top: t, left: t, right: t, bottom: t, title: String, closable: o, inner: o, maskClose: o, modalClass: s, modalStyle: l, noFooter: o, hideMask: o, draggable: o, resizable: o, onBeforeClose: Function, loading: o, minWidth: Number, minHeight: Number, transitionName: String, confirmText: String, cancelText: String, actionSize: c, autoRemove: o, confirmType: String, cancelType: String, undivided: o, xOffset: t, yOffset: t, disableEsc: o, slots: Object, onToggle: e(), onConfirm: e(), onCancel: e(), onClose: e(), onShow: e(), onHide: e(), onDragStart: e(), onDragMove: e(), onDragEnd: e(), onResizeStart: e(), onResizeMove: e(), onResizeEnd: e() }); export { m as modalProps, g as positionProp, d as positionValidator }; //# sourceMappingURL=props.mjs.map