import { DtIconDialbot as E, DtIconInbox as o, DtIconContacts as c, DtIconHash as r, DtIconThread as a, DtIconLayoutTemplate as s, DtIconLock as i, DtIconSparkle as l, DtIconUsers as p, DtIconExternalLink as C, DtIconLockFilled as I, DtIconHashBold as _, DtIconAtSign as T, DtIconLaptop2 as D, DtIconCalendarClock as d } from "@dialpad/dialtone-icons/vue2";
import { LEFTBAR_GENERAL_ROW_TYPES as t, LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS as A } from "./general-row-constants.js";
import { n as N } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
const L = /* @__PURE__ */ new Map([
  [t.INBOX, o],
  [t.CONTACTS, c],
  [t.CHANNELS, r],
  [t.THREADS, a],
  [t.LAUNCHPAD, s],
  [t.LOCKED_CHANNEL, i],
  [t.QUICK_START, l],
  [t.COACHING_GROUP, p],
  [t.COACHING_CENTER, C],
  ["locked channel unread", I],
  ["channel unread", _],
  [t.ASSIGNED, T],
  [t.DIGITAL, D],
  [t.SCHEDULED, d]
]), R = {
  name: "DtRecipeLeftbarGeneralRowIcon",
  components: {
    DtIconDialbot: E,
    DtIconInbox: o,
    DtIconContacts: c,
    DtIconHash: r,
    DtIconThread: a,
    DtIconLayoutTemplate: s,
    DtIconLock: i,
    DtIconSparkle: l,
    DtIconUsers: p,
    DtIconExternalLink: C,
    DtIconLockFilled: I,
    DtIconHashBold: _,
    DtIconAtSign: T,
    DtIconLaptop2: D,
    DtIconCalendarClock: d
  },
  props: {
    type: {
      type: String,
      default: null
    },
    color: {
      type: String,
      default: null
    },
    iconSize: {
      type: String,
      default: "300"
    }
  },
  computed: {
    isIconType() {
      return ![t.DIALBOT, t.CONTACT_CENTER].includes(this.type);
    },
    isContactCenterType() {
      return this.type === t.CONTACT_CENTER;
    },
    isDialbotType() {
      return this.type === t.DIALBOT;
    },
    getIconName() {
      return L.get(this.type);
    },
    contactCenterIconClasses() {
      return [
        "d-recipe-leftbar-row__icon-cc",
        A[this.color]
      ];
    }
  }
};
var m = function() {
  var e = this, n = e._self._c;
  return e.isIconType ? n(e.getIconName, { tag: "component", attrs: { size: e.iconSize } }) : e.isContactCenterType ? n("div", { class: e.contactCenterIconClasses }) : e.isDialbotType ? n("div", { staticClass: "d-recipe-leftbar-general-row__icon", attrs: { "data-qa": "general-row-dialbot" } }, [n("dt-icon-dialbot", { attrs: { size: "500" } })], 1) : e._e();
}, u = [], f = /* @__PURE__ */ N(
  R,
  m,
  u
);
const b = f.exports;
export {
  b as default
};
//# sourceMappingURL=leftbar-general-row-icon.js.map
