import '../../../utils/index.mjs';
import { buildProps, definePropType } from '../../../utils/props/runtime.mjs';

"use strict";
const numberRangeProps = buildProps({
  value: {
    type: definePropType([Array, null]),
    default: () => []
  },
  min: Number,
  max: Number,
  minMaxRange: {
    type: Array,
    default: () => []
  },
  precision: {
    type: definePropType(Number)
  },
  disabled: {
    type: Boolean,
    default: false
  },
  placeholder: {
    type: Array,
    default: () => ["\u6700\u5C0F\u503C", "\u6700\u5927\u503C"]
  },
  // 最小值占位符
  startPlaceholder: {
    type: String,
    default: ""
  },
  // 最大值占位符
  endPlaceholder: {
    type: String,
    default: ""
  },
  // 间隔符
  separator: {
    type: String,
    default: "-"
  },
  // 校准起始与结束值大小
  calibrateSize: {
    type: Boolean,
    default: true
  },
  isGray: {
    type: Boolean,
    default: false
  },
  step: {
    type: definePropType([Number, String]),
    default: 1
  },
  size: String
});
const numberRangeEmits = {
  change: (value) => !!value || typeof value === "number",
  "update:value": (value) => !!value || typeof value === "number"
};

export { numberRangeEmits, numberRangeProps };
//# sourceMappingURL=number-range.mjs.map
