/**
 * tdesign v0.39.1-alpha.1
 * (c) 2022 tdesign
 * @license MIT
 */

import Vue from 'vue';
import { prefix } from '../config.js';

var TSliderMark = Vue.extend({
  name: "TSliderMark",
  props: {
    mark: {
      type: [Object, Array, String]
    },
    point: {
      type: Number
    }
  },
  methods: {
    changeValue: function changeValue(event) {
      event.stopPropagation();
      this.$emit("change-value", this.point);
    }
  },
  render: function render() {
    var h = arguments[0];
    var label = this.mark;
    return h("div", {
      "class": "".concat(prefix, "-slider__mark-text"),
      "on": {
        "click": this.changeValue
      }
    }, [label]);
  }
});

export { TSliderMark as default };
//# sourceMappingURL=slider-mark.js.map
