/**
 * tdesign v0.46.4
 * (c) 2022 tdesign
 * @license MIT
 */

'use strict';

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

var helper = require('../../_chunks/dep-d7a1e02c.js');
var table_editableCell = require('../editable-cell.js');
require('@babel/runtime/helpers/slicedToArray');
require('@babel/runtime/helpers/toConsumableArray');
require('@babel/runtime/helpers/typeof');
require('@babel/runtime/helpers/defineProperty');
require('@vue/composition-api');
require('lodash/get');
require('lodash/set');
require('lodash/isFunction');
require('tdesign-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('../tr.js');
require('lodash/upperFirst');
require('lodash/isString');
require('lodash/pick');
require('../utils.js');
require('lodash/isObject');
require('./useFixed.js');
require('lodash/debounce');
require('../../_common/js/log/log.js');
require('../../_common/js/utils/getScrollbarWidth.js');
require('../../_common/js/utils/helper.js');
require('@babel/runtime/helpers/objectWithoutProperties');
require('../../utils/dom.js');
require('vue');
require('raf');
require('../../utils/easing.js');
require('./useClassName.js');
require('../ellipsis.js');
require('../../utils/render-tnode.js');
require('lodash/camelCase');
require('lodash/kebabCase');
require('../../tooltip/index.js');
require('../../tooltip/tooltip.js');
require('../../tooltip/props.js');
require('../../popup/props.js');
require('../../popup/popup.js');
require('@popperjs/core');
require('../../utils/helper.js');
require('../../_common/js/utils/set-style.js');
require('../../popup/container.js');
require('../../config-provider/config-receiver.js');
require('../../utils/mixins.js');
require('../../utils/map-props.js');
require('../../utils/withInstall.js');
require('lodash/capitalize');
require('../base-table-props.js');
require('./useRowspanAndColspan.js');
require('../../hooks/useLazyLoad.js');
require('../../_common/js/utils/observe.js');
require('../../form/form-model.js');
require('@babel/runtime/helpers/asyncToGenerator');
require('@babel/runtime/regenerator');
require('../../_chunks/dep-f8992a6f.js');
require('lodash/isEmpty');
require('lodash/isNumber');

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
