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

'use strict';

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

var components_list_props = require('./props.js');
var utils_renderNode = require('../../utils/render-node.js');
var components_configProvider_configReceiver = require('../config-provider/config-receiver.js');
var utils_mixins = require('../../utils/mixins.js');
require('@babel/runtime/helpers/defineProperty');
require('@babel/runtime/helpers/typeof');
require('vue');
require('lodash/camelCase');
require('lodash/kebabCase');
require('lodash/mergeWith');
require('lodash');
require('../config-provider/context.js');
require('../../chunks/zh_CN.js');

var classPrefixMixins = components_configProvider_configReceiver.getClassPrefixMixins("list-item");
var _ListItem = utils_mixins["default"](classPrefixMixins).extend({
  name: "LListItem",
  props: components_list_props.ListItemProps,
  render: function render() {
    var h = arguments[0];
    var content = utils_renderNode.renderContent(this, "default", "content");
    var propsActionContent = utils_renderNode.renderLNodeJSX(this, "action");
    return h("li", {
      "class": this.componentName
    }, [h("div", {
      "class": "".concat(this.componentName, "-main")
    }, [h("div", {
      "class": "".concat(this.componentName, "__content")
    }, [content]), propsActionContent && h("li", {
      "class": "".concat(this.componentName, "__action")
    }, [propsActionContent])])]);
  }
});

exports["default"] = _ListItem;
//# sourceMappingURL=list-item.js.map
