custom-el-slider-marker.js 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. exports.ids = [9];
  2. exports.modules = {
  3. /***/ 159:
  4. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5. "use strict";
  6. // ESM COMPAT FLAG
  7. __webpack_require__.r(__webpack_exports__);
  8. // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/custom-el-slider/marker.vue?vue&type=template&id=2674734e
  9. var render = function render() {
  10. var _vm = this,
  11. _c = _vm._self._c;
  12. return _c('div', {
  13. staticClass: "el-slider__marks-text",
  14. staticStyle: {},
  15. on: {
  16. "click": function ($event) {
  17. $event.stopPropagation();
  18. return _vm.onMarkClick.apply(null, arguments);
  19. }
  20. }
  21. }, [_vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.label) + "\n"))]);
  22. };
  23. var staticRenderFns = [];
  24. // CONCATENATED MODULE: ./components/custom-el-slider/marker.vue?vue&type=template&id=2674734e
  25. // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/custom-el-slider/marker.vue?vue&type=script&lang=js
  26. /* harmony default export */ var markervue_type_script_lang_js = ({
  27. name: 'ElMarker',
  28. props: {
  29. mark: {
  30. type: [String, Object]
  31. }
  32. },
  33. data() {
  34. return {
  35. label: ''
  36. };
  37. },
  38. mounted() {
  39. this.label = typeof this.mark === 'string' ? this.mark : this.mark.label;
  40. },
  41. methods: {
  42. onMarkClick(e) {
  43. this.$emit('click');
  44. }
  45. }
  46. });
  47. // CONCATENATED MODULE: ./components/custom-el-slider/marker.vue?vue&type=script&lang=js
  48. /* harmony default export */ var custom_el_slider_markervue_type_script_lang_js = (markervue_type_script_lang_js);
  49. // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
  50. var componentNormalizer = __webpack_require__(2);
  51. // CONCATENATED MODULE: ./components/custom-el-slider/marker.vue
  52. /* normalize component */
  53. var component = Object(componentNormalizer["a" /* default */])(
  54. custom_el_slider_markervue_type_script_lang_js,
  55. render,
  56. staticRenderFns,
  57. false,
  58. null,
  59. null,
  60. "04536480"
  61. )
  62. /* harmony default export */ var marker = __webpack_exports__["default"] = (component.exports);
  63. /***/ })
  64. };;
  65. //# sourceMappingURL=custom-el-slider-marker.js.map