import { defineComponent as h, ref as r, provide as u, onMounted as g, getCurrentInstance as y, toRaw as b, onBeforeUnmount as f, openBlock as k, createElementBlock as S, watch as C } from "vue";
import { TagCombo as x } from "@bryntum/taskboard";
import { WrapperHelper as o } from "../helper/WrapperHelper.js";
const T = /* @__PURE__ */ h({
  __name: "BryntumTagCombo",
  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: {},
    overlayAnchor: {},
    picker: {},
    pickerAlignElement: {},
    pickerWidth: {},
    placeholder: {},
    positioned: {},
    preventTooltipOnTouch: {},
    primaryFilter: {},
    readOnly: {},
    relayStoreEvents: {},
    rendition: {},
    required: {},
    revertOnEscape: {},
    ripple: {},
    role: {},
    rootElement: {},
    rtl: {},
    scrollAction: {},
    separator: {},
    showAnimation: {},
    showRequiredIndicator: {},
    showTooltipWhenDisabled: {},
    skipValidation: {},
    span: {},
    spellCheck: {},
    store: {},
    tab: {},
    tabIndex: {},
    taskBoard: {},
    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(O, { expose: s, emit: c }) {
    const p = c, n = {
      instanceClass: x,
      instanceName: "TagCombo",
      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",
        "overlayAnchor",
        "pickerAlignElement",
        "pickerWidth",
        "positioned",
        "preventTooltipOnTouch",
        "primaryFilter",
        "relayStoreEvents",
        "revertOnEscape",
        "ripple",
        "role",
        "rootElement",
        "scrollAction",
        "separator",
        "showAnimation",
        "showTooltipWhenDisabled",
        "skipValidation",
        "spellCheck",
        "tab",
        "tabIndex",
        "taskBoard",
        "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 = r(), a = r(/* @__PURE__ */ new Map());
    return u("teleports", a), g(() => {
      const i = y();
      e.value = o.createWidget({
        me: i,
        widgetData: n,
        emit: p,
        element: t.value,
        toRaw: b
      });
      const l = (d, m) => C(() => i.props[d], m);
      o.watchProps(e.value, n, l);
    }), f(() => {
      e.value?.destroy?.();
    }), s({
      instance: e,
      refElement: t,
      teleports: a
    }), (i, l) => (k(), S("div", {
      ref_key: "refElement",
      ref: t
    }, null, 512));
  }
});
export {
  T as _
};
//# sourceMappingURL=C1_jLpGy.js.map
