import { defineComponent as u, ref as l, provide as m, onMounted as g, getCurrentInstance as b, toRaw as f, onBeforeUnmount as y, openBlock as C, createElementBlock as k, watch as x } from "vue";
import { Radio as w } from "@bryntum/taskboard";
import { WrapperHelper as r } from "../helper/WrapperHelper.js";
const A = /* @__PURE__ */ u({
  __name: "BryntumRadio",
  props: {
    adopt: {},
    align: {},
    alignSelf: {},
    anchor: {},
    appendTo: {},
    ariaDescription: {},
    ariaLabel: {},
    autoCollapse: { type: Function },
    autoComplete: {},
    autoSelect: {},
    badge: {},
    bubbleEvents: {},
    callOnFunctions: {},
    catchEventHandlerExceptions: {},
    centered: {},
    checked: {},
    checkedValue: {},
    checkValidity: { type: [Function, String] },
    cls: {},
    color: {},
    column: {},
    config: {},
    constrainTo: {},
    container: {},
    containValues: { type: [String, Function] },
    contentElementCls: {},
    dataField: {},
    dataset: {},
    defaultBindProperty: {},
    detectCSSCompatibilityIssues: {},
    disabled: {},
    dock: {},
    draggable: {},
    elementAttributes: {},
    extraData: {},
    flex: {},
    floating: {},
    height: {},
    hidden: {},
    hideAnimation: {},
    highlightExternalChange: {},
    hint: { type: [String, Function] },
    hintHtml: { type: [String, Function] },
    id: {},
    ignoreParentReadOnly: {},
    inline: {},
    inputAlign: {},
    inputAttributes: {},
    inputTag: {},
    inputType: {},
    inputWidth: {},
    insertBefore: {},
    insertFirst: {},
    keyMap: {},
    keyStrokeChangeDelay: {},
    label: {},
    labelCls: {},
    labelPosition: {},
    labels: {},
    labelWidth: {},
    listeners: {},
    localeClass: {},
    localizable: {},
    localizableProperties: {},
    margin: {},
    maskDefaults: {},
    masked: {},
    maxHeight: {},
    maximizeOnMobile: {},
    maxWidth: {},
    minHeight: {},
    minWidth: {},
    monitorResize: {},
    name: {},
    positioned: {},
    preventTooltipOnTouch: {},
    readOnly: {},
    relayStoreEvents: {},
    required: {},
    revertOnEscape: {},
    ripple: {},
    role: {},
    rootElement: {},
    rtl: {},
    scrollAction: {},
    showAnimation: {},
    showRequiredIndicator: {},
    showTooltipWhenDisabled: {},
    skipValidation: {},
    span: {},
    spellCheck: {},
    tab: {},
    tabIndex: {},
    text: {},
    textAlign: {},
    title: {},
    tooltip: {},
    triggers: {},
    type: {},
    ui: {},
    uncheckedValue: {},
    validateOnInput: {},
    value: {},
    weight: {},
    width: {},
    x: {},
    y: {}
  },
  emits: ["action", "beforeChange", "beforeDestroy", "beforeHide", "beforeShow", "catchAll", "change", "clear", "click", "destroy", "elementCreated", "focusIn", "focusOut", "hide", "input", "paint", "readOnly", "recompose", "resize", "show", "trigger"],
  setup(v, { expose: s, emit: c }) {
    const d = c, i = {
      instanceClass: w,
      instanceName: "Radio",
      configNames: [
        "adopt",
        "align",
        "anchor",
        "ariaDescription",
        "ariaLabel",
        "autoCollapse",
        "autoComplete",
        "autoSelect",
        "bubbleEvents",
        "centered",
        "checkedValue",
        "checkValidity",
        "color",
        "config",
        "constrainTo",
        "container",
        "containValues",
        "contentElementCls",
        "dataField",
        "defaultBindProperty",
        "detectCSSCompatibilityIssues",
        "dock",
        "draggable",
        "elementAttributes",
        "floating",
        "hideAnimation",
        "highlightExternalChange",
        "hint",
        "hintHtml",
        "ignoreParentReadOnly",
        "inline",
        "inputAlign",
        "inputAttributes",
        "inputTag",
        "inputType",
        "inputWidth",
        "keyStrokeChangeDelay",
        "labelCls",
        "labelPosition",
        "labels",
        "labelWidth",
        "listeners",
        "localeClass",
        "localizable",
        "localizableProperties",
        "maskDefaults",
        "masked",
        "monitorResize",
        "positioned",
        "preventTooltipOnTouch",
        "relayStoreEvents",
        "revertOnEscape",
        "ripple",
        "role",
        "rootElement",
        "scrollAction",
        "showAnimation",
        "showTooltipWhenDisabled",
        "skipValidation",
        "spellCheck",
        "tab",
        "tabIndex",
        "text",
        "textAlign",
        "title",
        "type",
        "ui",
        "uncheckedValue",
        "validateOnInput",
        "weight"
      ],
      propertyConfigNames: [
        "alignSelf",
        "appendTo",
        "badge",
        "callOnFunctions",
        "catchEventHandlerExceptions",
        "checked",
        "cls",
        "column",
        "dataset",
        "disabled",
        "extraData",
        "flex",
        "height",
        "hidden",
        "id",
        "insertBefore",
        "insertFirst",
        "keyMap",
        "label",
        "margin",
        "maxHeight",
        "maximizeOnMobile",
        "maxWidth",
        "minHeight",
        "minWidth",
        "name",
        "onAction",
        "onBeforeChange",
        "onBeforeDestroy",
        "onBeforeHide",
        "onBeforeShow",
        "onCatchAll",
        "onChange",
        "onClear",
        "onClick",
        "onDestroy",
        "onElementCreated",
        "onFocusIn",
        "onFocusOut",
        "onHide",
        "onInput",
        "onPaint",
        "onReadOnly",
        "onRecompose",
        "onResize",
        "onShow",
        "onTrigger",
        "readOnly",
        "required",
        "rtl",
        "showRequiredIndicator",
        "span",
        "tooltip",
        "triggers",
        "value",
        "width",
        "x",
        "y"
      ],
      propertyNames: [
        "content",
        "editable",
        "html",
        "input",
        "parent",
        "placeholder",
        "scrollable"
      ],
      eventNames: [
        "action",
        "beforeChange",
        "beforeDestroy",
        "beforeHide",
        "beforeShow",
        "catchAll",
        "change",
        "clear",
        "click",
        "destroy",
        "elementCreated",
        "focusIn",
        "focusOut",
        "hide",
        "input",
        "paint",
        "readOnly",
        "recompose",
        "resize",
        "show",
        "trigger"
      ]
    }, e = {}, t = l(), o = l(/* @__PURE__ */ new Map());
    return m("teleports", o), g(() => {
      const n = b();
      e.value = r.createWidget({
        me: n,
        widgetData: i,
        emit: d,
        element: t.value,
        toRaw: f
      });
      const a = (p, h) => x(() => n.props[p], h);
      r.watchProps(e.value, i, a);
    }), y(() => {
      e.value?.destroy?.();
    }), s({
      instance: e,
      refElement: t,
      teleports: o
    }), (n, a) => (C(), k("div", {
      ref_key: "refElement",
      ref: t
    }, null, 512));
  }
});
export {
  A as _
};
//# sourceMappingURL=DrrginV-.js.map
