UNPKG

@dialpad/dialtone-icons

Version:
3 lines (2 loc) 1.59 kB
"use strict";const r=require("../../utils-Bndrzhtw.cjs"),l=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),d=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),s={name:"DtIconUnlockFilled",props:{size:{type:String,default:"500",validator:t=>Object.keys(l.I).includes(t)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return l.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()}},o=["aria-label","data-qa","aria-hidden"],c=["clip-path"],u=["id"];function p(t,a,n,m,f,i){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([i.iconSizeClass,"d-icon d-icon--unlock-filled"]),"data-qa":i.dataQA,"aria-hidden":i.ariaHidden,role:"img","data-name":"Unlock Filled",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"},[e.createElementVNode("g",{"clip-path":`url(#${t.uniqueID}a)`},[...a[0]||(a[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M5.8 1.508A2 2 0 0 1 7.96 3.1a.5.5 0 0 0 .98-.2A3 3 0 0 0 3 3.5v1.563h-.5c-.794 0-1.437.643-1.437 1.437V10c0 .794.643 1.438 1.437 1.438h7c.794 0 1.438-.644 1.438-1.438V6.5c0-.794-.644-1.437-1.438-1.437H4V3.499a2 2 0 0 1 1.8-1.991Z"},null,-1)])],8,c),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${t.uniqueID}a`},[...a[1]||(a[1]=[e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1)])],8,u)])],10,o)}const h=d._(s,[["render",p]]);module.exports=h; //# sourceMappingURL=unlock-filled.cjs.map