/**
 * ldesign v0.2.3
 * (c) 2022年9月24日 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 './components/Item.js';
import '../../_chunks/dep-9cf53923.js';
import '@ldesign/icons-vue';
import './utils/helper.js';
import 'lodash/isEmpty';
import './utils/className.js';
import '../checkbox/index.js';
import '../checkbox/group.js';
import 'lodash/intersection';
import '../checkbox/checkbox.js';
import 'vue';
import '../../utils/render-node.js';
import 'lodash/camelCase';
import 'lodash/kebabCase';
import '../checkbox/props.js';
import '../../utils/helper.js';
import '../../utils/event.js';
import '../config-provider/config-receiver.js';
import 'lodash/mergeWith';
import 'lodash';
import '../config-provider/context.js';
import '../../_chunks/dep-b1584b65.js';
import '../../utils/mixins.js';
import '../../utils/map-props.js';
import '../../utils/with-install.js';
import '../../config.js';
import '../loading/index.js';
import '../loading/loading.js';
import '../loading/icon/gradient.js';
import '../../_chunks/dep-1dd6d50e.js';
import '../../_chunks/dep-1aed710a.js';
import '../../_chunks/dep-d640115b.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/plugin.js';
import '../../hooks/use-config.js';
import '../config-provider/useConfig.js';
import '../../hooks/use-global-icon.js';
import '../../utils/ripple.js';
import '../../hooks/lnode.js';
import 'lodash/isFunction';
import '../../hooks/render-lnode.js';
import 'lodash/isObject';
import './utils/effect.js';
import 'lodash/isNumber';
import 'lodash/cloneDeep';
import 'lodash/isEqual';
import '../../_chunks/dep-2007374a.js';
import '../../_chunks/dep-129926a0.js';
import '../../_chunks/dep-db41eefc.js';
import '../../_chunks/dep-6aab144e.js';
import '../../_chunks/dep-fd084baf.js';
import '../../_chunks/dep-b431a644.js';
import '../../_chunks/dep-5bce19db.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
