UNPKG

@dialpad/dialtone-icons

Version:
3 lines (2 loc) 1.61 kB
"use strict";const r=require("../../utils-Bndrzhtw.cjs"),i=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),d=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),o={name:"DtIconClock1",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"),this.uniqueID=r.g()}},s=["aria-label","data-qa","aria-hidden"],c=["clip-path"],u=["id"];function p(a,t,n,h,f,l){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([l.iconSizeClass,"d-icon d-icon--clock-1"]),"data-qa":l.dataQA,"aria-hidden":l.ariaHidden,role:"img","data-name":"Clock 1",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{"clip-path":`url(#${a.uniqueID}a)`,"fill-rule":"evenodd","clip-rule":"evenodd",fill:"currentColor"},[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM.5 6a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0Z"},null,-1),e.createElementVNode("path",{d:"M6 2.5a.5.5 0 0 1 .5.5v1.257l.326-.522a.5.5 0 0 1 .848.53l-1.25 2A.5.5 0 0 1 5.5 6V3a.5.5 0 0 1 .5-.5Z"},null,-1)])],8,c),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${a.uniqueID}a`},[...t[1]||(t[1]=[e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1)])],8,u)])],10,s)}const m=d._(o,[["render",p]]);module.exports=m; //# sourceMappingURL=clock-1.cjs.map