1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| import { NOOP } from '@vue/shared';
| import '../../../utils/index.mjs';
| import { uploadListTypes } from './upload.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"
| }
| });
| const uploadListEmits = {
| remove: (file) => !!file
| };
|
| export { uploadListEmits, uploadListProps };
| //# sourceMappingURL=upload-list.mjs.map
|
|