@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.85 kB
JavaScript
;const l=require("../utils-Bndrzhtw.cjs"),i=require("../constants-CHwVJpfT.cjs"),e=require("vue"),d=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),r={name:"DtIconCalendarOff",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=l.g()}},s=["aria-label","data-qa","aria-hidden"],o=["clip-path"],c=e.createElementVNode("path",{d:"M4.75 1.5a.5.5 0 0 0 0 1H7.5V3a.5.5 0 0 0 1 0v-.5h1a.5.5 0 0 1 .5.5v1.5H7.75a.5.5 0 0 0 0 1H10v2.25a.5.5 0 0 0 1 0V3a1.5 1.5 0 0 0-1.5-1.5h-1V1a.5.5 0 0 0-1 0v.5H4.75Z"},null,-1),u=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.501 11.5a1.5 1.5 0 0 0 .95-.342l.195.196a.5.5 0 0 0 .708-.708l-10-10a.5.5 0 1 0-.708.708l.707.706-.112.126A1.5 1.5 0 0 0 1 3v7a1.5 1.5 0 0 0 1.5 1.5h7.001ZM2 10a.5.5 0 0 0 .5.5h6.999c.082 0 .163-.02.235-.06L4.793 5.5H2V10Zm0-5.5V3a.5.5 0 0 1 .06-.234L3.792 4.5H2Z"},null,-1),h=[c,u],_=["id"],f=e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1),p=[f];function m(a,V,n,g,q,t){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([t.iconSizeClass,"d-icon d-icon--calendar-off"]),"data-qa":t.dataQA,"aria-hidden":t.ariaHidden,role:"img","data-name":"Calendar Off",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{"clip-path":`url(#${a.uniqueID}a)`,fill:"currentColor"},h,8,o),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${a.uniqueID}a`},p,8,_)])],10,s)}const v=d._(r,[["render",m]]);module.exports=v;
//# sourceMappingURL=calendar-off.cjs.map