import { defineComponent as g, ref as r, provide as h, onMounted as u, getCurrentInstance as f, toRaw as b, onBeforeUnmount as y, openBlock as C, createElementBlock as w, watch as x } from "vue";
import { ColumnScrollButton as S } from "@bryntum/taskboard";
import { WrapperHelper as a } from "../helper/WrapperHelper.js";
const E = /* @__PURE__ */ g({
  __name: "BryntumColumnScrollButton",
  props: {
    adopt: {},
    align: {},
    alignSelf: {},
    anchor: {},
    appendTo: {},
    ariaDescription: {},
    ariaLabel: {},
    badge: {},
    behaviorType: {},
    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: {},
    href: {},
    html: { type: [String, Function, Array] },
    htmlCls: {},
    icon: {},
    iconAlign: {},
    id: {},
    ignoreParentReadOnly: {},
    insertBefore: {},
    insertFirst: {},
    keyMap: {},
    listeners: {},
    localeClass: {},
    localizable: {},
    localizableProperties: {},
    margin: {},
    maskDefaults: {},
    masked: {},
    maxHeight: {},
    maximizeOnMobile: {},
    maxWidth: {},
    menu: {},
    menuIcon: {},
    minHeight: {},
    minWidth: {},
    monitorResize: {},
    positioned: {},
    pressed: {},
    pressedCls: {},
    pressedIcon: {},
    preventTooltipOnTouch: {},
    readOnly: {},
    relayStoreEvents: {},
    rendition: {},
    ripple: {},
    role: {},
    rootElement: {},
    rtl: {},
    scrollable: {},
    scrollAction: {},
    showAnimation: {},
    showTooltipWhenDisabled: {},
    span: {},
    split: {},
    supportsPressedClick: {},
    tab: {},
    tabIndex: {},
    tag: {},
    target: {},
    taskBoard: {},
    text: {},
    textAlign: {},
    title: {},
    toggleable: {},
    toggleGroup: {},
    tooltip: {},
    type: {},
    ui: {},
    weight: {},
    width: {},
    x: {},
    y: {}
  },
  emits: ["action", "beforeDestroy", "beforeHide", "beforeShow", "beforeShowMenu", "beforeToggle", "catchAll", "click", "destroy", "elementCreated", "focusIn", "focusOut", "hide", "paint", "readOnly", "recompose", "resize", "show", "toggle"],
  setup(k, { expose: s, emit: c }) {
    const d = c, n = {
      instanceClass: S,
      instanceName: "ColumnScrollButton",
      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",
        "positioned",
        "preventTooltipOnTouch",
        "relayStoreEvents",
        "ripple",
        "role",
        "rootElement",
        "scrollAction",
        "showAnimation",
        "showTooltipWhenDisabled",
        "supportsPressedClick",
        "tab",
        "tag",
        "taskBoard",
        "textAlign",
        "title",
        "type",
        "ui",
        "weight"
      ],
      propertyConfigNames: [
        "alignSelf",
        "appendTo",
        "badge",
        "behaviorType",
        "callOnFunctions",
        "catchEventHandlerExceptions",
        "cls",
        "column",
        "content",
        "dataset",
        "disabled",
        "extraData",
        "flex",
        "height",
        "hidden",
        "href",
        "html",
        "icon",
        "iconAlign",
        "id",
        "insertBefore",
        "insertFirst",
        "keyMap",
        "margin",
        "maxHeight",
        "maximizeOnMobile",
        "maxWidth",
        "menu",
        "menuIcon",
        "minHeight",
        "minWidth",
        "onAction",
        "onBeforeDestroy",
        "onBeforeHide",
        "onBeforeShow",
        "onBeforeShowMenu",
        "onBeforeToggle",
        "onCatchAll",
        "onClick",
        "onDestroy",
        "onElementCreated",
        "onFocusIn",
        "onFocusOut",
        "onHide",
        "onPaint",
        "onReadOnly",
        "onRecompose",
        "onResize",
        "onShow",
        "onToggle",
        "pressed",
        "pressedCls",
        "pressedIcon",
        "readOnly",
        "rendition",
        "rtl",
        "scrollable",
        "span",
        "split",
        "tabIndex",
        "target",
        "text",
        "toggleable",
        "toggleGroup",
        "tooltip",
        "width",
        "x",
        "y"
      ],
      propertyNames: [
        "parent"
      ],
      eventNames: [
        "action",
        "beforeDestroy",
        "beforeHide",
        "beforeShow",
        "beforeShowMenu",
        "beforeToggle",
        "catchAll",
        "click",
        "destroy",
        "elementCreated",
        "focusIn",
        "focusOut",
        "hide",
        "paint",
        "readOnly",
        "recompose",
        "resize",
        "show",
        "toggle"
      ]
    }, e = {}, t = r(), i = r(/* @__PURE__ */ new Map());
    return h("teleports", i), u(() => {
      const o = f();
      e.value = a.createWidget({
        me: o,
        widgetData: n,
        emit: d,
        element: t.value,
        toRaw: b
      });
      const l = (p, m) => x(() => o.props[p], m);
      a.watchProps(e.value, n, l);
    }), y(() => {
      e.value?.destroy?.();
    }), s({
      instance: e,
      refElement: t,
      teleports: i
    }), (o, l) => (C(), w("div", {
      ref_key: "refElement",
      ref: t
    }, null, 512));
  }
});
export {
  E as _
};
//# sourceMappingURL=Ds7r9lqG.js.map
