import '../../../utils/index.mjs';
import { omit } from '../../../utils/lang/omit.mjs';
import { tupleNum } from '../../../utils/vue/propType.mjs';

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({ ...baseProps(), ellipsis: { type: Boolean, default: void 0 } }, ["component"]);
const paragraphProps = () => omit(baseProps(), ["component"]);
function textProps() {
  return {
    ...omit(baseProps(), ["component"]),
    ellipsis: {
      type: [Boolean, Object],
      default: void 0
    }
  };
}
const TITLE_ELE_LIST = tupleNum(1, 2, 3, 4, 5);
function titleProps() {
  return {
    ...omit(baseProps(), ["component", "strong"]),
    level: Number
  };
}
function typographyProps() {
  return {
    prefixCls: String,
    direction: String,
    // Form Internal use
    component: String
  };
}

export { TITLE_ELE_LIST, baseProps, editableProps, linkProps, paragraphProps, textProps, titleProps, typographyProps };
//# sourceMappingURL=props.mjs.map
