@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.78 kB
JavaScript
;const r=require("../../utils-Bndrzhtw.cjs"),n=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),d=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),s={name:"DtIconPinOff",props:{size:{type:String,default:"500",validator:a=>Object.keys(n.I).includes(a)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return n.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,l,m,h,i){return e.openBlock(),e.createElementBlock("svg",{"aria-label":l.ariaLabel,class:e.normalizeClass([i.iconSizeClass,"d-icon d-icon--pin-off"]),"data-qa":i.dataQA,"aria-hidden":i.ariaHidden,role:"img","data-name":"Pin Off",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{"clip-path":`url(#${a.uniqueID}a)`,"fill-rule":"evenodd","clip-rule":"evenodd",fill:"currentColor"},[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M3.446 1a.5.5 0 0 1 .5-.5H8a1.5 1.5 0 0 1 0 3v1.17a.5.5 0 0 1-1 0V3a.5.5 0 0 1 .5-.5H8a.5.5 0 0 0 0-1H3.946a.5.5 0 0 1-.5-.5ZM.647.647a.5.5 0 0 1 .707 0l10 10a.5.5 0 1 1-.707.707L8.293 9H6.5v2a.5.5 0 1 1-1 0V9h-3a.5.5 0 0 1-.5-.5v-.88a1.5 1.5 0 0 1 .831-1.342l.892-.45A.5.5 0 0 0 4 5.38v-.673L.647 1.354a.5.5 0 0 1 0-.707Zm3.522 6.075a1.5 1.5 0 0 0 .801-1.045L7.293 8H3v-.38a.5.5 0 0 1 .278-.447l.891-.451Z"},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 p=d._(s,[["render",f]]);module.exports=p;
//# sourceMappingURL=pin-off.cjs.map