@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.7 kB
JavaScript
;const n=require("../utils-Bndrzhtw.cjs"),i=require("../constants-CHwVJpfT.cjs"),e=require("vue"),l=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),d={name:"DtIconFastForward",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"),this.uniqueID=n.g()}},s=["aria-label","data-qa","aria-hidden"],o=["clip-path"],c=e.createElementVNode("path",{d:"M6.28 2.051a.5.5 0 0 1 .527.054l4.5 3.5a.5.5 0 0 1 0 .79l-4.5 3.5A.5.5 0 0 1 6 9.5v-7a.5.5 0 0 1 .28-.449ZM7 3.522v4.956L10.186 6 7 3.522Z"},null,-1),u=e.createElementVNode("path",{d:"M.78 2.051a.5.5 0 0 1 .527.054l4.5 3.5a.5.5 0 0 1 0 .79l-4.5 3.5A.5.5 0 0 1 .5 9.5v-7a.5.5 0 0 1 .28-.449Zm.72 1.471v4.956L4.686 6 1.5 3.522Z"},null,-1),_=[c,u],h=["id"],p=e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1),m=[p];function f(t,g,r,q,w,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":r.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--fast-forward"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Fast Forward",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"},[e.createElementVNode("g",{"clip-path":`url(#${t.uniqueID}a)`,fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},_,8,o),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${t.uniqueID}a`},m,8,h)])],10,s)}const v=l._(d,[["render",f]]);module.exports=v;
//# sourceMappingURL=fast-forward.cjs.map