@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.95 kB
JavaScript
;const d=require("../constants-CHwVJpfT.cjs"),e=require("vue"),r=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),i={name:"DtIconMastercard",props:{size:{type:String,default:"500",validator:a=>Object.keys(d.I).includes(a)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return d.I[this.size]},ariaHidden(){return this.ariaLabel?"false":"true"},dataQA(){return this.$attrs["data-qa"]??"dt-icon"}},created(){this.$emit("loaded")}},n=["aria-label","data-qa","aria-hidden"],s=e.createElementVNode("rect",{x:".25",y:"3.75",width:"23.5",height:"16.5",rx:"1.75",fill:"#fff",stroke:"#E3E5E8","stroke-width":".5"},null,-1),c=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 15.694a4.867 4.867 0 0 1-3.148 1.145C6.172 16.84 4 14.693 4 12.045 4 9.397 6.173 7.25 8.852 7.25c1.201 0 2.3.431 3.148 1.145a4.868 4.868 0 0 1 3.148-1.145c2.68 0 4.852 2.147 4.852 4.795s-2.172 4.794-4.852 4.794c-1.201 0-2.3-.43-3.148-1.145Z",fill:"#ED0006"},null,-1),o=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 15.694a4.761 4.761 0 0 0 1.705-3.65c0-1.46-.662-2.77-1.705-3.649a4.868 4.868 0 0 1 3.148-1.145c2.68 0 4.852 2.147 4.852 4.795s-2.172 4.794-4.852 4.794c-1.201 0-2.3-.43-3.148-1.145Z",fill:"#F9A000"},null,-1),u=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 15.694a4.761 4.761 0 0 0 1.705-3.65c0-1.46-.662-2.77-1.705-3.649a4.761 4.761 0 0 0-1.705 3.65c0 1.461.662 2.77 1.705 3.649Z",fill:"#FF5E00"},null,-1),_=[s,c,o,u];function h(a,p,l,m,v,t){return e.openBlock(),e.createElementBlock("svg",{"aria-label":l.ariaLabel,class:e.normalizeClass([t.iconSizeClass,"d-icon d-icon--mastercard"]),"data-qa":t.dataQA,"aria-hidden":t.ariaHidden,role:"img","data-name":"Mastercard",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},_,10,n)}const f=r._(i,[["render",h]]);module.exports=f;
//# sourceMappingURL=mastercard.cjs.map