mirror of
https://github.com/wmn1525/grasscutterTools.git
synced 2024-11-16 21:00:33 +00:00
2 lines
2.3 KiB
JavaScript
2 lines
2.3 KiB
JavaScript
import{_ as C}from"./plugin-vue_export-helper.d335e743.js";/* empty css *//* empty css *//* empty css *//* empty css */import{e as E,E as h,i as p,f as D,g,G as I,H as k,J as U,B as w,o as y,c as N,b as u,a as n,h as d,K as i,w as S,F as A,L as z,N as G,d as H,O as J}from"./index.df1d42e1.js";const m=c=>(z("data-v-62376220"),c=c(),G(),c),K={class:"commuse"},L={class:"commuse-item"},M=m(()=>u("div",{class:"text-slate-900 dark:text-slate-100"}," UID: ",-1)),O={class:"commuse-item"},R=m(()=>u("div",{class:"text-slate-900 dark:text-slate-100"}," \u7269\u54C1: ",-1)),T={class:"commuse-item"},$=m(()=>u("div",{class:"text-slate-900 dark:text-slate-100"}," \u6570\u91CF: ",-1)),j={class:"generate"},q=H("\u590D\u5236"),P=m(()=>u("div",null,null,-1)),Q=E({setup(c){const{text:W,isSupported:_,copy:v}=h();var l=p(223),o=p("@"),t=p(1e3);const s=D(()=>`give ${o.value} ${l.value} ${t.value}`),F=g([{label:"\u89D2\u8272\u7ECF\u9A8C",value:101},{label:"\u5192\u9669\u9605\u5386",value:102},{label:"\u539F\u77F3",value:201},{label:"\u6469\u62C9",value:202},{label:"\u521B\u4E16\u7ED3\u6676",value:203},{label:"\u6D1E\u5929\u5B9D\u94B1",value:204},{label:"\u65E0\u4E3B\u7684\u661F\u8F89",value:221},{label:"\u65E0\u4E3B\u7684\u661F\u5C18",value:222},{label:"\u7EA0\u7F20\u4E4B\u7F18",value:223},{label:"\u76F8\u9047\u4E4B\u7F18",value:224}]),b=J;function B(){v(s.value),_&&b.success(`\u5DF2\u590D\u5236${s.value}`)}return(X,a)=>{const r=I,V=k,f=U,x=w;return y(),N(A,null,[u("div",K,[u("div",L,[M,n(r,{modelValue:d(o),"onUpdate:modelValue":a[0]||(a[0]=e=>i(o)?o.value=e:o=e),placeholder:"\u8BF7\u8F93\u5165UID","allow-clear":""},null,8,["modelValue"])]),u("div",O,[R,n(V,{"allow-search":"",modelValue:d(l),"onUpdate:modelValue":a[1]||(a[1]=e=>i(l)?l.value=e:l=e),options:d(F),placeholder:"\u8BF7\u8F93\u5165\u7269\u54C1",filterable:""},null,8,["modelValue","options"])]),u("div",T,[$,n(f,{modelValue:d(t),"onUpdate:modelValue":a[2]||(a[2]=e=>i(t)?t.value=e:t=e),placeholder:"\u8BF7\u8F93\u5165\u6570\u91CF",mode:"button",size:"large",class:"input-demo"},null,8,["modelValue"])]),u("div",j,[n(r,{modelValue:d(s),"onUpdate:modelValue":a[3]||(a[3]=e=>i(s)?s.value=e:null),placeholder:""},null,8,["modelValue"]),n(x,{type:"outline",onClick:B},{default:S(()=>[q]),_:1})])]),P],64)}}});var oe=C(Q,[["__scopeId","data-v-62376220"]]);export{oe as default};
|