'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
var Upload = require('./Upload.cjs');
var _interface = require('./interface.cjs');

var ADragger = /* @__PURE__ */ vue.defineComponent({
  compatConfig: {
    MODE: 3
  },
  name: "AUploadDragger",
  inheritAttrs: false,
  props: _interface.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 vue.createVNode(Upload.default, draggerProps, slots);
    };
  }
});

exports.default = ADragger;
//# sourceMappingURL=Dragger.cjs.map
