/**
 * ldesign v0.2.22
 * (c) 2022/12/7 16:21 built by swimly
 * @license MIT
 */

import { defineComponent } from '@vue/composition-api';
import Panel from './components/Panel.js';
import props from './props.js';
import { useCascaderContext } from './hooks/index.js';
import '../../hooks/useConfig.js';
import '../config-provider/useConfig.js';
import '../config-provider/context.js';
import 'lodash/merge';
import 'lodash/mergeWith';
import '../../_chunks/dep-b4fd1955.js';
import '../../hooks/lnode.js';
import 'lodash/isEmpty';
import 'lodash/isFunction';
import 'lodash/camelCase';
import 'lodash/kebabCase';
import '../../hooks/render-lnode.js';
import 'lodash';
import './utils/helper.js';
import './utils/effect.js';
import 'lodash/isNumber';
import 'lodash/cloneDeep';
import './components/Item.js';
import '../../_chunks/dep-b0f1ed22.js';
import '@ldesign/icons-vue';
import './utils/className.js';
import '../checkbox/index.js';
import '../../utils/map-props.js';
import 'vue';
import '../../utils/withInstall.js';
import 'lodash/capitalize';
import '../../config.js';
import '../checkbox/group.js';
import 'lodash/intersection';
import '../../_chunks/dep-eaa95999.js';
import '../../_chunks/dep-102361be.js';
import '../../utils/event.js';
import '../../utils/helper.js';
import '../config-provider/config-receiver.js';
import '../../utils/mixins.js';
import '../checkbox/checkbox.js';
import '../../utils/render-node.js';
import '../checkbox/props.js';
import '../loading/index.js';
import '../loading/loading.js';
import '../../utils/dom.js';
import 'raf';
import 'lodash/isString';
import '../../utils/easing.js';
import '../../utils/transfer-dom.js';
import '../loading/props.js';
import '../loading/icon/gradient.js';
import '../../_chunks/dep-aacc31a3.js';
import '../../_chunks/dep-c68dc4b6.js';
import '../../_chunks/dep-1a6bca30.js';
import '../loading/plugin.js';
import '../../hooks/useGlobalIcon.js';
import '../../utils/ripple.js';
import 'lodash/isEqual';
import '../../_chunks/dep-5bab082b.js';
import '../../_chunks/dep-a2743d97.js';
import '../../_chunks/dep-25603871.js';
import '../../_chunks/dep-128cad98.js';
import '../../_chunks/dep-52c80d08.js';
import '../../_chunks/dep-c3acb800.js';
import '../../_chunks/dep-387c3c4b.js';
import '../../_chunks/dep-40693b6f.js';
import '../../hooks/useVModel.js';
import '../../hooks/useDefaultValue.js';

var _CascaderPanel = defineComponent({
  name: "LCascaderPanel",
  props: {
    ...props
  },
  setup(props2, _ref) {
    let {
      slots,
      emit
    } = _ref;
    const {
      cascaderContext
    } = useCascaderContext(props2);
    const onClick = (value, node) => {
      emit("click", value, node);
    };
    return {
      cascaderContext,
      slots,
      onClick
    };
  },
  render() {
    const h = arguments[0];
    return h(Panel, {
      "attrs": {
        "empty": this.empty,
        "trigger": this.trigger,
        "cascaderContext": this.cascaderContext
      },
      "scopedSlots": {
        empty: this.slots.empty
      },
      "on": {
        "click": this.onClick
      }
    });
  }
});

export { _CascaderPanel as default };
//# sourceMappingURL=cascader-panel.js.map
