import { defineComponent, useAttrs, resolveComponent, createBlock, openBlock, mergeProps, unref, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
import '../../../utils/index.mjs';
import { createNamespace } from '../../../utils/create-namespace.mjs';

"use strict";
var _sfc_main = /* @__PURE__ */ defineComponent({
  ...{ name: "LlDescriptionsItem" },
  __name: "descriptions-item",
  setup(__props) {
    const attrs = useAttrs();
    const bem = createNamespace("descriptions-item");
    return (_ctx, _cache) => {
      const _component_a_descriptions_item = resolveComponent("a-descriptions-item");
      return openBlock(), createBlock(_component_a_descriptions_item, mergeProps({
        class: unref(bem).b()
      }, unref(attrs)), createSlots({
        _: 2
        /* DYNAMIC */
      }, [
        renderList(Object.keys(_ctx.$slots), (item) => {
          return {
            name: item,
            fn: withCtx((data) => [
              renderSlot(_ctx.$slots, item, normalizeProps(guardReactiveProps(data || {})))
            ])
          };
        })
      ]), 1040, ["class"]);
    };
  }
});

export { _sfc_main as default };
//# sourceMappingURL=descriptions-item.vue2.mjs.map
