@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.61 kB
JavaScript
;const n=require("../../utils-Bndrzhtw.cjs"),i=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),r=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),d={name:"DtIconPlayCircleFilled",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=n.g()}},s=["aria-label","data-qa","aria-hidden"],c=["clip-path"],o=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M.563 6a5.437 5.437 0 1 0 10.875 0A5.437 5.437 0 0 0 .563 6Zm4.231 2.386a.437.437 0 0 0 .45-.022l3-2a.438.438 0 0 0 0-.728l-3-2a.438.438 0 0 0-.68.364v4c0 .162.088.31.23.386Zm.644-1.203V4.818L7.212 6 5.438 7.183Z",fill:"currentColor"},null,-1),u=[o],_=["id"],h=e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1),p=[h];function m(t,g,l,q,v,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":l.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--play-circle-filled"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Play Circle Filled",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{"clip-path":`url(#${t.uniqueID}a)`},u,8,c),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${t.uniqueID}a`},p,8,_)])],10,s)}const f=r._(d,[["render",m]]);module.exports=f;
//# sourceMappingURL=play-circle-filled.cjs.map