'use strict';

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

var vue = require('vue');
var shared = require('@vue/shared');
require('../../../utils/index.js');
var runtime = require('../../../utils/vue/props/runtime.js');

const DshCommonProps = runtime.buildProps({
  modelValue: {
    type: runtime.definePropType([Number, String, Array])
  },
  options: {
    type: runtime.definePropType(Array),
    default: () => []
  },
  props: {
    type: runtime.definePropType(Object),
    default: () => ({})
  }
});
const DshDefaultProps = {
  expandTrigger: "click",
  multiple: false,
  checkStrictly: false,
  emitPath: true,
  lazy: false,
  lazyLoad: shared.NOOP,
  value: "value",
  label: "label",
  children: "children",
  leaf: "leaf",
  disabled: "disabled",
  hoverThreshold: 500,
  maxCollapseTags: 1
};
const DshUseCascaderConfig = (props) => {
  return vue.computed(() => ({
    ...DshDefaultProps,
    ...props.props
  }));
};

exports.DshCommonProps = DshCommonProps;
exports.DshDefaultProps = DshDefaultProps;
exports.DshUseCascaderConfig = DshUseCascaderConfig;
//# sourceMappingURL=config.js.map
