/**
 * ldesign v0.2.14
 * (c) 2022/11/2 16:16 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/use-config.js';
import '../config-provider/useConfig.js';
import '../config-provider/context.js';
import 'lodash';
import '../../chunks/zh_CN.js';
import '../config-provider/type.js';
import '../../hooks/lnode.js';
import 'lodash/isEmpty';
import 'lodash/isFunction';
import 'lodash/camelCase';
import 'lodash/kebabCase';
import '../../hooks/render-lnode.js';
import './utils/helper.js';
import './utils/effect.js';
import 'lodash/isNumber';
import 'lodash/cloneDeep';
import './components/Item.js';
import '../../chunks/helper.js';
import '../../chunks/_commonjsHelpers.js';
import '@ldesign/icons-vue';
import './utils/className.js';
import '../checkbox/index.js';
import '../../utils/map-props.js';
import 'vue';
import '../../utils/with-install.js';
import '../../config.js';
import '../checkbox/group.js';
import 'lodash/intersection';
import '../../chunks/index.js';
import '../../chunks/log.js';
import '../../chunks/_commonjsHelpers-2e6815bd.js';
import '../../utils/event.js';
import '../../utils/helper.js';
import '../config-provider/config-receiver.js';
import 'lodash/mergeWith';
import '../../utils/mixins.js';
import '../checkbox/checkbox.js';
import '../../utils/render-node.js';
import '../checkbox/props.js';
import '../checkbox/style';
import '../checkbox/type.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/defineProperty-838e4192.js';
import '../../chunks/set-style.js';
import '../../chunks/helper2.js';
import '../loading/style';
import '../loading/type.js';
import '../loading/plugin.js';
import '../../hooks/use-global-icon.js';
import '../../utils/ripple.js';
import 'lodash/isEqual';
import '../../chunks/tree-store.js';
import '../../chunks/get-5e1abd10.js';
import '../../chunks/isArray-cd7357b9.js';
import '../../chunks/isSymbol-a38a5184.js';
import '../../chunks/isObjectLike-c22c7e3b.js';
import '../../chunks/isFunction-91acade7.js';
import '../../chunks/tree-node.js';
import '../../chunks/_isIndex-52887d1e.js';
import '../../hooks/use-vmodel.js';
import '../../hooks/use-default-value.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
