yuang-framework-ui-pc
Version:
yuang-framework-ui-pc Library
33 lines (32 loc) • 966 B
JavaScript
;
const vue = require("vue");
const props = require("./props");
const _sfc_main = vue.defineComponent({
name: "EleTable",
props: props.tableProps
});
const _export_sfc = (sfc, props2) => {
const target = sfc.__vccOpts || sfc;
for (const [key, val] of props2) {
target[key] = val;
}
return target;
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("table", {
class: vue.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 }
])
}, [
vue.renderSlot(_ctx.$slots, "default")
], 2);
}
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
module.exports = index;