UNPKG

@extclp/vexip-ui

Version:

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

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