UNPKG

epic-designer-cjh

Version:

基于vue3的设计器,可视化开发页面表单

47 lines (46 loc) 1.14 kB
import { defineComponent as i, toRef as o, h as n } from "vue"; import { a as t, c as a } from "./use-rtl-d05cb593.js"; import { u as s } from "./use-style-b9e822e4.js"; const r = t("base-icon", ` height: 1em; width: 1em; line-height: 1em; text-align: center; display: inline-block; position: relative; fill: currentColor; transform: translateZ(0); `, [a("svg", ` height: 1em; width: 1em; `)]), c = i({ name: "BaseIcon", props: { role: String, ariaLabel: String, ariaDisabled: { type: Boolean, default: void 0 }, ariaHidden: { type: Boolean, default: void 0 }, clsPrefix: { type: String, required: !0 }, onClick: Function, onMousedown: Function, onMouseup: Function }, setup(e) { s("-base-icon", r, o(e, "clsPrefix")); }, render() { return n("i", { class: `${this.clsPrefix}-base-icon`, onClick: this.onClick, onMousedown: this.onMousedown, onMouseup: this.onMouseup, role: this.role, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, "aria-disabled": this.ariaDisabled }, this.$slots); } }); export { c as N };