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