import { defineComponent as h, ref as o, provide as u, onMounted as g, getCurrentInstance as y, toRaw as b, onBeforeUnmount as f, openBlock as k, createElementBlock as v, watch as x } from "vue";
import { BooleanCombo as S } from "@bryntum/taskboard";
import { WrapperHelper as r } from "../helper/WrapperHelper.js";
const F = /* @__PURE__ */ h({
  __name: "BryntumBooleanCombo",
  props: {
    adopt: {},
    align: {},
    alignSelf: {},
    anchor: {},
    appendTo: {},
    ariaDescription: {},
    ariaLabel: {},
    autoComplete: {},
    autoExpand: {},
    autoSelect: {},
    badge: {},
    bubbleEvents: {},
    cacheLastResult: {},
    callOnFunctions: {},
    caseSensitive: {},
    catchEventHandlerExceptions: {},
    centered: {},
    checkValidity: { type: [Function, String] },
    chipView: {},
    clearable: {},
    clearTextOnPickerHide: {},
    clearTextOnSelection: {},
    clearWhenInputEmpty: {},
    cls: {},
    color: {},
    column: {},
    config: {},
    constrainTo: {},
    container: {},
    containValues: { type: [String, Function] },
    contentElementCls: {},
    createOnUnmatched: { type: [Function, String] },
    dataField: {},
    dataset: {},
    defaultBindProperty: {},
    detectCSSCompatibilityIssues: {},
    disabled: {},
    displayField: {},
    displayValueRenderer: { type: Function },
    dock: {},
    draggable: {},
    editable: {},
    elementAttributes: {},
    emptyText: {},
    encodeFilterParams: { type: Function },
    extraData: {},
    filterOnEnter: {},
    filterOperator: {},
    filterParamName: {},
    filterSelected: {},
    flex: {},
    floating: {},
    height: {},
    hidden: {},
    hideAnimation: {},
    hidePickerOnSelect: {},
    hideTrigger: {},
    highlightExternalChange: {},
    hint: { type: [String, Function] },
    hintHtml: { type: [String, Function] },
    id: {},
    ignoreParentReadOnly: {},
    inline: {},
    inlinePicker: {},
    inputAlign: {},
    inputAttributes: {},
    inputTag: {},
    inputType: {},
    inputWidth: {},
    insertBefore: {},
    insertFirst: {},
    items: {},
    keyMap: {},
    keyStrokeChangeDelay: {},
    keyStrokeFilterDelay: {},
    label: {},
    labelCls: {},
    labelPosition: {},
    labels: {},
    labelWidth: {},
    listCls: {},
    listeners: {},
    listItemTpl: { type: Function },
    localeClass: {},
    localizable: {},
    localizableProperties: {},
    margin: {},
    maskDefaults: {},
    masked: {},
    maxHeight: {},
    maximizeOnMobile: {},
    maxLength: {},
    maxWidth: {},
    minChars: {},
    minHeight: {},
    minLength: {},
    minWidth: {},
    monitorResize: {},
    multiSelect: {},
    multiValueSeparator: {},
    name: {},
    negativeText: {},
    negativeValue: {},
    overlayAnchor: {},
    picker: {},
    pickerAlignElement: {},
    pickerWidth: {},
    placeholder: {},
    positioned: {},
    positiveText: {},
    positiveValue: {},
    preventTooltipOnTouch: {},
    primaryFilter: {},
    readOnly: {},
    relayStoreEvents: {},
    rendition: {},
    required: {},
    revertOnEscape: {},
    ripple: {},
    role: {},
    rootElement: {},
    rtl: {},
    scrollAction: {},
    showAnimation: {},
    showRequiredIndicator: {},
    showTooltipWhenDisabled: {},
    skipValidation: {},
    span: {},
    spellCheck: {},
    store: {},
    tab: {},
    tabIndex: {},
    textAlign: {},
    title: {},
    tooltip: {},
    triggerAction: {},
    triggers: {},
    type: {},
    ui: {},
    validateFilter: {},
    validateOnInput: {},
    value: {},
    valueField: {},
    weight: {},
    width: {},
    x: {},
    y: {}
  },
  emits: ["action", "beforeDestroy", "beforeHide", "beforeShow", "catchAll", "change", "clear", "destroy", "elementCreated", "focusIn", "focusOut", "hide", "input", "paint", "readOnly", "recompose", "resize", "select", "show", "trigger"],
  setup(C, { expose: s, emit: c }) {
    const p = c, n = {
      instanceClass: S,
      instanceName: "BooleanCombo",
      configNames: [
        "adopt",
        "align",
        "anchor",
        "ariaDescription",
        "ariaLabel",
        "autoComplete",
        "autoExpand",
        "autoSelect",
        "bubbleEvents",
        "cacheLastResult",
        "caseSensitive",
        "centered",
        "checkValidity",
        "chipView",
        "clearable",
        "clearTextOnPickerHide",
        "clearTextOnSelection",
        "clearWhenInputEmpty",
        "color",
        "config",
        "constrainTo",
        "container",
        "containValues",
        "contentElementCls",
        "createOnUnmatched",
        "dataField",
        "defaultBindProperty",
        "detectCSSCompatibilityIssues",
        "displayField",
        "displayValueRenderer",
        "dock",
        "draggable",
        "elementAttributes",
        "emptyText",
        "encodeFilterParams",
        "filterOnEnter",
        "filterParamName",
        "filterSelected",
        "floating",
        "hideAnimation",
        "hidePickerOnSelect",
        "hideTrigger",
        "highlightExternalChange",
        "hint",
        "hintHtml",
        "ignoreParentReadOnly",
        "inline",
        "inlinePicker",
        "inputAlign",
        "inputAttributes",
        "inputTag",
        "inputType",
        "inputWidth",
        "items",
        "keyStrokeChangeDelay",
        "keyStrokeFilterDelay",
        "labelCls",
        "labelPosition",
        "labels",
        "labelWidth",
        "listCls",
        "listeners",
        "listItemTpl",
        "localeClass",
        "localizable",
        "localizableProperties",
        "maskDefaults",
        "masked",
        "maxLength",
        "minChars",
        "minLength",
        "monitorResize",
        "multiValueSeparator",
        "name",
        "negativeText",
        "negativeValue",
        "overlayAnchor",
        "pickerAlignElement",
        "pickerWidth",
        "positioned",
        "positiveText",
        "positiveValue",
        "preventTooltipOnTouch",
        "primaryFilter",
        "relayStoreEvents",
        "revertOnEscape",
        "ripple",
        "role",
        "rootElement",
        "scrollAction",
        "showAnimation",
        "showTooltipWhenDisabled",
        "skipValidation",
        "spellCheck",
        "tab",
        "tabIndex",
        "textAlign",
        "title",
        "triggerAction",
        "type",
        "ui",
        "validateFilter",
        "validateOnInput",
        "valueField",
        "weight"
      ],
      propertyConfigNames: [
        "alignSelf",
        "appendTo",
        "badge",
        "callOnFunctions",
        "catchEventHandlerExceptions",
        "cls",
        "column",
        "dataset",
        "disabled",
        "editable",
        "extraData",
        "filterOperator",
        "flex",
        "height",
        "hidden",
        "id",
        "insertBefore",
        "insertFirst",
        "keyMap",
        "label",
        "margin",
        "maxHeight",
        "maximizeOnMobile",
        "maxWidth",
        "minHeight",
        "minWidth",
        "multiSelect",
        "onAction",
        "onBeforeDestroy",
        "onBeforeHide",
        "onBeforeShow",
        "onCatchAll",
        "onChange",
        "onClear",
        "onDestroy",
        "onElementCreated",
        "onFocusIn",
        "onFocusOut",
        "onHide",
        "onInput",
        "onPaint",
        "onReadOnly",
        "onRecompose",
        "onResize",
        "onSelect",
        "onShow",
        "onTrigger",
        "picker",
        "placeholder",
        "readOnly",
        "rendition",
        "required",
        "rtl",
        "showRequiredIndicator",
        "span",
        "store",
        "tooltip",
        "triggers",
        "value",
        "width",
        "x",
        "y"
      ],
      propertyNames: [
        "content",
        "formula",
        "html",
        "input",
        "parent",
        "scrollable"
      ],
      eventNames: [
        "action",
        "beforeDestroy",
        "beforeHide",
        "beforeShow",
        "catchAll",
        "change",
        "clear",
        "destroy",
        "elementCreated",
        "focusIn",
        "focusOut",
        "hide",
        "input",
        "paint",
        "readOnly",
        "recompose",
        "resize",
        "select",
        "show",
        "trigger"
      ]
    }, e = {}, t = o(), a = o(/* @__PURE__ */ new Map());
    return u("teleports", a), g(() => {
      const i = y();
      e.value = r.createWidget({
        me: i,
        widgetData: n,
        emit: p,
        element: t.value,
        toRaw: b
      });
      const l = (d, m) => x(() => i.props[d], m);
      r.watchProps(e.value, n, l);
    }), f(() => {
      e.value?.destroy?.();
    }), s({
      instance: e,
      refElement: t,
      teleports: a
    }), (i, l) => (k(), v("div", {
      ref_key: "refElement",
      ref: t
    }, null, 512));
  }
});
export {
  F as _
};
//# sourceMappingURL=BPTPh1q3.js.map
