@dialpad/dialtone-icons
Version:
Dialtone icon library
2 lines • 2.23 kB
JavaScript
const e=require(`../../utils-B9pJFisR.cjs`),t=require(`../../constants-Dk9LMgRJ.cjs`),n=require(`../../_plugin-vue_export-helper-CX7YVcP6.cjs`);let r=require(`vue`);var i={name:`DtIconPhoneOff`,props:{size:{type:String,default:`500`,validator:e=>Object.keys(t.t).includes(e)},ariaLabel:{type:String,default:void 0}},emits:[`loaded`],computed:{iconSizeClass(){return t.t[this.size]},ariaHidden(){return this.ariaLabel?`false`:`true`},dataQA(){return this.$attrs[`data-qa`]??`dt-icon`}},created(){this.$emit(`loaded`),this.uniqueID=e.t()}},a=[`aria-label`,`data-qa`,`aria-hidden`],o=[`clip-path`],s=[`id`];function c(e,t,n,i,c,l){return(0,r.openBlock)(),(0,r.createElementBlock)(`svg`,{"aria-label":n.ariaLabel,class:(0,r.normalizeClass)([l.iconSizeClass,`d-icon d-icon--phone-off`]),"data-qa":l.dataQA,"aria-hidden":l.ariaHidden,role:`img`,"data-name":`Phone Off`,viewBox:`0 0 12 12`,xmlns:`http://www.w3.org/2000/svg`},[(0,r.createElementVNode)(`g`,{"clip-path":`url(#${e.uniqueID}a)`,"fill-rule":`evenodd`,"clip-rule":`evenodd`,fill:`currentColor`},[...t[0]||(t[0]=[(0,r.createElementVNode)(`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,o),(0,r.createElementVNode)(`defs`,null,[(0,r.createElementVNode)(`clipPath`,{id:`${e.uniqueID}a`},[...t[1]||(t[1]=[(0,r.createElementVNode)(`path`,{fill:`#fff`,d:`M0 0h12v12H0z`},null,-1)])],8,s)])],10,a)}var l=n.t(i,[[`render`,c]]);module.exports=l;
//# sourceMappingURL=phone-off.cjs.map