import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
import { S as StyledHost } from './styled-host.js';
import { d as defineCustomElement$3 } from './form-control-help-text3.js';
import { d as defineCustomElement$2 } from './form-control-radio2.js';
import { d as defineCustomElement$1 } from './radio-list-item2.js';

const JustifiRadioListItem = /*@__PURE__*/ proxyCustomElement(class JustifiRadioListItem extends HTMLElement {
    constructor(registerHost) {
        super();
        if (registerHost !== false) {
            this.__registerHost();
        }
        this.__attachShadow();
        this.radioClick = createEvent(this, "radio-click", 7);
        this.checked = false;
        this.hidden = false;
    }
    render() {
        return (h(StyledHost, { key: '02955940079320bd9c6bf94e239545385ac36458' }, h("radio-list-item", { key: 'fc6b98e456e4326b843b2b3248b7327436767cf4', name: this.name, value: this.value, label: this.label, checked: this.checked, hidden: this.hidden, class: this.class, "onRadio-click": (e) => this.radioClick.emit(e.detail) })));
    }
}, [257, "justifi-radio-list-item", {
        "name": [1],
        "value": [1],
        "label": [8],
        "checked": [4],
        "hidden": [4],
        "class": [1]
    }]);
function defineCustomElement() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["justifi-radio-list-item", "form-control-help-text", "form-control-radio", "radio-list-item"];
    components.forEach(tagName => { switch (tagName) {
        case "justifi-radio-list-item":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, JustifiRadioListItem);
            }
            break;
        case "form-control-help-text":
            if (!customElements.get(tagName)) {
                defineCustomElement$3();
            }
            break;
        case "form-control-radio":
            if (!customElements.get(tagName)) {
                defineCustomElement$2();
            }
            break;
        case "radio-list-item":
            if (!customElements.get(tagName)) {
                defineCustomElement$1();
            }
            break;
    } });
}
defineCustomElement();

export { JustifiRadioListItem as J, defineCustomElement as d };
