@dialpad/dialtone-icons
Version:
Dialtone icon library
63 lines (62 loc) • 2.49 kB
JavaScript
import { t as e } from "../../utils-C1uyTI6x.js";
import { t } from "../../constants-B7fXbm2f.js";
import { t as n } from "../../_plugin-vue_export-helper-B52Kst-M.js";
import { createElementBlock as r, createElementVNode as i, normalizeClass as a, openBlock as o } from "vue";
//#region ../src/icons/phone-off.vue
var s = {
name: "DtIconPhoneOff",
props: {
size: {
type: String,
default: "500",
validator: (e) => Object.keys(t).includes(e)
},
ariaLabel: {
type: String,
default: void 0
}
},
emits: ["loaded"],
computed: {
iconSizeClass() {
return t[this.size];
},
ariaHidden() {
return this.ariaLabel ? "false" : "true";
},
dataQA() {
return this.$attrs["data-qa"] ?? "dt-icon";
}
},
created() {
this.$emit("loaded"), this.uniqueID = e();
}
}, c = [
"aria-label",
"data-qa",
"aria-hidden"
], l = ["clip-path"], u = ["id"];
function d(e, t, n, s, d, f) {
return o(), r("svg", {
"aria-label": n.ariaLabel,
class: a([f.iconSizeClass, "d-icon d-icon--phone-off"]),
"data-qa": f.dataQA,
"aria-hidden": f.ariaHidden,
role: "img",
"data-name": "Phone Off",
viewBox: "0 0 12 12",
xmlns: "http://www.w3.org/2000/svg"
}, [i("g", {
"clip-path": `url(#${e.uniqueID}a)`,
"fill-rule": "evenodd",
"clip-rule": "evenodd",
fill: "currentColor"
}, [...t[0] || (t[0] = [i("path", { d: "M11.354 1.354a.5.5 0 0 0-.708-.708l-10 10a.5.5 0 0 0 .708.708l2.838-2.84c2.108 1.826 4.503 2.31 5.628 2.439.67.077 1.18-.463 1.18-1.077V8.738c0-.516-.352-.966-.853-1.091l-1.439-.359a1.125 1.125 0 0 0-1.068.296L6.394 8.832A8.88 8.88 0 0 1 4.9 7.806l6.453-6.452ZM7.35 9.289a9.893 9.893 0 0 0 2.583.67.05.05 0 0 0 .023-.002.046.046 0 0 0 .017-.01.096.096 0 0 0 .026-.072V8.738a.125.125 0 0 0-.095-.121l-1.439-.359a.125.125 0 0 0-.118.033l-.997.998ZM2.007 2.05c0-.009.001-.013.002-.016a.035.035 0 0 1 .009-.011A.093.093 0 0 1 2.083 2H3.26c.057 0 .107.04.121.095L3.73 3.49a.125.125 0 0 1-.041.126l-1.128.941a7.987 7.987 0 0 1-.554-2.508ZM4.33 4.385 3.001 5.493c.125.226.266.455.424.684a.5.5 0 0 1-.823.568A9.075 9.075 0 0 1 1.009 2.1C.977 1.457 1.506 1 2.083 1H3.26c.516 0 .966.351 1.091.852l.35 1.396c.104.42-.04.86-.372 1.137Z" }, null, -1)])], 8, l), i("defs", null, [i("clipPath", { id: `${e.uniqueID}a` }, [...t[1] || (t[1] = [i("path", {
fill: "#fff",
d: "M0 0h12v12H0z"
}, null, -1)])], 8, u)])], 10, c);
}
var f = /* @__PURE__ */ n(s, [["render", d]]);
//#endregion
export { f as default };
//# sourceMappingURL=phone-off.js.map