UNPKG

vexip-ui

Version:

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

83 lines (82 loc) 1.67 kB
import { buildProps as n, eventProp as o, styleProp as t, booleanProp as e, iconProp as i, localeProp as r, stateProp as l } from "@vexip-ui/config"; const a = n({ state: l, locale: r("upload"), url: String, fileList: Array, multiple: e, tip: String, accept: [String, Array], filter: [String, Array], maxSize: Number, field: String, data: Object, headers: Object, withCredentials: e, manual: e, hiddenFiles: e, countLimit: Number, allowDrag: e, onBeforeUpload: Function, onBeforeSelect: Function, iconRenderer: Function, selectToAdd: e, listType: String, block: e, loadingText: String, directory: e, pathField: String, disabledClick: e, buttonLabel: String, disabled: e, loading: e, loadingIcon: i, loadingLock: e, loadingEffect: String, image: e, defaultFiles: Array, canPreview: Function, listStyle: t, name: String, customFetch: Function, slots: Object, onExceed: o(), onChange: o(), onFilterError: o(), onSizeError: o(), onDelete: o(), onPreview: o(), onProgress: o(), onSuccess: o(), onError: o() }), s = n({ files: Array, selectToAdd: e, iconRenderer: Function, type: String, loadingText: String, style: t, precision: Number, canPreview: Function, slots: Object, onDelete: o(), onPreview: o() }), d = n({ locale: r("upload"), file: Object, iconRenderer: Function, listType: String, loadingText: String, selectToAdd: e, precision: Number, canPreview: Function, slots: Object, onDelete: o(), onPreview: o() }); export { d as uploadFileProps, s as uploadListProps, a as uploadProps }; //# sourceMappingURL=props.mjs.map