/**
 * ldesign v0.2.14
 * (c) 2022/11/2 16:16 built by swimly
 * @license MIT
 */

'use strict';

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

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');
var components_list_props = require('./props.js');
require('vue');
require('lodash');
require('lodash/mergeWith');
require('../config-provider/context.js');
require('../../chunks/zh_CN.js');

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

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