import { defineComponent, useSlots, resolveComponent, createBlock, openBlock, mergeProps, createSlots, withCtx, unref, renderSlot } from 'vue';
import { emptyProps } from './empty.mjs';

var _sfc_main = /* @__PURE__ */ defineComponent({
  ...{
    name: "GmEmpty"
  },
  __name: "Empty",
  props: emptyProps,
  setup(__props) {
    const slots = useSlots();
    const props = __props;
    return (_ctx, _cache) => {
      const _component_el_empty = resolveComponent("el-empty");
      return openBlock(), createBlock(
        _component_el_empty,
        mergeProps({ ref: "elRef" }, props),
        createSlots({
          _: 2
          /* DYNAMIC */
        }, [
          unref(slots).default ? {
            name: "default",
            fn: withCtx(() => [
              renderSlot(_ctx.$slots, "default")
            ]),
            key: "0"
          } : void 0,
          unref(slots).image ? {
            name: "image",
            fn: withCtx(() => [
              renderSlot(_ctx.$slots, "image")
            ]),
            key: "1"
          } : void 0,
          unref(slots).description ? {
            name: "description",
            fn: withCtx(() => [
              renderSlot(_ctx.$slots, "description")
            ]),
            key: "2"
          } : void 0
        ]),
        1040
        /* FULL_PROPS, DYNAMIC_SLOTS */
      );
    };
  }
});

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