/**
 * ldesign v0.2.2
 * (c) 2022年9月20日 swimly
 * @license MIT
 */

'use strict';

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

var StepsProps = {
  current: {
    type: [String, Number]
  },
  defaultCurrent: {
    type: [String, Number]
  },
  layout: {
    type: String,
    "default": "horizontal",
    validator: function validator(val) {
      if (!val) return true;
      return ["horizontal", "vertical"].includes(val);
    }
  },
  options: {
    type: Array
  },
  readonly: Boolean,
  separator: {
    type: String,
    "default": "line",
    validator: function validator(val) {
      if (!val) return true;
      return ["line", "dashed", "arrow"].includes(val);
    }
  },
  sequence: {
    type: String,
    "default": "positive",
    validator: function validator(val) {
      if (!val) return true;
      return ["positive", "reverse"].includes(val);
    }
  },
  theme: {
    type: String,
    "default": "default",
    validator: function validator(val) {
      if (!val) return true;
      return ["default", "dot"].includes(val);
    }
  },
  onChange: Function
};
var StepsItemProps = {
  content: {
    type: [String, Function],
    "default": ""
  },
  "default": {
    type: [String, Function]
  },
  extra: {
    type: [String, Function]
  },
  icon: {
    type: [Boolean, Function],
    "default": true
  },
  status: {
    type: String,
    "default": "default",
    validator: function validator(val) {
      if (!val) return true;
      return ["default", "process", "finish", "error"].includes(val);
    }
  },
  title: {
    type: [String, Function],
    "default": ""
  },
  value: {
    type: [String, Number]
  }
};
var props = {
  StepsProps: StepsProps,
  StepsItemProps: StepsItemProps
};

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