/**
 * ldesign v0.2.22
 * (c) 2022/12/7 16:21 built by swimly
 * @license MIT
 */

import { getClassPrefixMixins } from '../config-provider/config-receiver.js';
import mixins from '../../utils/mixins.js';
import 'vue';
import 'lodash/mergeWith';
import '../config-provider/context.js';
import 'lodash/merge';
import '../../_chunks/dep-b4fd1955.js';

const classPrefixMixins = getClassPrefixMixins("slider");
var LSliderMark = mixins(classPrefixMixins).extend({
  name: "LSliderMark",
  props: {
    mark: {
      type: [Object, Array, String]
    },
    point: {
      type: Number
    }
  },
  methods: {
    changeValue(event) {
      event.stopPropagation();
      this.$emit("change-value", this.point);
    }
  },
  render() {
    const h = arguments[0];
    const label = this.mark;
    return h("div", {
      "class": `${this.componentName}__mark-text`,
      "on": {
        "click": this.changeValue
      }
    }, [label]);
  }
});

export { LSliderMark as default };
//# sourceMappingURL=mark.js.map
