@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 3.94 kB
JavaScript
"use strict";const a=require("../utils-Bndrzhtw.cjs"),s=require("../constants-CHwVJpfT.cjs"),e=require("vue"),n=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),l={name:"DtIconOffice365",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=a.g()}},d=["aria-label","data-qa","aria-hidden"],r=["fill"],c=["fill"],p=["fill"],u=["fill"],_=["fill"],f=["id"],h=e.createStaticVNode('<stop stop-color="#FFB900"></stop><stop offset=".166" stop-color="#EF8400"></stop><stop offset=".313" stop-color="#E25C01"></stop><stop offset=".429" stop-color="#DB4401"></stop><stop offset=".5" stop-color="#D83B01"></stop>',5),m=[h],V=["id"],E=e.createStaticVNode('<stop stop-color="#800600"></stop><stop offset=".6" stop-color="#C72127"></stop><stop offset=".728" stop-color="#C13959"></stop><stop offset=".847" stop-color="#BC4B81"></stop><stop offset=".942" stop-color="#B95799"></stop><stop offset="1" stop-color="#B85BA2"></stop>',6),N=[E],q=["id"],y=e.createElementVNode("stop",{"stop-color":"#F32B44"},null,-1),g=e.createElementVNode("stop",{offset:".6","stop-color":"#A4070A"},null,-1),D=[y,g],I=["id"],v=e.createElementVNode("stop",{"stop-opacity":".4"},null,-1),B=e.createElementVNode("stop",{offset:"1","stop-opacity":"0"},null,-1),$=[v,B],S=["id"],z=e.createElementVNode("stop",{"stop-opacity":".4"},null,-1),U=e.createElementVNode("stop",{offset:"1","stop-opacity":"0"},null,-1),b=[z,U];function O(t,C,i,L,w,o){return e.openBlock(),e.createElementBlock("svg",{"aria-label":i.ariaLabel,class:e.normalizeClass([o.iconSizeClass,"d-icon d-icon--office-365"]),"data-qa":o.dataQA,"aria-hidden":o.ariaHidden,role:"img","data-name":"Office 365",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"m12.571 2.069 1.366 3.597v12.297l-1.333 3.97 5.902-1.639a1.904 1.904 0 0 0 1.393-1.834V5.542a1.903 1.903 0 0 0-1.396-1.835L12.571 2.07z",fill:`url(#${t.uniqueID}a)`},null,8,r),e.createElementVNode("path",{d:"m7.239 16.878-1.757.96A1.001 1.001 0 0 1 4 16.96V7.45a1.9 1.9 0 0 1 .954-1.65l6.192-3.553a1.869 1.869 0 0 1 1.642-.107 1.86 1.86 0 0 1 1.15 1.724v1.8L8.904 7.5a1.415 1.415 0 0 0-.93 1.33v6.807a1.415 1.415 0 0 1-.736 1.24z",fill:`url(#${t.uniqueID}b)`},null,8,c),e.createElementVNode("path",{d:"M13.937 17.963v2.214a1.82 1.82 0 0 1-2.713 1.59l-3.88-2.174a.87.87 0 0 1 .425-1.63h6.168z",fill:`url(#${t.uniqueID}c)`},null,8,p),e.createElementVNode("path",{d:"m7.239 16.878-1.757.96A1.001 1.001 0 0 1 4 16.96V7.45a1.9 1.9 0 0 1 .954-1.65l6.192-3.553a1.869 1.869 0 0 1 1.642-.107 1.86 1.86 0 0 1 1.15 1.724v1.8L8.904 7.5a1.415 1.415 0 0 0-.93 1.33v6.807a1.415 1.415 0 0 1-.736 1.24z",fill:`url(#${t.uniqueID}d)`},null,8,u),e.createElementVNode("path",{d:"M13.937 17.963v2.214a1.82 1.82 0 0 1-2.713 1.59l-3.88-2.174a.87.87 0 0 1 .425-1.63h6.168z",fill:`url(#${t.uniqueID}e)`},null,8,_),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`${t.uniqueID}a`,x1:"16.235",y1:".94",x2:"16.235",y2:"20.54",gradientUnits:"userSpaceOnUse"},m,8,f),e.createElementVNode("linearGradient",{id:`${t.uniqueID}b`,x1:"12.782",y1:"1.762",x2:"2.29",y2:"16.747",gradientUnits:"userSpaceOnUse"},N,8,V),e.createElementVNode("linearGradient",{id:`${t.uniqueID}c`,x1:"7.462",y1:"19.982",x2:"20.393",y2:"19.982",gradientUnits:"userSpaceOnUse"},D,8,q),e.createElementVNode("linearGradient",{id:`${t.uniqueID}d`,x1:"12.997",y1:"1.455",x2:"10.775",y2:"4.629",gradientUnits:"userSpaceOnUse"},$,8,I),e.createElementVNode("linearGradient",{id:`${t.uniqueID}e`,x1:"16.26",y1:"20.268",x2:"10.46",y2:"19.761",gradientUnits:"userSpaceOnUse"},b,8,S)])],10,d)}const A=n._(l,[["render",O]]);module.exports=A;
//# sourceMappingURL=office-365.cjs.map