'use strict';

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

var vue = require('vue');
require('../../../utils/index.js');
var datePicker = require('./date-picker.js');
var createNamespace = require('../../../utils/create-namespace.js');

"use strict";
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{ name: "LlDatePicker" },
  __name: "date-picker",
  props: datePicker.datePickerProps,
  setup(__props) {
    const attrs = vue.useAttrs();
    const bem = createNamespace.createNamespace("date-picker");
    return (_ctx, _cache) => {
      const _component_a_date_picker = vue.resolveComponent("a-date-picker");
      return vue.openBlock(), vue.createBlock(_component_a_date_picker, vue.mergeProps(vue.unref(attrs), {
        class: [vue.unref(bem).b(), vue.unref(bem).is(_ctx.isGray ? "gray-date-picker" : "")]
      }), 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"]);
    };
  }
});

exports.default = _sfc_main;
//# sourceMappingURL=date-picker.vue2.js.map
