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

'use strict';

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

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

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

exports["default"] = useEditableCell;
//# sourceMappingURL=useEditableCell.js.map
