'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');

const _hoisted_1 = ["aria-checked", "aria-disabled"];
const _hoisted_2 = ["value", "name"];
function render(_ctx, _cache, $props, $setup, $data, $options) {
  const _component_ElImage = vue.resolveComponent("ElImage");
  return vue.openBlock(), vue.createElementBlock("label", {
    class: vue.normalizeClass(["el-radio-item", {
      "is-checked": _ctx.value === _ctx.label
    }]),
    role: "radio",
    "aria-checked": _ctx.value === _ctx.label,
    "aria-disabled": _ctx.isDisabled,
    onKeydown: _cache[4] || (_cache[4] = vue.withKeys(vue.withModifiers(($event) => _ctx.value = _ctx.isDisabled ? _ctx.value : _ctx.label, ["stop", "prevent"]), ["space"]))
  }, [
    vue.withDirectives(vue.createElementVNode("input", {
      ref: "radioRef",
      "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.value = $event),
      class: "el-radio-item__original-radio",
      value: _ctx.label,
      type: "radio",
      name: _ctx.name,
      onFocus: _cache[1] || (_cache[1] = ($event) => _ctx.focus = true),
      onBlur: _cache[2] || (_cache[2] = ($event) => _ctx.focus = false)
    }, null, 40, _hoisted_2), [
      [vue.vModelRadio, _ctx.value]
    ]),
    vue.createVNode(_component_ElImage, {
      src: _ctx.iconUrl,
      class: "el-radio-item__pic"
    }, null, 8, ["src"]),
    vue.createElementVNode("span", {
      class: "el-radio-item__label",
      onKeydown: _cache[3] || (_cache[3] = vue.withModifiers(() => {
      }, ["stop"]))
    }, [
      vue.renderSlot(_ctx.$slots, "default", {}, () => [
        vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
      ])
    ], 32)
  ], 42, _hoisted_1);
}

exports.render = render;
//# sourceMappingURL=radio-item.vue_vue_type_template_id_d3feb0ee_lang.js.map
