UNPKG

cione-comp-lib

Version:

`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`

32 lines (31 loc) 1.1 kB
import { openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, toDisplayString, mergeProps } from "vue"; import style0 from "./Range.vue_used_vue_type_style_index_0_lang.module.mjs"; import _export_sfc from "../../../../_virtual/plugin-vue_export-helper.mjs"; const _sfc_main = { name: "Range", inheritAttrs: false, props: { label: { type: String, required: true } } }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createElementBlock("div", { class: normalizeClass(_ctx.$style.range) }, [ createElementVNode("label", { onContextmenu: _cache[0] || (_cache[0] = withModifiers(() => { }, ["prevent"])) }, [ createElementVNode("span", null, toDisplayString($props.label), 1), createElementVNode("input", mergeProps(_ctx.$attrs, { type: "range" }), null, 16) ], 32) ], 2); } const cssModules = { "$style": style0 }; var Range = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__cssModules", cssModules]]); export { Range as default };