UNPKG

@dialpad/dialtone-icons

Version:
3 lines (2 loc) 2.3 kB
"use strict";const d=require("../../utils-Bndrzhtw.cjs"),i=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),r=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),o={name:"DtIconGoogleSlides",props:{size:{type:String,default:"500",validator:l=>Object.keys(i.I).includes(l)},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=d.g()}},s=["aria-label","data-qa","aria-hidden"],u=["fill"],m=["id"];function p(l,t,n,c,v,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--google-slides"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Google Slides",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[t[1]||(t[1]=e.createElementVNode("path",{d:"M5.5 1A1.5 1.5 0 0 0 4 2.5v19A1.5 1.5 0 0 0 5.5 23h13a1.5 1.5 0 0 0 1.5-1.5V7l-6-6H5.5Z",fill:"#F4B70A"},null,-1)),t[2]||(t[2]=e.createElementVNode("path",{d:"M5.5 23A1.5 1.5 0 0 1 4 21.5v-.25a1.5 1.5 0 0 0 1.5 1.5h13a1.5 1.5 0 0 0 1.5-1.5v.25a1.5 1.5 0 0 1-1.5 1.5h-13Z",fill:"#EFA904"},null,-1)),t[3]||(t[3]=e.createElementVNode("path",{d:"M5.5 1A1.5 1.5 0 0 0 4 2.5v.25a1.5 1.5 0 0 1 1.5-1.5h8.75L14 1H5.5Z",fill:"#F6C028"},null,-1)),e.createElementVNode("path",{d:"M20 12.125V7l-.875-.875h-4.22a.375.375 0 0 0-.265.64l5.36 5.36Z",fill:`url(#${l.uniqueID}a)`},null,8,u),t[4]||(t[4]=e.createElementVNode("path",{d:"m14 1 6 6h-4.5A1.5 1.5 0 0 1 14 5.5V1Z",fill:"#FADC87"},null,-1)),t[5]||(t[5]=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.5 11a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-7Zm6.5 2.25H9v3.5h6v-3.5Z",fill:"#fff"},null,-1)),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`${l.uniqueID}a`,x1:"17.265",y1:"12.125",x2:"17.265",y2:"6",gradientUnits:"userSpaceOnUse"},[...t[0]||(t[0]=[e.createElementVNode("stop",{"stop-color":"#F4B70A"},null,-1),e.createElementVNode("stop",{offset:"1","stop-color":"#E2930A"},null,-1)])],8,m)])],10,s)}const f=r._(o,[["render",p]]);module.exports=f; //# sourceMappingURL=google-slides.cjs.map