UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

3 lines (2 loc) 1.72 kB
"use strict";const l=require("../utils-Bndrzhtw.cjs"),i=require("../constants-CHwVJpfT.cjs"),e=require("vue"),s=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),d={name:"DtIconAttestationOutline",props:{size:{type:String,default:"500",validator:t=>Object.keys(i.I).includes(t)},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=l.g()}},r=["aria-label","data-qa","aria-hidden"],o=["clip-path"],c=e.createElementVNode("path",{d:"M9.442 3.558a.625.625 0 0 1 0 .884l-4 4a.625.625 0 0 1-.884 0l-2-2a.625.625 0 1 1 .884-.884L5 7.116l3.558-3.558a.625.625 0 0 1 .884 0Z"},null,-1),u=e.createElementVNode("path",{d:"M8 1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3ZM4 0a4 4 0 0 0-4 4v4a4 4 0 0 0 4 4h4a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4H4Z"},null,-1),_=[c,u],h=["id"],p=e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1),m=[p];function f(t,g,n,q,V,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--attestation-outline"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Attestation Outline",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{"clip-path":`url(#${t.uniqueID}a)`,"fill-rule":"evenodd","clip-rule":"evenodd",fill:"currentColor"},_,8,o),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${t.uniqueID}a`},m,8,h)])],10,r)}const v=s._(d,[["render",f]]);module.exports=v; //# sourceMappingURL=attestation-outline.cjs.map