import { defineComponent as n, computed as t, createBlock as i, openBlock as a, unref as l, normalizeClass as c } from "vue";
import m from "../PlSvg/PlSvg.vue.js";
const k = /* @__PURE__ */ n({
  __name: "PlIcon16",
  props: {
    name: {},
    size: {},
    color: {},
    stroke: {}
  },
  setup(r) {
    const e = r, o = t(() => {
      if (typeof e.size == "string") {
        if (e.size === "small") return 12;
        if (e.size === "medium") return 16;
        if (e.size === "large") return 24;
      }
      return e.size ?? 16;
    });
    return (s, u) => (a(), i(l(m), {
      name: `16_${e.name}`,
      class: c([s.$style.icon, "icon-16", "mask-16", `icon-${e.name}`, `mask-${e.name}`]),
      width: o.value,
      height: o.value,
      color: e.color,
      stroke: e.stroke
    }, null, 8, ["name", "class", "width", "height", "color", "stroke"]));
  }
});
export {
  k as default
};
//# sourceMappingURL=PlIcon16.vue2.js.map
