UNPKG

@dialpad/dialtone-icons

Version:
3 lines (2 loc) 1.31 kB
"use strict";const i=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),n=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),d={name:"DtIconPower",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")}},o=["aria-label","data-qa","aria-hidden"];function s(t,r,l,u,p,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":l.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--power"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Power",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"},[...r[0]||(r[0]=[e.createElementVNode("path",{fill:"currentColor","fill-rule":"evenodd",d:"M3.168 2.966a.5.5 0 0 1 0 .708 4 4 0 1 0 5.658 0 .5.5 0 1 1 .708-.707 5 5 0 1 1-7.073 0 .5.5 0 0 1 .708 0Z","clip-rule":"evenodd"},null,-1),e.createElementVNode("path",{fill:"currentColor","fill-rule":"evenodd",d:"M6 .5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0V1A.5.5 0 0 1 6 .5Z","clip-rule":"evenodd"},null,-1)])],10,o)}const c=n._(d,[["render",s]]);module.exports=c; //# sourceMappingURL=power.cjs.map