ScopeSentry/static/assets/Icon-kBacS5oI.js

2 lines
1.9 KiB
JavaScript

import{_ as e}from"./ContentWrap.vue_vue_type_script_setup_true_lang-B4sinkeh.js";import{d as o,l as i,U as n,o as s,c as t,e as c,a,w as l,f as p,H as u,Q as m}from"./index-CbsoNNgc.js";import{_ as r}from"./Infotip.vue_vue_type_script_setup_true_lang-BeUpTBpc.js";import{u as d}from"./useIcon-DZCueV0L.js";import"./el-card-Bu1pgq7H.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-popper-_HbrF1jO.js";import"./Highlight.vue_vue_type_script_lang-DOclGz6A.js";const _={class:"flex justify-between"},f={class:"flex justify-between"},g={class:"flex justify-between"},v=o({__name:"Icon",setup(o){const{t:v}=i(),y=e=>{e===v("iconDemo.accessAddress")&&window.open("https://iconify.design/")},j=d({icon:"svg-icon:peoples"}),h=d({icon:"svg-icon:money"}),D=d({icon:"ep:aim"}),b=d({icon:"ep:alarm-clock"});return(o,i)=>{const d=n("Icon",!0),w=n("BaseButton");return s(),t(m,null,[c(a(r),{"show-index":!1,title:`${a(v)("iconDemo.recommendedUse")}${a(v)("iconDemo.iconify")}`,schema:[{label:a(v)("iconDemo.recommendeDes"),keys:["Iconify"]},{label:a(v)("iconDemo.accessAddress"),keys:[a(v)("iconDemo.accessAddress")]}],onClick:y},null,8,["title","schema"]),c(a(e),{title:a(v)("iconDemo.localIcon")},{default:l((()=>[p("div",_,[c(d,{icon:"svg-icon:peoples"}),c(d,{icon:"svg-icon:money"}),c(d,{icon:"svg-icon:message"}),c(d,{icon:"svg-icon:shopping"})])])),_:1},8,["title"]),c(a(e),{title:a(v)("iconDemo.iconify")},{default:l((()=>[p("div",f,[c(d,{icon:"ep:aim"}),c(d,{icon:"ep:alarm-clock"}),c(d,{icon:"ep:baseball"}),c(d,{icon:"ep:chat-line-round"})])])),_:1},8,["title"]),c(a(e),{title:"useIcon"},{default:l((()=>[p("div",g,[c(w,{icon:a(j)},{default:l((()=>[u("Button")])),_:1},8,["icon"]),c(w,{icon:a(h)},{default:l((()=>[u("Button")])),_:1},8,["icon"]),c(w,{icon:a(D)},{default:l((()=>[u("Button")])),_:1},8,["icon"]),c(w,{icon:a(b)},{default:l((()=>[u("Button")])),_:1},8,["icon"])])])),_:1})],64)}}});export{v as default};