import { defineComponent, createVNode } from 'vue';
import AUpload from './Upload.mjs';
import { uploadProps } from './interface.mjs';

var ADragger = /* @__PURE__ */ defineComponent({
  compatConfig: {
    MODE: 3
  },
  name: "AUploadDragger",
  inheritAttrs: false,
  props: uploadProps(),
  setup(props, {
    slots,
    attrs
  }) {
    return () => {
      const {
        height,
        ...restProps
      } = props;
      const {
        style,
        ...restAttrs
      } = attrs;
      const draggerProps = {
        ...restProps,
        ...restAttrs,
        type: "drag",
        style: {
          ...style,
          height: typeof height === "number" ? `${height}px` : height
        }
      };
      return createVNode(AUpload, draggerProps, slots);
    };
  }
});

export { ADragger as default };
//# sourceMappingURL=Dragger.mjs.map
