import { defineComponent as u, ref as r, provide as h, onMounted as g, getCurrentInstance as f, toRaw as y, onBeforeUnmount as b, openBlock as F, createElementBlock as C, watch as x } from "vue";
import { TaskBoardFieldFilterPickerGroup as w } from "@bryntum/taskboard";
import { WrapperHelper as l } from "../helper/WrapperHelper.js";
const E = /* @__PURE__ */ u({
  __name: "BryntumTaskBoardFieldFilterPickerGroup",
  props: {
    addFilterButtonText: {},
    adopt: {},
    align: {},
    alignSelf: {},
    allowedFieldNames: {},
    anchor: {},
    appendTo: {},
    ariaDescription: {},
    ariaLabel: {},
    autoUpdateRecord: {},
    border: {},
    bubbleEvents: {},
    callOnFunctions: {},
    canDeleteFilter: { type: Function },
    canManageFilter: { type: Function },
    catchEventHandlerExceptions: {},
    centered: {},
    cls: {},
    color: {},
    column: {},
    config: {},
    constrainTo: {},
    content: {},
    contentElementCls: {},
    dataField: {},
    dataset: {},
    dateFormat: {},
    defaultBindProperty: {},
    defaultFocus: { type: [Function, String] },
    defaults: {},
    detectCSSCompatibilityIssues: {},
    disabled: {},
    dock: {},
    draggable: {},
    elementAttributes: {},
    excludeFields: {},
    extraData: {},
    fields: {},
    filters: {},
    flex: {},
    floating: {},
    getFieldFilterPickerConfig: { 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: {},
    limitToProperty: {},
    listeners: {},
    localeClass: {},
    localizable: {},
    localizableProperties: {},
    margin: {},
    maskDefaults: {},
    masked: {},
    maxHeight: {},
    maximizeOnMobile: {},
    maxWidth: {},
    minHeight: {},
    minWidth: {},
    monitorResize: {},
    namedItems: {},
    operators: {},
    positioned: {},
    preventTooltipOnTouch: {},
    readOnly: {},
    record: {},
    relayStoreEvents: {},
    rendition: {},
    ripple: {},
    role: {},
    rootElement: {},
    rtl: {},
    scrollable: {},
    scrollAction: {},
    showAddFilterButton: {},
    showAnimation: {},
    showTooltipWhenDisabled: {},
    span: {},
    store: {},
    strictRecordMapping: {},
    tab: {},
    tabBarItems: {},
    tag: {},
    textAlign: {},
    textContent: {},
    title: {},
    tooltip: {},
    triggerChangeOnInput: {},
    type: {},
    ui: {},
    weight: {},
    width: {},
    x: {},
    y: {}
  },
  emits: ["beforeAddFilter", "beforeDestroy", "beforeHide", "beforeSetRecord", "beforeShow", "catchAll", "change", "destroy", "dirtyStateChange", "elementCreated", "focusIn", "focusOut", "hide", "paint", "readOnly", "recompose", "resize", "show"],
  setup(B, { expose: s, emit: d }) {
    const c = d, n = {
      instanceClass: w,
      instanceName: "TaskBoardFieldFilterPickerGroup",
      configNames: [
        "addFilterButtonText",
        "adopt",
        "align",
        "allowedFieldNames",
        "anchor",
        "ariaDescription",
        "ariaLabel",
        "autoUpdateRecord",
        "border",
        "bubbleEvents",
        "canDeleteFilter",
        "canManageFilter",
        "centered",
        "color",
        "config",
        "constrainTo",
        "contentElementCls",
        "dataField",
        "dateFormat",
        "defaultBindProperty",
        "defaultFocus",
        "defaults",
        "detectCSSCompatibilityIssues",
        "dock",
        "draggable",
        "elementAttributes",
        "excludeFields",
        "fields",
        "filters",
        "floating",
        "getFieldFilterPickerConfig",
        "hideAnimation",
        "hideWhenEmpty",
        "htmlCls",
        "ignoreParentReadOnly",
        "itemCls",
        "lazyItems",
        "limitToProperty",
        "listeners",
        "localeClass",
        "localizable",
        "localizableProperties",
        "maskDefaults",
        "masked",
        "monitorResize",
        "namedItems",
        "operators",
        "positioned",
        "preventTooltipOnTouch",
        "relayStoreEvents",
        "ripple",
        "role",
        "rootElement",
        "scrollAction",
        "showAddFilterButton",
        "showAnimation",
        "showTooltipWhenDisabled",
        "store",
        "tab",
        "tabBarItems",
        "tag",
        "textAlign",
        "textContent",
        "title",
        "triggerChangeOnInput",
        "type",
        "ui",
        "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",
        "onBeforeAddFilter",
        "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",
        "value",
        "values"
      ],
      eventNames: [
        "beforeAddFilter",
        "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 h("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) => x(() => o.props[p], m);
      l.watchProps(e.value, n, a);
    }), b(() => {
      e.value?.destroy?.();
    }), s({
      instance: e,
      refElement: t,
      teleports: i
    }), (o, a) => (F(), C("div", {
      ref_key: "refElement",
      ref: t
    }, null, 512));
  }
});
export {
  E as _
};
//# sourceMappingURL=BMfvjBPE.js.map
