import '../../../utils/index.mjs';
import { stringType, objectType } from '../../../utils/vue/propType.mjs';

function qrProps() {
  return {
    size: { type: Number, default: 160 },
    value: { type: String, required: true },
    type: stringType("canvas"),
    color: String,
    bgColor: String,
    includeMargin: Boolean,
    imageSettings: objectType()
  };
}
function qrcodeProps() {
  return {
    ...qrProps(),
    errorLevel: stringType("M"),
    icon: String,
    iconSize: { type: Number, default: 40 },
    status: stringType("active"),
    bordered: { type: Boolean, default: true }
  };
}
function qrcodeCanvasProps() {
  return {
    ...qrProps(),
    level: String,
    bgColor: String,
    fgColor: String,
    marginSize: Number
  };
}
function qrcodeSvgProps() {
  return {
    ...qrProps(),
    color: String,
    level: String,
    bgColor: String,
    fgColor: String,
    marginSize: Number,
    title: String
  };
}

export { qrProps, qrcodeCanvasProps, qrcodeProps, qrcodeSvgProps };
//# sourceMappingURL=props.mjs.map
