@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.27 kB
JavaScript
;const i=require("../constants-CHwVJpfT.cjs"),e=require("vue"),r=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),s={name:"DtIconMicrosoft",props:{size:{type:String,default:"500",validator:a=>Object.keys(i.I).includes(a)},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")}},l=["aria-label","data-qa","aria-hidden"],d=e.createElementVNode("path",{d:"M11.5 2H2v9.5h9.5V2z",fill:"#F25022"},null,-1),o=e.createElementVNode("path",{d:"M22 2h-9.5v9.5H22V2z",fill:"#7FBA00"},null,-1),c=e.createElementVNode("path",{d:"M11.5 12.5H2V22h9.5v-9.5z",fill:"#00A4EF"},null,-1),_=e.createElementVNode("path",{d:"M22 12.5h-9.5V22H22v-9.5z",fill:"#FFB900"},null,-1),u=[d,o,c,_];function h(a,f,n,p,v,t){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([t.iconSizeClass,"d-icon d-icon--microsoft"]),"data-qa":t.dataQA,"aria-hidden":t.ariaHidden,role:"img","data-name":"Microsoft",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},u,10,l)}const m=r._(s,[["render",h]]);module.exports=m;
//# sourceMappingURL=microsoft.cjs.map