import { defineComponent as h, ref as r, provide as u, onMounted as g, getCurrentInstance as f, toRaw as y, onBeforeUnmount as b, openBlock as C, createElementBlock as F, watch as S } from "vue";
import { FieldFilterPicker as x } from "@bryntum/taskboard";
import { WrapperHelper as l } from "../helper/WrapperHelper.js";
const O = /* @__PURE__ */ h({
  __name: "BryntumFieldFilterPicker",
  props: {
    adopt: {},
    align: {},
    alignSelf: {},
    anchor: {},
    appendTo: {},
    ariaDescription: {},
    ariaLabel: {},
    autoUpdateRecord: {},
    border: {},
    bubbleEvents: {},
    callOnFunctions: {},
    catchEventHandlerExceptions: {},
    centered: {},
    cls: {},
    color: {},
    column: {},
    config: {},
    constrainTo: {},
    content: {},
    contentElementCls: {},
    dataField: {},
    dataset: {},
    dateFormat: {},
    defaultBindProperty: {},
    defaultFocus: { type: [Function, String] },
    defaults: {},
    detectCSSCompatibilityIssues: {},
    disabled: {},
    dock: {},
    draggable: {},
    elementAttributes: {},
    extraData: {},
    fields: {},
    filter: {},
    flex: {},
    floating: {},
    getValueFieldConfig: { type: Function },
    height: {},
    hidden: {},
    hideAnimation: {},
    hideWhenEmpty: {},
    html: { type: [String, Function, Array] },
    htmlCls: {},
    id: {},
    ignoreParentReadOnly: {},
    inputFieldAlign: {},
    insertBefore: {},
    insertFirst: {},
    itemCls: {},
    items: {},
    keyMap: {},
    labelPosition: {},
    labelWidth: {},
    layout: {},
    layoutStyle: {},
    lazyItems: {},
    listeners: {},
    localeClass: {},
    localizable: {},
    localizableProperties: {},
    margin: {},
    maskDefaults: {},
    masked: {},
    maxHeight: {},
    maximizeOnMobile: {},
    maxWidth: {},
    minHeight: {},
    minWidth: {},
    monitorResize: {},
    namedItems: {},
    operatorLocked: {},
    operators: {},
    positioned: {},
    preventTooltipOnTouch: {},
    propertyFieldConfig: {},
    propertyLocked: {},
    readOnly: {},
    record: {},
    relayStoreEvents: {},
    rendition: {},
    ripple: {},
    role: {},
    rootElement: {},
    rtl: {},
    scrollable: {},
    scrollAction: {},
    showAnimation: {},
    showTooltipWhenDisabled: {},
    span: {},
    store: {},
    strictRecordMapping: {},
    tab: {},
    tabBarItems: {},
    tag: {},
    textAlign: {},
    textContent: {},
    title: {},
    tooltip: {},
    triggerChangeOnInput: {},
    type: {},
    ui: {},
    valueFieldPlaceholders: {},
    valueLocked: {},
    weight: {},
    width: {},
    x: {},
    y: {}
  },
  emits: ["beforeDestroy", "beforeHide", "beforeSetRecord", "beforeShow", "catchAll", "change", "destroy", "dirtyStateChange", "elementCreated", "focusIn", "focusOut", "hide", "paint", "readOnly", "recompose", "resize", "show"],
  setup(k, { expose: s, emit: d }) {
    const c = d, n = {
      instanceClass: x,
      instanceName: "FieldFilterPicker",
      configNames: [
        "adopt",
        "align",
        "anchor",
        "ariaDescription",
        "ariaLabel",
        "autoUpdateRecord",
        "border",
        "bubbleEvents",
        "centered",
        "color",
        "config",
        "constrainTo",
        "contentElementCls",
        "dataField",
        "dateFormat",
        "defaultBindProperty",
        "defaultFocus",
        "defaults",
        "detectCSSCompatibilityIssues",
        "dock",
        "draggable",
        "elementAttributes",
        "fields",
        "filter",
        "floating",
        "getValueFieldConfig",
        "hideAnimation",
        "hideWhenEmpty",
        "htmlCls",
        "ignoreParentReadOnly",
        "itemCls",
        "lazyItems",
        "listeners",
        "localeClass",
        "localizable",
        "localizableProperties",
        "maskDefaults",
        "masked",
        "monitorResize",
        "namedItems",
        "operatorLocked",
        "operators",
        "positioned",
        "preventTooltipOnTouch",
        "propertyFieldConfig",
        "propertyLocked",
        "relayStoreEvents",
        "ripple",
        "role",
        "rootElement",
        "scrollAction",
        "showAnimation",
        "showTooltipWhenDisabled",
        "store",
        "tab",
        "tabBarItems",
        "tag",
        "textAlign",
        "textContent",
        "title",
        "triggerChangeOnInput",
        "type",
        "ui",
        "valueFieldPlaceholders",
        "valueLocked",
        "weight"
      ],
      propertyConfigNames: [
        "alignSelf",
        "appendTo",
        "callOnFunctions",
        "catchEventHandlerExceptions",
        "cls",
        "column",
        "content",
        "dataset",
        "disabled",
        "extraData",
        "flex",
        "height",
        "hidden",
        "html",
        "id",
        "inputFieldAlign",
        "insertBefore",
        "insertFirst",
        "items",
        "keyMap",
        "labelPosition",
        "labelWidth",
        "layout",
        "layoutStyle",
        "margin",
        "maxHeight",
        "maximizeOnMobile",
        "maxWidth",
        "minHeight",
        "minWidth",
        "onBeforeDestroy",
        "onBeforeHide",
        "onBeforeSetRecord",
        "onBeforeShow",
        "onCatchAll",
        "onChange",
        "onDestroy",
        "onDirtyStateChange",
        "onElementCreated",
        "onFocusIn",
        "onFocusOut",
        "onHide",
        "onPaint",
        "onReadOnly",
        "onRecompose",
        "onResize",
        "onShow",
        "readOnly",
        "record",
        "rendition",
        "rtl",
        "scrollable",
        "span",
        "strictRecordMapping",
        "tooltip",
        "width",
        "x",
        "y"
      ],
      propertyNames: [
        "parent",
        "values"
      ],
      eventNames: [
        "beforeDestroy",
        "beforeHide",
        "beforeSetRecord",
        "beforeShow",
        "catchAll",
        "change",
        "destroy",
        "dirtyStateChange",
        "elementCreated",
        "focusIn",
        "focusOut",
        "hide",
        "paint",
        "readOnly",
        "recompose",
        "resize",
        "show"
      ]
    }, e = {}, t = r(), i = r(/* @__PURE__ */ new Map());
    return u("teleports", i), g(() => {
      const o = f();
      e.value = l.createWidget({
        me: o,
        widgetData: n,
        emit: c,
        element: t.value,
        toRaw: y
      });
      const a = (p, m) => S(() => o.props[p], m);
      l.watchProps(e.value, n, a);
    }), b(() => {
      e.value?.destroy?.();
    }), s({
      instance: e,
      refElement: t,
      teleports: i
    }), (o, a) => (C(), F("div", {
      ref_key: "refElement",
      ref: t
    }, null, 512));
  }
});
export {
  O as _
};
//# sourceMappingURL=mhut4ULh.js.map
