ivue-material-plus
Version:
A high quality UI components Library with Vue.js
39 lines (36 loc) • 1.81 kB
JavaScript
import _sfc_main from './index.vue_vue_type_script_lang.mjs';
import { openBlock, createElementBlock, normalizeClass, createCommentVNode, createElementVNode, normalizeStyle, renderSlot, createTextVNode, toDisplayString } from 'vue';
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
const _hoisted_1 = ["name", "disabled"];
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return openBlock(), createElementBlock("label", {
class: normalizeClass(_ctx.wrapperClasses)
}, [
createCommentVNode(" \u5706\u70B9 "),
createElementVNode("span", {
class: normalizeClass(_ctx.contentClasses)
}, [
createElementVNode("span", {
class: normalizeClass(_ctx.innerClasses),
style: normalizeStyle(_ctx.innerStyles)
}, null, 6),
createCommentVNode(" \u8F93\u5165\u6846 "),
createElementVNode("input", {
type: "radio",
class: normalizeClass(_ctx.inputClasses),
name: _ctx.data.groupName,
disabled: _ctx.inputDisabled,
onChange: _cache[0] || (_cache[0] = (...args) => _ctx.handleChange && _ctx.handleChange(...args)),
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args))
}, null, 42, _hoisted_1)
], 2),
createCommentVNode(" \u5185\u5BB9 "),
renderSlot(_ctx.$slots, "default", {}, () => [
createTextVNode(toDisplayString(_ctx.label), 1)
])
], 2);
}
var Radio = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\louise\\person\\project\\GitHub\\ivue-ui-plus\\src\\components\\ivue-radio\\index.vue"]]);
export { Radio as default };
//# sourceMappingURL=index2.mjs.map