'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
require('../../../utils/index.js');
var antDesignVue = require('ant-design-vue');
var cascader = require('./cascader.js');
var createNamespace = require('../../../utils/create-namespace.js');

"use strict";
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{ name: "LlCascader" },
  __name: "cascader",
  props: cascader.cascaderProps,
  setup(__props) {
    const bem = createNamespace.createNamespace("cascader");
    const attrs = vue.useAttrs();
    return (_ctx, _cache) => {
      return vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Cascader), vue.mergeProps(vue.unref(attrs), {
        class: [vue.unref(bem).b(), vue.unref(bem).is(_ctx.isGray ? "gray-cascader" : "")],
        "popup-class-name": vue.unref(bem).e("dropdown")
      }), vue.createSlots({
        _: 2
        /* DYNAMIC */
      }, [
        vue.renderList(Object.keys(_ctx.$slots), (item) => {
          return {
            name: item,
            fn: vue.withCtx((data) => [
              vue.renderSlot(_ctx.$slots, item, vue.normalizeProps(vue.guardReactiveProps(data || {})))
            ])
          };
        })
      ]), 1040, ["class", "popup-class-name"]);
    };
  }
});

exports.default = _sfc_main;
//# sourceMappingURL=cascader.vue2.js.map
