@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.64 kB
JavaScript
;const l=require("../../utils-Bndrzhtw.cjs"),i=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),r=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),d={name:"DtIconPinFilled",props:{size:{type:String,default:"500",validator:a=>Object.keys(i.I).includes(a)},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",{d:"M8 .563H4a1.437 1.437 0 0 0 0 2.875h.063V5.38a.562.562 0 0 1-.312.504l-.003.001-.889.45a1.437 1.437 0 0 0-.796 1.285v.88a.438.438 0 0 0 .437.438h3.063v2.063a.437.437 0 1 0 .875 0V8.938H9.5a.437.437 0 0 0 .438-.437v-.88a1.438 1.438 0 0 0-.796-1.286l-.892-.451a.562.562 0 0 1-.312-.503V3.438H8A1.438 1.438 0 1 0 8 .563Z",fill:"currentColor"},null,-1),u=[c],_=["id"],h=e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1),p=[h];function m(a,g,n,q,v,t){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([t.iconSizeClass,"d-icon d-icon--pin-filled"]),"data-qa":t.dataQA,"aria-hidden":t.ariaHidden,role:"img","data-name":"Pin Filled",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{"clip-path":`url(#${a.uniqueID}a)`},u,8,o),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${a.uniqueID}a`},p,8,_)])],10,s)}const f=r._(d,[["render",m]]);module.exports=f;
//# sourceMappingURL=pin-filled.cjs.map