@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 4.14 kB
JavaScript
"use strict";const i=require("../../utils-Bndrzhtw.cjs"),s=require("../../constants-CHwVJpfT.cjs"),o=require("vue"),p=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),r={name:"DtIconDpmLogo",props:{size:{type:String,default:"500",validator:t=>Object.keys(s.I).includes(t)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return s.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"],l=o.createElementVNode("rect",{width:"24",height:"24",rx:"3.6",fill:"#F2F0EE"},null,-1),n=["fill"],d=o.createElementVNode("path",{d:"M14.407 5.563a3 3 0 0 1 3.001 3v6.828c0 1.656-1.344 3-3 3H7.562a3 3 0 0 1-3-3V8.562a3 3 0 0 1 3-3h6.844Zm-.69 4.22v2.31c-.234-.357-.758-.632-1.308-.632-1.183 0-2.034.94-2.034 2.236 0 1.297.85 2.244 2.034 2.244.55 0 1.074-.283 1.308-.64v.557h.967V9.782h-.967Zm-1.15 2.518c.625 0 1.091.457 1.15 1.113v.549c-.059.657-.525 1.139-1.15 1.139-.7 0-1.2-.582-1.2-1.414 0-.83.5-1.387 1.2-1.387Zm-3.05-4.615c-.01-.068-.13-.085-.155-.021-.398 1.228-1.26 2.189-2.408 2.657-.056.027-.045.12.015.135.904.217 1.605 1.022 1.762 2.03.011.065.12.08.146.018.46-1.285 1.34-2.25 2.457-2.627.058-.026.045-.127-.017-.14-.925-.206-1.645-1.025-1.8-2.052Z",fill:"#10022C"},null,-1),f=["fill"],u=["id"],h=o.createStaticVNode('<stop offset=".06" stop-color="#10022C"></stop><stop offset=".2" stop-color="#611F93"></stop><stop offset=".29" stop-color="#8223A1"></stop><stop offset=".366" stop-color="#9325A5"></stop><stop offset=".459" stop-color="#C52599" stop-opacity=".9"></stop><stop offset=".564" stop-color="#D52C86"></stop><stop offset=".658" stop-color="#EA2F6F"></stop><stop offset=".737" stop-color="#F64850"></stop><stop offset=".896" stop-color="#FD6D2D"></stop><stop offset=".955" stop-color="#FF9E0E" stop-opacity=".95"></stop>',10),_=[h],m=["id"],v=o.createStaticVNode('<stop offset=".06" stop-color="#10022C"></stop><stop offset=".2" stop-color="#611F93"></stop><stop offset=".29" stop-color="#8223A1"></stop><stop offset=".366" stop-color="#9325A5"></stop><stop offset=".459" stop-color="#C52599" stop-opacity=".9"></stop><stop offset=".564" stop-color="#D52C86"></stop><stop offset=".658" stop-color="#EA2F6F"></stop><stop offset=".737" stop-color="#F64850"></stop><stop offset=".896" stop-color="#FD6D2D"></stop><stop offset=".955" stop-color="#FF9E0E" stop-opacity=".95"></stop>',10),D=[v];function E(t,g,a,V,q,e){return o.openBlock(),o.createElementBlock("svg",{"aria-label":a.ariaLabel,class:o.normalizeClass([e.iconSizeClass,"d-icon d-icon--dpm-logo"]),"data-qa":e.dataQA,"aria-hidden":e.ariaHidden,role:"img","data-name":"Dpm Logo",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l,o.createElementVNode("path",{d:"M17.054 13.57v-3.216c0-.294.158-.565.414-.71l1.84-1.047a.818.818 0 0 1 1.223.71v5.345a.818.818 0 0 1-1.233.705l-1.84-1.082a.818.818 0 0 1-.404-.706Z",fill:`url(#${t.uniqueID}a)`},null,8,n),d,o.createElementVNode("path",{d:"M14.407 5.563a3 3 0 0 1 3.001 3v6.828c0 1.656-1.344 3-3 3H7.562a3 3 0 0 1-3-3V8.562a3 3 0 0 1 3-3h6.844Zm-.69 4.22v2.31c-.234-.357-.758-.632-1.308-.632-1.183 0-2.034.94-2.034 2.236 0 1.297.85 2.244 2.034 2.244.55 0 1.074-.283 1.308-.64v.557h.967V9.782h-.967Zm-1.15 2.518c.625 0 1.091.457 1.15 1.113v.549c-.059.657-.525 1.139-1.15 1.139-.7 0-1.2-.582-1.2-1.414 0-.83.5-1.387 1.2-1.387Zm-3.05-4.615c-.01-.068-.13-.085-.155-.021-.398 1.228-1.26 2.189-2.408 2.657-.056.027-.045.12.015.135.904.217 1.605 1.022 1.762 2.03.011.065.12.08.146.018.46-1.285 1.34-2.25 2.457-2.627.058-.026.045-.127-.017-.14-.925-.206-1.645-1.025-1.8-2.052Z",fill:`url(#${t.uniqueID}b)`},null,8,f),o.createElementVNode("defs",null,[o.createElementVNode("linearGradient",{id:`${t.uniqueID}a`,x1:"10.987",y1:"2.72",x2:"23.248",y2:"4.266",gradientUnits:"userSpaceOnUse"},_,8,u),o.createElementVNode("linearGradient",{id:`${t.uniqueID}b`,x1:"2.555",y1:"2.796",x2:"17.788",y2:"18.411",gradientUnits:"userSpaceOnUse"},D,8,m)])],10,c)}const F=p._(r,[["render",E]]);module.exports=F;
//# sourceMappingURL=dpm-logo.cjs.map