{
  "mixins": ["components/slider/use-slider"],

  "meta": {
    "docsUrl": "https://v2.quasar.dev/vue-components/range"
  },

  "props": {
    "model-value": {
      "extends": "model-value",
      "type": ["Object", "null", "undefined"],
      "desc": "Model of the component of type { min, max } (both values must be between global min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
      "definition": {
        "min": {
          "type": ["Number", "null"],
          "desc": "Model value for left thumb"
        },
        "max": {
          "type": ["Number", "null"],
          "desc": "Model value for right thumb"
        }
      },
      "default": "{ min: null, max: null }",
      "examples": ["# v-model=\"positionModel\""]
    },

    "min-range": {
      "type": "Number",
      "desc": "Minimum difference allowed between the model's 'max' and 'min' (the width of the selection); The model gets coerced to satisfy it, just like with 'inner-min'/'inner-max'; Capped to the inner track's length; Wins over 'max-range' should the two conflict",
      "examples": ["# :min-range=\"2\""],
      "category": "model",
      "addedIn": "v2.26"
    },

    "max-range": {
      "type": "Number",
      "desc": "Maximum difference allowed between the model's 'max' and 'min' (the width of the selection); The model gets coerced to satisfy it, just like with 'inner-min'/'inner-max'; Capped to the inner track's length",
      "examples": ["# :max-range=\"5\""],
      "category": "model",
      "addedIn": "v2.26"
    },

    "drag-range": {
      "type": "Boolean",
      "desc": "User can drag range instead of just the two thumbs",
      "category": "content"
    },

    "drag-only-range": {
      "type": "Boolean",
      "desc": "User can drag only the range instead and NOT the two thumbs",
      "category": "content"
    },

    "left-label-color": {
      "extends": "color",
      "desc": "Color name for left label background from the Quasar Color Palette",
      "category": "labels"
    },

    "left-label-text-color": {
      "extends": "color",
      "desc": "Color name for left label text from the Quasar Color Palette",
      "category": "labels"
    },

    "right-label-color": {
      "extends": "color",
      "desc": "Color name for right label background from the Quasar Color Palette",
      "category": "labels"
    },

    "right-label-text-color": {
      "extends": "color",
      "desc": "Color name for right label text from the Quasar Color Palette",
      "category": "labels"
    },

    "left-label-value": {
      "type": ["String", "Number"],
      "desc": "Override default label for min value",
      "examples": ["# :left-label-value=\"model.min + 'px'\""],
      "category": "labels"
    },

    "right-label-value": {
      "type": ["String", "Number"],
      "desc": "Override default label for max value",
      "examples": ["# :right-label-value=\"model.max + 'px'\""],
      "category": "labels"
    },

    "left-thumb-color": {
      "extends": "color",
      "desc": "Color name (from the Quasar Color Palette) for left thumb",
      "category": "labels",
      "addedIn": "v2.4"
    },

    "right-thumb-color": {
      "extends": "color",
      "desc": "Color name (from the Quasar Color Palette) for right thumb",
      "category": "labels",
      "addedIn": "v2.4"
    },

    "left-thumb-aria-label": {
      "type": "String",
      "desc": "Aria-label for the left (minimum-value) thumb; Overrides the default label taken from the Quasar Language Pack ('label.minimum')",
      "examples": ["'Lowest price'"],
      "category": "accessibility",
      "addedIn": "v2.25"
    },

    "right-thumb-aria-label": {
      "type": "String",
      "desc": "Aria-label for the right (maximum-value) thumb; Overrides the default label taken from the Quasar Language Pack ('label.maximum')",
      "examples": ["'Highest price'"],
      "category": "accessibility",
      "addedIn": "v2.25"
    }
  },

  "events": {
    "update:model-value": {
      "extends": "update:model-value"
    }
  }
}
