/**
 * ldesign v0.4.6
 * (c) 2023 ldesign
 * @license MIT
 */

import { h as helper } from '../../_chunks/dep-c89aafbb.js';
import EditableCell from '../editable-cell.js';
import '@babel/runtime/helpers/slicedToArray';
import '@babel/runtime/helpers/typeof';
import '@babel/runtime/helpers/defineProperty';
import '@vue/composition-api';
import 'lodash/get';
import 'lodash/set';
import 'lodash/isFunction';
import '@ldesign/icons-vue';
import '../../hooks/useGlobalIcon.js';
import '../../hooks/useConfig.js';
import '../../config-provider/useConfig.js';
import '../../config-provider/context.js';
import 'lodash/merge';
import 'lodash/mergeWith';
import '../../_common/js/global-config/default-config.js';
import '../../_common/js/global-config/locale/zh_CN.js';
import '../../_chunks/dep-be599ec8.js';
import 'dayjs';
import '../../_chunks/dep-67ff4010.js';
import '../../config-provider/type.js';
import '../../form/form-model.js';
import '@babel/runtime/helpers/asyncToGenerator';
import '@babel/runtime/regenerator';
import 'lodash/isEmpty';
import 'lodash/isNumber';
import '../../utils/helper.js';
import '@babel/runtime/helpers/objectWithoutProperties';
import 'lodash/camelCase';
import '../../_common/js/log/index.js';
import '../../_common/js/log/log.js';
import '../../utils/dom.js';
import 'vue';
import 'raf';
import 'lodash/isString';
import '../../utils/easing.js';
import '../tr.js';
import 'lodash/upperFirst';
import 'lodash/pick';
import '../../hooks/useLazyLoad.js';
import '../../_common/js/utils/observe.js';
import '../utils.js';
import 'lodash/isObject';
import './useFixed.js';
import 'lodash/debounce';
import '../../_common/js/utils/getScrollbarWidth.js';
import '../../_common/js/utils/helper.js';
import '@babel/runtime/helpers/toConsumableArray';
import 'lodash/isNull';
import 'lodash/isUndefined';
import 'lodash/isArray';
import './useClassName.js';
import '../ellipsis.js';
import '../../utils/render-tnode.js';
import 'lodash/kebabCase';
import '../../tooltip/index.js';
import '../../utils/map-props.js';
import '../../utils/withInstall.js';
import 'lodash/capitalize';
import '../../tooltip/tooltip.js';
import '../../popup/props.js';
import '../../popup/popup.js';
import '@popperjs/core';
import '../../_common/js/utils/set-style.js';
import '../../config-provider/config-receiver.js';
import '../../utils/mixins.js';
import '../../utils/event.js';
import '../../popup/container.js';
import '../../popup/utils.js';
import '../../popup/trigger.js';
import '../../tooltip/props.js';
import '../../tooltip/style';
import '../../tooltip/type.js';
import '../base-table-props.js';
import './useRowspanAndColspan.js';

function useEditableCell(props, context) {
  var renderEditableCell = function renderEditableCell(h, p) {
    return h(EditableCell, helper([{}, {
      "props": p
    }, {
      "scopedSlots": context.slots
    }]));
  };
  return {
    renderEditableCell: renderEditableCell
  };
}

export { useEditableCell as default };
//# sourceMappingURL=useEditableCell.js.map
