import { defineComponent, useModel, openBlock, createElementBlock, createVNode, unref, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
import { ElSegmented } from 'element-plus';

"use strict";
const _hoisted_1 = { class: "me-segmented" };
const __default__ = defineComponent({
  name: "me-segmented"
});
var script = /* @__PURE__ */ defineComponent({
  ...__default__,
  props: {
    "modelValue": { type: [String, Number, Boolean], skipCheck: true },
    "modelModifiers": {}
  },
  emits: ["update:modelValue"],
  setup(__props) {
    const model = useModel(__props, "modelValue");
    const props = __props;
    return (_ctx, _cache) => {
      return openBlock(), createElementBlock("div", _hoisted_1, [
        createVNode(unref(ElSegmented), mergeProps({
          modelValue: model.value,
          "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => model.value = $event)
        }, _ctx.$attrs), {
          default: withCtx((scope) => [
            renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(scope)))
          ]),
          _: 3
          /* FORWARDED */
        }, 16, ["modelValue"])
      ]);
    };
  }
});

export { script as default };
//# sourceMappingURL=segmented.vue2.mjs.map
