{"version":3,"file":"upload-dragger.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.ts"],"sourcesContent":["import { buildProps } from '@sgui-plus/utils/props'\r\nimport { isArray } from '@sgui-plus/utils/util'\r\n\r\nimport type { ExtractPropTypes } from 'vue'\r\nimport type UploadDragger from './upload-dragger.vue'\r\n\r\nexport const uploadDraggerProps = buildProps({\r\n  disabled: {\r\n    type: Boolean,\r\n    default: false,\r\n  },\r\n} as const)\r\nexport type UploadDraggerProps = ExtractPropTypes<typeof uploadDraggerProps>\r\n\r\nexport const uploadDraggerEmits = {\r\n  file: (file: File[]) => isArray(file),\r\n}\r\nexport type UploadDraggerEmits = typeof uploadDraggerEmits\r\n\r\nexport type UploadDraggerInstance = InstanceType<typeof UploadDragger>\r\n"],"names":[],"mappings":";;;;AAEY,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,IAAI,EAAE,CAAC,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC;AAC/B;;;;"}