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

"use strict";
var _sfc_main = /* @__PURE__ */ defineComponent({
  ...{ name: "LlSelectOption" },
  __name: "select-option",
  props: selectOptionProps,
  setup(__props) {
    const props = __props;
    const bem = createNamespace("select-option");
    return (_ctx, _cache) => {
      const _component_a_select_option = resolveComponent("a-select-option");
      return openBlock(), createBlock(_component_a_select_option, mergeProps({
        class: unref(bem).b()
      }, props), 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=select-option.vue2.mjs.map
