UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

3 lines (2 loc) 1.41 kB
"use strict";const r=require("../utils-Bndrzhtw.cjs"),i=require("../constants-CHwVJpfT.cjs"),s=require("../_plugin-vue2_normalizer-e_CkxkSV.cjs"),n={name:"DtIconUnlock",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=r.g()}};var l=function(){var a=this,e=a._self._c;return e("svg",{staticClass:"d-icon d-icon--unlock",class:a.iconSizeClass,attrs:{"aria-label":a.ariaLabel,"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Unlock",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"}},[e("g",{attrs:{"clip-path":`url(#${a.uniqueID}a)`}},[e("path",{attrs:{fill:"currentColor","fill-rule":"evenodd",d:"M7.187 1.887A2 2 0 0 0 4 3.5V5h5.5A1.5 1.5 0 0 1 11 6.5V10a1.5 1.5 0 0 1-1.5 1.5h-7A1.5 1.5 0 0 1 1 10V6.5A1.5 1.5 0 0 1 2.5 5H3V3.5a3 3 0 0 1 5.94-.6.5.5 0 1 1-.98.2 2 2 0 0 0-.773-1.213ZM2 6.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5V10a.5.5 0 0 1-.5.5h-7A.5.5 0 0 1 2 10V6.5Z","clip-rule":"evenodd"}})]),e("defs",[e("clipPath",{attrs:{id:`${a.uniqueID}a`}},[e("path",{attrs:{fill:"#fff",d:"M0 0h12v12H0z"}})])])])},d=[],c=s.n(n,l,d);const o=c.exports;module.exports=o; //# sourceMappingURL=unlock.cjs.map