"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const ProgressVariantTypes = ["line", "circle"];
const ProgressSizeTypes = ["medium", "small"];
const ProgressColorTypes = ["primary", "success", "warning", "danger"];
const progressProps = {
  /**
   * 进度条类型 ProgressVariantT
   */
  variant: {
    type: String,
    default: "line"
  },
  /**
   * 进度条百分比
   */
  percentage: {
    type: Number,
    default: 0,
    validator: (val) => val >= 0 && val <= 100
  },
  /**
   * 进度条线宽
   */
  strokeWidth: {
    type: Number
  },
  /**
   * 进度条尺寸类型 ProgressSizeT
   */
  size: {
    type: String,
    default: "medium"
  },
  /**
   * 进度条颜色类型 ProgressColorT
   */
  color: {
    type: String,
    default: "primary"
  },
  /**
   * 进度条轨道宽度，当为环形进度条时，仅支持Number
   */
  trackWidth: {
    type: [Number, String]
  },
  /**
   * 格式化文字
   */
  format: {
    type: Function,
    default: (percentage) => `${percentage}%`
  },
  /**
   * 是否展示文字
   */
  showLabel: {
    type: Boolean,
    default: true
  },
  /**
   * 线形进度条，文字是否在进度条内部
   */
  labelInside: {
    type: Boolean,
    default: false
  }
};
exports.ProgressColorTypes = ProgressColorTypes;
exports.ProgressSizeTypes = ProgressSizeTypes;
exports.ProgressVariantTypes = ProgressVariantTypes;
exports.progressProps = progressProps;
