import { defineComponent, useSlots, resolveComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, createSlots, withCtx, unref, renderSlot } from 'vue';
import { spaceProps } from './space.mjs';

var _sfc_main = /* @__PURE__ */ defineComponent({
  ...{
    name: "GmSpace"
  },
  __name: "Space",
  props: spaceProps,
  setup(__props) {
    const slots = useSlots();
    const props = __props;
    return (_ctx, _cache) => {
      const _component_el_space = resolveComponent("el-space");
      return openBlock(), createBlock(
        _component_el_space,
        normalizeProps(guardReactiveProps(props)),
        createSlots({
          _: 2
          /* DYNAMIC */
        }, [
          unref(slots).default ? {
            name: "default",
            fn: withCtx((slotValue) => [
              renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotValue)))
            ]),
            key: "0"
          } : void 0
        ]),
        1040
        /* FULL_PROPS, DYNAMIC_SLOTS */
      );
    };
  }
});

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