UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

3 lines (2 loc) 1.74 kB
"use strict";const r=require("../utils-Bndrzhtw.cjs"),i=require("../constants-CHwVJpfT.cjs"),e=require("vue"),l=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),o={name:"DtIconMonitorOff",props:{size:{type:String,default:"500",validator:t=>Object.keys(i.I).includes(t)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return i.I[this.size]},ariaHidden(){return this.ariaLabel?"false":"true"},dataQA(){return this.$attrs["data-qa"]??"dt-icon"}},created(){this.$emit("loaded"),this.uniqueID=r.g()}},d=["aria-label","data-qa","aria-hidden"],s=["clip-path"],c=e.createElementVNode("path",{d:"M4 1.5a.5.5 0 0 1 .5-.5H10a1.5 1.5 0 0 1 1.5 1.5v5a.5.5 0 0 1-1 0v-5A.5.5 0 0 0 10 2H4.5a.5.5 0 0 1-.5-.5Zm-3.5 1v5A1.5 1.5 0 0 0 2 9h3.5v1H4a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H6.5V9h1.793l2.353 2.354a.5.5 0 0 0 .708-.708l-10-10a.5.5 0 1 0-.708.708l.145.144A1.741 1.741 0 0 0 .5 2.5Zm1.146 5.354A.5.5 0 0 0 2 8h5.293L1.534 2.241A.92.92 0 0 0 1.5 2.5v5a.5.5 0 0 0 .146.354Z"},null,-1),u=[c],h=["id"],_=e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1),f=[_];function m(t,v,n,g,q,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--monitor-off"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Monitor Off",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{"clip-path":`url(#${t.uniqueID}a)`,"fill-rule":"evenodd","clip-rule":"evenodd",fill:"currentColor"},u,8,s),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${t.uniqueID}a`},f,8,h)])],10,d)}const p=l._(o,[["render",m]]);module.exports=p; //# sourceMappingURL=monitor-off.cjs.map