UNPKG

hongluan-ui

Version:
35 lines (32 loc) 801 B
import { NOOP } from '@vue/shared'; import '../../../utils/index.mjs'; import { uploadListTypes } from './upload2.mjs'; import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs'; import { mutable } from '../../../utils/typescript.mjs'; const uploadListProps = buildProps({ files: { type: definePropType(Array), default: () => mutable([]) }, disabled: { type: Boolean, default: false }, handlePreview: { type: definePropType(Function), default: NOOP }, listType: { type: String, values: uploadListTypes, default: "text" }, crossorigin: { type: definePropType(String) } }); const uploadListEmits = { remove: (file) => !!file }; export { uploadListEmits, uploadListProps }; //# sourceMappingURL=upload-list2.mjs.map