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/).

45 lines (44 loc) 1.75 kB
import '../mt-radio-group-indicator.css'; "use strict"; const vue = require("vue"); const _pluginVue_exportHelper = require("../_plugin-vue_export-helper-9c783a34.js"); const _hoisted_1 = ["id", "name", "value", "checked", "disabled", "required", "aria-invalid", "aria-describedby"]; const _sfc_main = /* @__PURE__ */ vue.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 vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [ vue.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] = vue.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__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-610a4a5e"]]); module.exports = MtRadioGroupIndicator; //# sourceMappingURL=MtRadioGroupIndicator.js.map