UNPKG

@shopware-ag/meteor-component-library

Version:

The meteor component library is a Vue component library developed by Shopware. It is based on the [Meteor Design System](https://shopware.design/).

46 lines (45 loc) 1.76 kB
import '../mt-radio-group-indicator.css'; import { defineComponent, openBlock, createElementBlock, Fragment, createElementVNode } from "vue"; import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.mjs"; const _hoisted_1 = ["id", "name", "value", "checked", "disabled", "required", "aria-invalid", "aria-describedby"]; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "mt-radio-group-indicator", props: { id: {}, name: {}, value: { type: [String, Number, Boolean] }, checked: { type: Boolean }, disabled: { type: Boolean, default: false }, required: { type: Boolean, default: false }, ariaDescribedBy: { default: void 0 }, error: { type: Boolean, default: false } }, setup(__props) { return (_ctx, _cache) => { return openBlock(), createElementBlock(Fragment, null, [ createElementVNode("input", { id: _ctx.id, name: _ctx.name, class: "mt-radio-group-indicator__input", type: "radio", value: _ctx.value, checked: _ctx.checked, disabled: _ctx.disabled, required: _ctx.required, "aria-invalid": _ctx.error || void 0, "aria-describedby": _ctx.ariaDescribedBy }, null, 8, _hoisted_1), _cache[0] || (_cache[0] = createElementVNode("span", { class: "mt-radio-group-indicator__control", "aria-hidden": "true" }, null, -1)) ], 64); }; } }); const mtRadioGroupIndicator_vue_vue_type_style_index_0_scoped_610a4a5e_lang = ""; const MtRadioGroupIndicator = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-610a4a5e"]]); export { MtRadioGroupIndicator as default }; //# sourceMappingURL=MtRadioGroupIndicator.js.map