UNPKG

@dialpad/dialtone-icons

Version:
3 lines (2 loc) 1.35 kB
"use strict";const i=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),l=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),d={name:"DtIconStrikethrough",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,n,u,h,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--strikethrough"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Strikethrough",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[...r[0]||(r[0]=[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.5 1.5H8a.5.5 0 1 1 0 1H4.5a1.001 1.001 0 0 0-.943 1.333.5.5 0 1 1-.943.334A2 2 0 0 1 4.5 1.5Z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M9.5 8A2.5 2.5 0 0 1 7 10.5H3a.5.5 0 0 1 0-1h4a1.5 1.5 0 0 0 0-3H2a.5.5 0 0 1 0-1h8a.5.5 0 1 1 0 1H9c.323.43.5.956.5 1.5Z",fill:"currentColor"},null,-1)])],10,o)}const c=l._(d,[["render",s]]);module.exports=c; //# sourceMappingURL=strikethrough.cjs.map