feat(rate): support multi-currency forced rate list

This commit is contained in:
line-6000
2026-05-22 23:13:21 +08:00
parent dec1b97b9e
commit 8a48611625
285 changed files with 2145 additions and 354 deletions
+1
View File
@@ -0,0 +1 @@
import{at as e,ct as t,dt as n,it as r,lt as i,ot as a,rt as o,st as s,ut as c}from"./messages-CA0k74Lg.js";import{n as l,t as u}from"./wallet-B9YaRua4.js";import{t as d}from"./createLucideIcon-Br0Bd5k2.js";var f=d(`circle-pause`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`,key:`c1nkhi`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`,key:`h65svq`}]]),p=d(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),m=d(`clock-3`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6h4`,key:`135r8i`}]]),h=d(`link-2-off`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`,key:`10o201`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`,key:`1d3206`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`,key:`rvw6j4`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),g=[{label:n(),value:`1`,icon:m},{label:c(),value:`2`,icon:l},{label:i(),value:`3`,icon:h},{label:t(),value:`4`,icon:p}],_={1:`bg-amber-500/10 text-amber-600`,2:`bg-emerald-500/10 text-emerald-600`,3:`bg-rose-500/10 text-rose-600`,4:`bg-slate-500/10 text-slate-600`};function v(e){return g.find(t=>t.value===String(e??1))?.label??String(e??`-`)}var y=[{label:s(),value:`enabled`,icon:u},{label:a(),value:`disabled`,icon:f},{label:e(),value:`monitoring`,icon:l}];r(),o();var b=[{label:r(),value:`true`},{label:o(),value:`false`}];export{g as a,_ as i,b as n,m as o,v as r,p as s,y as t};