UNPKG

yuang-framework-ui-pc

Version:

yuang-framework-ui-pc Library

34 lines (33 loc) 1 kB
import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot } from "vue"; import { tableProps } from "./props"; const _sfc_main = defineComponent({ name: "EleTable", props: tableProps }); const _export_sfc = (sfc, props) => { const target = sfc.__vccOpts || sfc; for (const [key, val] of props) { target[key] = val; } return target; }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createElementBlock("table", { class: normalizeClass([ "ele-table", { "has-header": _ctx.hasHeader }, { "has-footer": _ctx.hasFooter }, { "is-stripe": _ctx.stripe }, { "is-border": _ctx.border }, { "is-large": _ctx.size === "large" }, { "is-small": _ctx.size === "small" }, { "is-print-skin": _ctx.printSkin } ]) }, [ renderSlot(_ctx.$slots, "default") ], 2); } const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); export { index as default };