@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.72 kB
JavaScript
;const l=require("../../utils-Bndrzhtw.cjs"),d=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),n=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),s={name:"DtIconAddTask",props:{size:{type:String,default:"500",validator:a=>Object.keys(d.I).includes(a)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return d.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()}},o=["aria-label","data-qa","aria-hidden"],u=["clip-path"],c=["id"];function h(a,t,r,m,f,i){return e.openBlock(),e.createElementBlock("svg",{"aria-label":r.ariaLabel,class:e.normalizeClass([i.iconSizeClass,"d-icon d-icon--add-task"]),"data-qa":i.dataQA,"aria-hidden":i.ariaHidden,role:"img","data-name":"Add Task",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{"clip-path":`url(#${a.uniqueID}a)`},[...t[0]||(t[0]=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.497 2.228A4.058 4.058 0 1 0 6 10.058a.5.5 0 1 1 0 1 5.06 5.06 0 1 1 1.866-9.76.5.5 0 1 1-.369.93Zm3.404-.082a.5.5 0 0 1 0 .708L6.354 7.4a.5.5 0 0 1-.71-.002L4.098 5.837a.5.5 0 0 1 .71-.704L6.003 6.34l4.192-4.193a.5.5 0 0 1 .707 0ZM9 7a.5.5 0 0 1 .5.5v1h1a.5.5 0 1 1 0 1h-1v1a.5.5 0 0 1-1 0v-1h-1a.5.5 0 1 1 0-1h1v-1A.5.5 0 0 1 9 7Z",fill:"currentColor"},null,-1)])],8,u),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,c)])],10,o)}const p=n._(s,[["render",h]]);module.exports=p;
//# sourceMappingURL=add-task.cjs.map