import { DtIconBell as o, DtIconAlertCircle as r, DtIconAlertTriangle as c, DtIconCheckCircle as a, DtIconInfo as i } from "@dialpad/dialtone-icons/vue2";
import { NOTICE_KINDS as s } from "./notice-constants.js";
import { n as d } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
const l = /* @__PURE__ */ new Map([
  ["info", i],
  ["success", a],
  ["warning", c],
  ["error", r],
  ["base", o]
]), _ = {
  name: "DtNoticeIcon",
  components: {
    DtIconInfo: i,
    DtIconCheckCircle: a,
    DtIconAlertTriangle: c,
    DtIconAlertCircle: r,
    DtIconBell: o
  },
  props: {
    /**
     * Kind of icon
     * @values base, error, info, success, warning
     */
    kind: {
      type: String,
      default: "base",
      validate(n) {
        return s.includes(n);
      }
    }
  },
  computed: {
    defaultIcon() {
      return l.get(this.kind);
    }
  }
};
var f = function() {
  var t = this, e = t._self._c;
  return t.defaultIcon || t.$slots.default ? e("div", { staticClass: "d-notice__icon", attrs: { "aria-hidden": "true" } }, [t._t("default", function() {
    return [e(t.defaultIcon, { tag: "component", attrs: { size: "400" } })];
  })], 2) : t._e();
}, u = [], m = /* @__PURE__ */ d(
  _,
  f,
  u
);
const v = m.exports;
export {
  v as default
};
//# sourceMappingURL=notice-icon.js.map
