@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 3.74 kB
JavaScript
"use strict";const i=require("../utils-Bndrzhtw.cjs"),n=require("../constants-CHwVJpfT.cjs"),e=require("vue"),a=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),l={name:"DtIconJcb",props:{size:{type:String,default:"500",validator:t=>Object.keys(n.I).includes(t)},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=i.g()}},c=["aria-label","data-qa","aria-hidden"],r=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),d=["fill"],u=["fill"],_=["fill"],h=["id"],p=e.createElementVNode("stop",{"stop-color":"#58B03A"},null,-1),m=e.createElementVNode("stop",{offset:"1","stop-color":"#55B330"},null,-1),f=[p,m],E=["id"],V=e.createElementVNode("stop",{"stop-color":"#0F6EB6"},null,-1),q=e.createElementVNode("stop",{offset:"1","stop-color":"#006DBA"},null,-1),N=[V,q],g=["id"],v=e.createElementVNode("stop",{"stop-color":"#DE0D3D"},null,-1),b=e.createElementVNode("stop",{offset:"1","stop-color":"#E30138"},null,-1),D=[v,b];function y(t,$,s,w,x,o){return e.openBlock(),e.createElementBlock("svg",{"aria-label":s.ariaLabel,class:e.normalizeClass([o.iconSizeClass,"d-icon d-icon--jcb"]),"data-qa":o.dataQA,"aria-hidden":o.ariaHidden,role:"img","data-name":"Jcb",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[r,e.createElementVNode("path",{d:"M15.424 12.393c.375.008.752-.017 1.126.013.378.07.469.643.133.83-.23.124-.502.047-.75.069h-.51v-.912Zm1.342-1.032c.084.295-.2.559-.483.518h-.86c.007-.277-.01-.578.01-.84.344.009.691-.02 1.033.014a.41.41 0 0 1 .3.308Zm2.068-4.36c.016.561.002 1.152.007 1.725-.001 2.33.002 4.66-.002 6.99-.015.873-.789 1.631-1.656 1.649-.868.003-1.736 0-2.604.001v-3.522c.946-.005 1.892.01 2.837-.007.439-.028.92-.317.94-.8.051-.485-.406-.82-.84-.873-.166-.004-.161-.048 0-.068.414-.09.74-.517.618-.946-.104-.451-.603-.626-1.018-.625-.845-.006-1.691-.001-2.537-.003.006-.657-.011-1.315.01-1.972.066-.858.86-1.565 1.714-1.55h2.53Z",fill:`url(#${t.uniqueID}a)`},null,8,d),e.createElementVNode("path",{d:"M5.022 8.638c.022-.871.8-1.624 1.665-1.636.865-.003 1.73 0 2.594-.002-.002 2.917.005 5.834-.003 8.75-.034.861-.802 1.6-1.659 1.615-.866.003-1.732 0-2.599.001v-3.64c.842.198 1.724.283 2.583.151.513-.083 1.074-.335 1.248-.867.128-.455.056-.935.075-1.402v-1.086H7.44c-.006.718.014 1.438-.01 2.155-.04.44-.477.72-.893.705C6.022 13.388 5 13.01 5 13.01c-.002-1.345.015-3.03.022-4.37Z",fill:`url(#${t.uniqueID}b)`},null,8,u),e.createElementVNode("path",{d:"M9.835 10.96c-.078.017-.015-.266-.035-.374.005-.678-.011-1.358.009-2.036.067-.86.866-1.57 1.724-1.55h2.528c-.002 2.917.005 5.834-.004 8.75-.033.861-.802 1.6-1.658 1.615-.866.003-1.733 0-2.6.001v-3.989c.592.486 1.397.561 2.134.563a7.16 7.16 0 0 0 1.648-.214v-.731c-.608.303-1.323.496-1.998.321a1.088 1.088 0 0 1-.804-1.057c-.054-.504.242-1.037.738-1.187.616-.193 1.287-.046 1.864.205.124.065.25.145.2-.062v-.574c-.966-.23-1.993-.314-2.963-.064a2.175 2.175 0 0 0-.783.383Z",fill:`url(#${t.uniqueID}c)`},null,8,_),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`${t.uniqueID}a`,x1:"14.55",y1:"11.962",x2:"18.814",y2:"11.962",gradientUnits:"userSpaceOnUse"},f,8,h),e.createElementVNode("linearGradient",{id:`${t.uniqueID}b`,x1:"4.93",y1:"12.283",x2:"9.211",y2:"12.283",gradientUnits:"userSpaceOnUse"},N,8,E),e.createElementVNode("linearGradient",{id:`${t.uniqueID}c`,x1:"9.793",y1:"12.062",x2:"14.06",y2:"12.062",gradientUnits:"userSpaceOnUse"},D,8,g)])],10,c)}const I=a._(l,[["render",y]]);module.exports=I;
//# sourceMappingURL=jcb.cjs.map