import { defineComponent, useSlots, resolveComponent, createBlock, openBlock, createSlots, withCtx, unref, renderSlot, normalizeProps, guardReactiveProps } from 'vue';

var _sfc_main = /* @__PURE__ */ defineComponent({
  ...{
    name: "GmCollapseTransition"
  },
  __name: "CollapseTransition",
  setup(__props) {
    const slots = useSlots();
    return (_ctx, _cache) => {
      const _component_el_collapse_transition = resolveComponent("el-collapse-transition");
      return openBlock(), createBlock(
        _component_el_collapse_transition,
        null,
        createSlots({
          _: 2
          /* DYNAMIC */
        }, [
          unref(slots).default ? {
            name: "default",
            fn: withCtx((slotValue) => [
              renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotValue)))
            ]),
            key: "0"
          } : void 0
        ]),
        1024
        /* DYNAMIC_SLOTS */
      );
    };
  }
});

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