@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.71 kB
JavaScript
;const l=require("../../utils-Bndrzhtw.cjs"),i=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),d=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),r={name:"DtIconLink2Off",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=l.g()}},s=["aria-label","data-qa","aria-hidden"],o=["clip-path"],c=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),u=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),h=[c,u],_=["id"],f=e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1),p=[f];function m(t,q,n,v,b,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--link-2-off"]),"data-qa":a.dataQA,"aria-hidden":a.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(#${t.uniqueID}a)`,fill:"currentColor"},h,8,o),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${t.uniqueID}a`},p,8,_)])],10,s)}const g=d._(r,[["render",m]]);module.exports=g;
//# sourceMappingURL=link-2-off.cjs.map