UNPKG

yuang-framework-ui-pc

Version:

yuang-framework-ui-pc Library

31 lines (30 loc) 865 B
"use strict"; const vue = require("vue"); const _sfc_main = vue.defineComponent({ name: "EleFileListTool", emits: { click: (_e) => true }, setup(_props, { emit }) { return { handleClick: (e) => emit("click", e) }; } }); 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 vue.openBlock(), vue.createElementBlock("div", { class: "ele-file-list-item-tool", onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["stop"])) }, [ vue.renderSlot(_ctx.$slots, "default") ]); } const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); module.exports = index;