birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
22 lines (21 loc) • 997 B
JavaScript
;
const pagination_vue_vue_type_script_lang = require("./pagination.vue2.js");
const vue = require("vue");
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("div", {
class: vue.normalizeClass(_ctx.name)
}, [
vue.createElementVNode("ul", {
class: vue.normalizeClass(`${_ctx.name}-container`)
}, [
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.componentsList, (item) => {
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.component), vue.mergeProps(item.bind, {
[vue.toHandlerKey(item.eventName)]: item.event
}), null, 16);
}), 256))
], 2)
], 2);
}
const _pagination = /* @__PURE__ */ _pluginVue_exportHelper(pagination_vue_vue_type_script_lang, [["render", _sfc_render]]);
module.exports = _pagination;