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

'use strict';

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

var AnchorProps = {
  affixProps: {
    type: Object
  },
  bounds: {
    type: Number,
    "default": 5
  },
  container: {
    type: [String, Function],
    "default": function _default() {
      return function () {
        return window;
      };
    }
  },
  cursor: {
    type: Function
  },
  size: {
    type: String,
    "default": "medium",
    validator: function validator(val) {
      return ["small", "medium", "large"].includes(val);
    }
  },
  targetOffset: {
    type: Number,
    "default": 0
  },
  onChange: Function,
  onClick: Function
};
var AnchorTargetProps = {
  id: {
    type: String,
    "default": "",
    required: true
  },
  tag: {
    type: String,
    "default": "div"
  }
};
var AnchorItemProps = {
  href: {
    type: String,
    "default": "",
    required: true
  },
  target: {
    type: String,
    "default": "_self",
    validator: function validator(val) {
      return ["_self", "_blank", "_parent", "_top"].includes(val);
    }
  },
  title: {
    type: [String, Function],
    "default": ""
  }
};
var props = {
  AnchorProps: AnchorProps,
  AnchorItemProps: AnchorItemProps,
  AnchorTargetProps: AnchorTargetProps
};

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