@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 1.61 kB
JavaScript
;const r=require("../constants-CHwVJpfT.cjs"),e=require("vue"),l=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),n={name:"DtIconFolderTree",props:{size:{type:String,default:"500",validator:t=>Object.keys(r.I).includes(t)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return r.I[this.size]},ariaHidden(){return this.ariaLabel?"false":"true"},dataQA(){return this.$attrs["data-qa"]??"dt-icon"}},created(){this.$emit("loaded")}},d=["aria-label","data-qa","aria-hidden"],o=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.793 1.293A1 1 0 0 1 6.5 1h1a1 1 0 0 1 .8.4l.45.6H10a1 1 0 0 1 1 1v1.5a1 1 0 0 1-1 1H6.5a1 1 0 0 1-1-1V2a1 1 0 0 1 .293-.707ZM7.5 2h-1v2.5H10V3H8.75a1 1 0 0 1-.8-.4L7.5 2Zm-.061 4.5a1 1 0 0 1 .898.55l.002.005.218.445H10a1 1 0 0 1 1 1V10a1 1 0 0 1-1 1H6.5a1 1 0 0 1-1-1V7.5a1 1 0 0 1 1-1h.939Zm.001 1H6.5V10H10V8.5H8.561m-1.118-1H7.44Z",fill:"currentColor"},null,-1),s=e.createElementVNode("path",{d:"M2 1.5a.5.5 0 0 0-1 0V8c0 .826.674 1.5 1.5 1.5H4a.5.5 0 0 0 0-1H2.5A.503.503 0 0 1 2 8V3.914c.157.056.325.086.5.086H4a.5.5 0 0 0 0-1H2.5a.503.503 0 0 1-.5-.5v-1Z",fill:"currentColor"},null,-1),c=[o,s];function u(t,h,i,H,m,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":i.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--folder-tree"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Folder Tree",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},c,10,d)}const _=l._(n,[["render",u]]);module.exports=_;
//# sourceMappingURL=folder-tree.cjs.map