'use strict';

require('../../../utils/index.cjs');
var omit = require('../../../utils/lang/omit.cjs');
var propType = require('../../../utils/vue/propType.cjs');

function baseProps() {
  return {
    "editable": {
      type: [Boolean, Object],
      default: void 0
    },
    "copyable": {
      type: [Boolean, Object],
      default: void 0
    },
    "prefixCls": String,
    "component": String,
    "type": String,
    "disabled": { type: Boolean, default: void 0 },
    "ellipsis": {
      type: [Boolean, Object],
      default: void 0
    },
    "code": { type: Boolean, default: void 0 },
    "mark": { type: Boolean, default: void 0 },
    "underline": { type: Boolean, default: void 0 },
    "delete": { type: Boolean, default: void 0 },
    "strong": { type: Boolean, default: void 0 },
    "keyboard": { type: Boolean, default: void 0 },
    "content": String,
    "onUpdate:content": Function
  };
}
function editableProps() {
  return {
    prefixCls: String,
    value: String,
    maxlength: Number,
    autoSize: { type: [Boolean, Object] },
    onSave: Function,
    onCancel: Function,
    onEnd: Function,
    onChange: Function,
    originContent: String,
    direction: String,
    component: String
  };
}
const linkProps = () => omit.omit({ ...baseProps(), ellipsis: { type: Boolean, default: void 0 } }, ["component"]);
const paragraphProps = () => omit.omit(baseProps(), ["component"]);
function textProps() {
  return {
    ...omit.omit(baseProps(), ["component"]),
    ellipsis: {
      type: [Boolean, Object],
      default: void 0
    }
  };
}
const TITLE_ELE_LIST = propType.tupleNum(1, 2, 3, 4, 5);
function titleProps() {
  return {
    ...omit.omit(baseProps(), ["component", "strong"]),
    level: Number
  };
}
function typographyProps() {
  return {
    prefixCls: String,
    direction: String,
    // Form Internal use
    component: String
  };
}

exports.TITLE_ELE_LIST = TITLE_ELE_LIST;
exports.baseProps = baseProps;
exports.editableProps = editableProps;
exports.linkProps = linkProps;
exports.paragraphProps = paragraphProps;
exports.textProps = textProps;
exports.titleProps = titleProps;
exports.typographyProps = typographyProps;
//# sourceMappingURL=props.cjs.map
