/**
 * ldesign v0.2.3
 * (c) 2022年9月24日 swimly
 * @license MIT
 */

'use strict';

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

var VueCompositionAPI = require('@vue/composition-api');
var components_cascader_components_Panel = require('./components/Panel.js');
var components_cascader_props = require('./props.js');
var components_cascader_hooks_index = require('./hooks/index.js');
require('./components/Item.js');
require('../../chunks/helper.js');
require('@ldesign/icons-vue');
require('./utils/helper.js');
require('lodash/isEmpty');
require('./utils/className.js');
require('../checkbox/index.js');
require('../checkbox/group.js');
require('lodash/intersection');
require('../checkbox/checkbox.js');
require('vue');
require('../../utils/render-node.js');
require('lodash/camelCase');
require('lodash/kebabCase');
require('../checkbox/props.js');
require('../../utils/helper.js');
require('../../utils/event.js');
require('../config-provider/config-receiver.js');
require('lodash/mergeWith');
require('lodash');
require('../config-provider/context.js');
require('../../chunks/zh_CN.js');
require('../../utils/mixins.js');
require('../../utils/map-props.js');
require('../../utils/with-install.js');
require('../../config.js');
require('../loading/index.js');
require('../loading/loading.js');
require('../loading/icon/gradient.js');
require('../../chunks/defineProperty-56324511.js');
require('../../chunks/set-style.js');
require('../../chunks/helper2.js');
require('../../utils/dom.js');
require('raf');
require('lodash/isString');
require('../../utils/easing.js');
require('../../utils/transfer-dom.js');
require('../loading/props.js');
require('../loading/plugin.js');
require('../../hooks/use-config.js');
require('../config-provider/useConfig.js');
require('../../hooks/use-global-icon.js');
require('../../utils/ripple.js');
require('../../hooks/lnode.js');
require('lodash/isFunction');
require('../../hooks/render-lnode.js');
require('lodash/isObject');
require('./utils/effect.js');
require('lodash/isNumber');
require('lodash/cloneDeep');
require('lodash/isEqual');
require('../../chunks/tree-store.js');
require('../../chunks/tree-node.js');
require('../../chunks/isArray-9ce6380b.js');
require('../../chunks/_isIndex-9a2ec669.js');
require('../../chunks/isObjectLike-a2de5c2f.js');
require('../../chunks/_commonjsHelpers-8b4be15a.js');
require('../../chunks/log.js');
require('../../hooks/use-vmodel.js');
require('../../hooks/use-default-value.js');

var _CascaderPanel = VueCompositionAPI.defineComponent({
  name: "LCascaderPanel",
  props: { ...components_cascader_props["default"]
  },

  setup(props2, _ref) {
    let {
      slots,
      emit
    } = _ref;
    const {
      cascaderContext
    } = components_cascader_hooks_index.useCascaderContext(props2);

    const onClick = (value, node) => {
      emit("click", value, node);
    };

    return {
      cascaderContext,
      slots,
      onClick
    };
  },

  render() {
    const h = arguments[0];
    return h(components_cascader_components_Panel["default"], {
      "attrs": {
        "empty": this.empty,
        "trigger": this.trigger,
        "cascaderContext": this.cascaderContext
      },
      "scopedSlots": {
        empty: this.slots.empty
      },
      "on": {
        "click": this.onClick
      }
    });
  }

});

exports["default"] = _CascaderPanel;
//# sourceMappingURL=cascader-panel.js.map
