@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 2.14 kB
JavaScript
;const n=require("../../utils-Bndrzhtw.cjs"),i=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),d=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),s={name:"DtIconBoxes",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=n.g()}},o=["aria-label","data-qa","aria-hidden"],u=["clip-path"],c=["id"];function m(a,t,r,v,f,l){return e.openBlock(),e.createElementBlock("svg",{"aria-label":r.ariaLabel,class:e.normalizeClass([l.iconSizeClass,"d-icon d-icon--boxes"]),"data-qa":l.dataQA,"aria-hidden":l.ariaHidden,role:"img","data-name":"Boxes",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"},[e.createElementVNode("g",{"clip-path":`url(#${a.uniqueID}a)`},[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor","fill-rule":"evenodd",d:"M6 .667a1.5 1.5 0 0 0-.772.214l-1.5.9A1.5 1.5 0 0 0 3 3.064v1.903L1.228 6.031A1.5 1.5 0 0 0 .5 7.314v1.622a1.5 1.5 0 0 0 .728 1.283l1.5.9a1.5 1.5 0 0 0 1.544 0L6 10.083l1.728 1.036a1.5 1.5 0 0 0 1.544 0l1.5-.9a1.5 1.5 0 0 0 .728-1.283V7.314a1.5 1.5 0 0 0-.727-1.283L9 4.967V3.064a1.5 1.5 0 0 0-.728-1.283l-1.5-.9A1.5 1.5 0 0 0 6 .667Zm-.5 8.55V7.633l-1.5.9v1.583l1.5-.9Zm1 0 1.5.899V8.533l-1.5-.9v1.584Zm0-3.35 1.5-.9V3.38l-1.5.902v1.584Zm1.026-3.368-1.268-.76a.501.501 0 0 0-.516 0l-1.267.76L6 3.417l1.526-.918ZM4 3.381v1.586l1.5.9V4.283L4 3.38ZM6.972 6.75 8.5 5.833l1.526.916-1.526.918-1.528-.917Zm3.528.88v1.304a.5.5 0 0 1-.242.427L9 10.116V8.533l1.5-.902Zm-7-1.797 1.528.917-1.528.917-1.526-.918L3.5 5.833Zm-2 3.101V7.631l1.5.902v1.583L1.742 9.36a.5.5 0 0 1-.242-.427Z","clip-rule":"evenodd"},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=d._(s,[["render",m]]);module.exports=p;
//# sourceMappingURL=boxes.cjs.map