@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.72 kB
JavaScript
;const r=require("../../utils-Bndrzhtw.cjs"),l=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),d=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),s={name:"DtIconLink2Off",props:{size:{type:String,default:"500",validator:a=>Object.keys(l.I).includes(a)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return l.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()}},o=["aria-label","data-qa","aria-hidden"],u=["clip-path"],c=["id"];function f(a,t,n,p,m,i){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([i.iconSizeClass,"d-icon d-icon--link-2-off"]),"data-qa":i.dataQA,"aria-hidden":i.ariaHidden,role:"img","data-name":"Link 2 Off",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{"clip-path":`url(#${a.uniqueID}a)`,fill:"currentColor"},[...t[0]||(t[0]=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 3.5a.5.5 0 0 1 .5-.5h1a3 3 0 0 1 2.4 4.8.5.5 0 1 1-.8-.6A2 2 0 0 0 8.5 4h-1a.5.5 0 0 1-.5-.5Z"},null,-1),e.createElementVNode("path",{d:"M2.086 4.586A2 2 0 0 0 3.5 8h1a.5.5 0 1 1 0 1h-1a3 3 0 0 1-1.026-5.819L.647 1.354a.5.5 0 1 1 .707-.708l10 10a.5.5 0 0 1-.707.708L5.793 6.5H4a.5.5 0 0 1 0-1h.793l-1.49-1.49a2 2 0 0 0-1.217.576Z"},null,-1)])],8,u),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${a.uniqueID}a`},[...t[1]||(t[1]=[e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1)])],8,c)])],10,o)}const h=d._(s,[["render",f]]);module.exports=h;
//# sourceMappingURL=link-2-off.cjs.map