import { defineComponent as h, ref as r, provide as u, onMounted as f, getCurrentInstance as g, toRaw as b, onBeforeUnmount as y, openBlock as w, createElementBlock as x, watch as S } from "vue";
import { Splitter as C } from "@bryntum/taskboard";
import { WrapperHelper as l } from "../helper/WrapperHelper.js";
const A = /* @__PURE__ */ h({
  __name: "BryntumSplitter",
  props: {
    adopt: {},
    align: {},
    alignSelf: {},
    anchor: {},
    appendTo: {},
    ariaDescription: {},
    ariaLabel: {},
    bubbleEvents: {},
    callOnFunctions: {},
    catchEventHandlerExceptions: {},
    centered: {},
    cls: {},
    color: {},
    column: {},
    config: {},
    constrainTo: {},
    content: {},
    contentElementCls: {},
    dataField: {},
    dataset: {},
    defaultBindProperty: {},
    detectCSSCompatibilityIssues: {},
    disabled: {},
    dock: {},
    draggable: {},
    elementAttributes: {},
    extraData: {},
    flex: {},
    floating: {},
    height: {},
    hidden: {},
    hideAnimation: {},
    html: { type: [String, Function, Array] },
    htmlCls: {},
    id: {},
    ignoreParentReadOnly: {},
    insertBefore: {},
    insertFirst: {},
    keyMap: {},
    listeners: {},
    localeClass: {},
    localizable: {},
    localizableProperties: {},
    margin: {},
    maskDefaults: {},
    masked: {},
    maxHeight: {},
    maximizeOnMobile: {},
    maxWidth: {},
    minHeight: {},
    minWidth: {},
    monitorResize: {},
    orientation: {},
    positioned: {},
    preventTooltipOnTouch: {},
    readOnly: {},
    relayStoreEvents: {},
    ripple: {},
    role: {},
    rootElement: {},
    rtl: {},
    scrollable: {},
    scrollAction: {},
    showAnimation: {},
    showButtons: {},
    showTooltipWhenDisabled: {},
    span: {},
    tab: {},
    tag: {},
    textAlign: {},
    title: {},
    tooltip: {},
    type: {},
    ui: {},
    weight: {},
    width: {},
    x: {},
    y: {}
  },
  emits: ["beforeDestroy", "beforeHide", "beforeShow", "catchAll", "destroy", "drag", "dragStart", "drop", "elementCreated", "focusIn", "focusOut", "hide", "paint", "readOnly", "recompose", "resize", "show"],
  setup(D, { expose: s, emit: c }) {
    const d = c, n = {
      instanceClass: C,
      instanceName: "Splitter",
      configNames: [
        "adopt",
        "align",
        "anchor",
        "ariaDescription",
        "ariaLabel",
        "bubbleEvents",
        "centered",
        "color",
        "config",
        "constrainTo",
        "contentElementCls",
        "dataField",
        "defaultBindProperty",
        "detectCSSCompatibilityIssues",
        "dock",
        "draggable",
        "elementAttributes",
        "floating",
        "hideAnimation",
        "htmlCls",
        "ignoreParentReadOnly",
        "listeners",
        "localeClass",
        "localizable",
        "localizableProperties",
        "maskDefaults",
        "masked",
        "monitorResize",
        "orientation",
        "positioned",
        "preventTooltipOnTouch",
        "relayStoreEvents",
        "ripple",
        "role",
        "rootElement",
        "scrollAction",
        "showAnimation",
        "showButtons",
        "showTooltipWhenDisabled",
        "tab",
        "tag",
        "textAlign",
        "title",
        "type",
        "ui",
        "weight"
      ],
      propertyConfigNames: [
        "alignSelf",
        "appendTo",
        "callOnFunctions",
        "catchEventHandlerExceptions",
        "cls",
        "column",
        "content",
        "dataset",
        "disabled",
        "extraData",
        "flex",
        "height",
        "hidden",
        "html",
        "id",
        "insertBefore",
        "insertFirst",
        "keyMap",
        "margin",
        "maxHeight",
        "maximizeOnMobile",
        "maxWidth",
        "minHeight",
        "minWidth",
        "onBeforeDestroy",
        "onBeforeHide",
        "onBeforeShow",
        "onCatchAll",
        "onDestroy",
        "onDrag",
        "onDragStart",
        "onDrop",
        "onElementCreated",
        "onFocusIn",
        "onFocusOut",
        "onHide",
        "onPaint",
        "onReadOnly",
        "onRecompose",
        "onResize",
        "onShow",
        "readOnly",
        "rtl",
        "scrollable",
        "span",
        "tooltip",
        "width",
        "x",
        "y"
      ],
      propertyNames: [
        "parent"
      ],
      eventNames: [
        "beforeDestroy",
        "beforeHide",
        "beforeShow",
        "catchAll",
        "destroy",
        "drag",
        "dragStart",
        "drop",
        "elementCreated",
        "focusIn",
        "focusOut",
        "hide",
        "paint",
        "readOnly",
        "recompose",
        "resize",
        "show"
      ]
    }, e = {}, t = r(), a = r(/* @__PURE__ */ new Map());
    return u("teleports", a), f(() => {
      const o = g();
      e.value = l.createWidget({
        me: o,
        widgetData: n,
        emit: d,
        element: t.value,
        toRaw: b
      });
      const i = (p, m) => S(() => o.props[p], m);
      l.watchProps(e.value, n, i);
    }), y(() => {
      e.value?.destroy?.();
    }), s({
      instance: e,
      refElement: t,
      teleports: a
    }), (o, i) => (w(), x("div", {
      ref_key: "refElement",
      ref: t
    }, null, 512));
  }
});
export {
  A as _
};
//# sourceMappingURL=DIA-uRUV.js.map
