import { defineComponent, useSlots, resolveComponent, createElementBlock, openBlock, createVNode, mergeProps, createSlots, withCtx, unref, renderSlot } from 'vue';
import { descriptionsItemProps } from './descriptionsItem.mjs';

var _sfc_main = /* @__PURE__ */ defineComponent({
  ...{
    name: "GmDescriptionsItem"
  },
  __name: "DescriptionsItem",
  props: descriptionsItemProps,
  setup(__props) {
    const slots = useSlots();
    const props = __props;
    return (_ctx, _cache) => {
      const _component_el_descriptions_item = resolveComponent("el-descriptions-item");
      return openBlock(), createElementBlock("div", null, [
        createVNode(
          _component_el_descriptions_item,
          mergeProps({ ref: "elRef" }, props),
          createSlots({
            _: 2
            /* DYNAMIC */
          }, [
            unref(slots).default ? {
              name: "default",
              fn: withCtx(() => [
                renderSlot(_ctx.$slots, "default")
              ]),
              key: "0"
            } : void 0,
            unref(slots).label ? {
              name: "label",
              fn: withCtx(() => [
                renderSlot(_ctx.$slots, "label")
              ]),
              key: "1"
            } : void 0
          ]),
          1040
          /* FULL_PROPS, DYNAMIC_SLOTS */
        )
      ]);
    };
  }
});

export { _sfc_main as default };
//# sourceMappingURL=DescriptionsItem.vue2.mjs.map
