"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
;/* empty css                                               */
;/* empty css                                                      */
;/* empty css                                                */
;/* empty css                                               */
;/* empty css                                                   */
;/* empty css                                                */
const Vue = require("vue");
const index = require("../../../../node_modules/vant/es/radio-group/index.js");
const index$1 = require("../../../../node_modules/vant/es/radio/index.js");
const _sfc_main = {
  __name: "RadioGroup",
  props: {
    options: {
      type: Array,
      default: []
    },
    fieldNames: {
      type: Object,
      default: {
        text: "label",
        value: "value",
        disabled: "disabled"
      }
    }
  },
  setup(__props) {
    return (_ctx, _cache) => {
      const _component_van_radio = index$1.Radio;
      const _component_van_radio_group = index.RadioGroup;
      return Vue.openBlock(), Vue.createBlock(_component_van_radio_group, Vue.mergeProps(_ctx.$attrs, {
        shape: "round",
        class: "fec-m-radio"
      }), {
        default: Vue.withCtx(() => [
          (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(__props.options, (item) => {
            return Vue.openBlock(), Vue.createBlock(_component_van_radio, {
              name: item[__props.fieldNames.value],
              disabled: item[__props.fieldNames.disabled]
            }, {
              default: Vue.withCtx(() => [
                Vue.createTextVNode(Vue.toDisplayString(item[__props.fieldNames.text]), 1)
              ]),
              _: 2
            }, 1032, ["name", "disabled"]);
          }), 256))
        ]),
        _: 1
      }, 16);
    };
  }
};
exports.default = _sfc_main;
