/**
 * ldesign v0.2.22
 * (c) 2022/12/7 16:21 built by swimly
 * @license MIT
 */

'use strict';

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

var props = {
  animation: {
    type: String,
    default: "slide",
    validator(val) {
      if (!val) return true;
      return ["slide", "fade"].includes(val);
    }
  },
  autoplay: {
    type: Boolean,
    default: true
  },
  current: {
    type: Number,
    default: 0
  },
  defaultCurrent: {
    type: Number,
    default: 0
  },
  direction: {
    type: String,
    default: "horizontal",
    validator(val) {
      if (!val) return true;
      return ["horizontal", "vertical"].includes(val);
    }
  },
  duration: {
    type: Number,
    default: 300
  },
  height: {
    type: Number
  },
  interval: {
    type: Number,
    default: 5e3
  },
  loop: {
    type: Boolean,
    default: true
  },
  navigation: {
    type: [Object, Function]
  },
  stopOnHover: {
    type: Boolean,
    default: true
  },
  theme: {
    type: String,
    default: "light",
    validator(val) {
      if (!val) return true;
      return ["light", "dark"].includes(val);
    }
  },
  trigger: {
    type: String,
    default: "hover",
    validator(val) {
      if (!val) return true;
      return ["hover", "click"].includes(val);
    }
  },
  type: {
    type: String,
    default: "default",
    validator(val) {
      if (!val) return true;
      return ["default", "card"].includes(val);
    }
  },
  onChange: Function
};

exports["default"] = props;
//# sourceMappingURL=props.js.map
