1import{_ as p,d as _,o as g,f as c,w as o,b as n,h as t,j as i,e as s,af as a,k as l,dO as b,a5 as r}from"./index.6ebb0f0b.js";const v={class:"row q-mb-lg"},w={class:"col"},k={class:"column gap-12"},T={class:"row q-mb-lg"},h={class:"col"},q={class:"column gap-12"},B={class:"row q-mb-lg"},x={class:"col"},C={class:"column gap-12"},U={class:"row q-mb-lg"},A={class:"col"},O={class:"column gap-12"},P={class:"row q-mb-lg"},V={class:"col"},Y={class:"column gap-12"},N={class:"row q-mb-lg"},D={class:"col"},R={class:"column gap-12"},W=_({__name:"TonicBanners",setup(G){const d=()=>r.positive({message:"Verification email resent."}),u=()=>r.info({message:"Finance review can take up to 2 business days."}),f=()=>r.info({message:"Banner dismissed."}),m=()=>r.info({message:"Navigate to settings."}),y=()=>r.info({message:"Open payout settings form."});return(L,e)=>(g(),c(s(b),{name:"banner",dark:null},{default:o(()=>[e[27]||(e[27]=n("h3",null,"Banner",-1)),n("div",v,[n("div",w,[e[5]||(e[5]=n("h4",null,"Types",-1)),n("div",k,[t(s(a),{type:"info",icon:"sym_o_info"},{default:o(()=>[...e[0]||(e[0]=[i(" This is an ",-1),n("strong",null,"info",-1),i(" banner. Use it for neutral, helpful context. ",-1)])]),_:1}),t(s(a),{type:"warning",icon:"sym_o_warning"},{default:o(()=>[...e[1]||(e[1]=[i(" This is a ",-1),n("strong",null,"warning",-1),i(" banner. Use it to flag potential issues. ",-1)])]),_:1}),t(s(a),{type:"success",icon:"sym_o_check_circle"},{default:o(()=>[...e[2]||(e[2]=[i(" This is a ",-1),n("strong",null,"success",-1),i(" banner. Use it to confirm completed actions. ",-1)])]),_:1}),t(s(a),{type:"danger",icon:"sym_o_error"},{default:o(()=>[...e[3]||(e[3]=[i(" This is a ",-1),n("strong",null,"danger",-1),i(" banner. Use it for critical errors or blocking states. ",-1)])]),_:1}),t(s(a),{type:"primary",icon:"sym_o_star"},{default:o(()=>[...e[4]||(e[4]=[i(" This is a ",-1),n("strong",null,"primary",-1),i(" banner. Use it for key calls to action. ",-1)])]),_:1})])])]),n("div",T,[n("div",h,[e[9]||(e[9]=n("h4",null,"With title",-1)),n("div",q,[t(s(a),{type:"info",icon:"sym_o_info",title:"Account information"},{default:o(()=>[...e[6]||(e[6]=[i(" Your profile is missing some details. Please complete your account setup. ",-1)])]),_:1}),t(s(a),{type:"warning",icon:"sym_o_warning",title:"Action required"},{default:o(()=>[...e[7]||(e[7]=[i(" Your payout details have changed. Please verify your bank account information. ",-1)])]),_:1}),t(s(a),{type:"danger",icon:"sym_o_error",title:"Verification failed"},{default:o(()=>[...e[8]||(e[8]=[i(" The verification link has expired or has already been used. Please request a new one. ",-1)])]),_:1})])])]),n("div",B,[n("div",x,[e[12]||(e[12]=n("h4",null,"Without icon",-1)),n("div",C,[t(s(a),{type:"info"},{default:o(()=>[...e[10]||(e[10]=[i(" A simple info banner without an icon. ",-1)])]),_:1}),t(s(a),{type:"warning",title:"Heads up"},{default:o(()=>[...e[11]||(e[11]=[i(" A warning with a title but no icon. ",-1)])]),_:1})])])]),n("div",U,[n("div",A,[e[16]||(e[16]=n("h4",null,"With actions",-1)),n("div",O,[t(s(a),{type:"warning",icon:"sym_o_mail",title:"Email verification pending"},{actions:o(()=>[t(s(l),{flat:"",label:"Resend email",onOnClick:d})]),default:o(()=>[e[13]||(e[13]=i(" A verification email has been sent. Please check your inbox and click the link to confirm your payout details. ",-1))]),_:1}),t(s(a),{type:"info",icon:"sym_o_lock",title:"Awaiting finance review"},{actions:o(()=>[t(s(l),{flat:"",label:"Learn more",onOnClick:u})]),default:o(()=>[e[14]||(e[14]=i(" Your payout details are currently under review. Changes are disabled until the review is complete. ",-1))]),_:1}),t(s(a),{type:"success",icon:"sym_o_check_circle",title:"Verified"},{actions:o(()=>[t(s(l),{flat:"",label:"Dismiss",onOnClick:f}),t(s(l),{label:"Go to settings",onOnClick:m})]),default:o(()=>[e[15]||(e[15]=i(" Your payout details have been verified successfully. ",-1))]),_:1})])])]),n("div",P,[n("div",V,[e[22]||(e[22]=n("h4",null,"Bordered",-1)),n("div",Y,[t(s(a),{type:"info",icon:"sym_o_info",bordered:""},{default:o(()=>[...e[17]||(e[17]=[i(" This is an ",-1),n("strong",null,"info",-1),i(" banner with a border. ",-1)])]),_:1}),t(s(a),{type:"warning",icon:"sym_o_warning",bordered:""},{default:o(()=>[...e[18]||(e[18]=[i(" This is a ",-1),n("strong",null,"warning",-1),i(" banner with a border. ",-1)])]),_:1}),t(s(a),{type:"success",icon:"sym_o_check_circle",bordered:""},{default:o(()=>[...e[19]||(e[19]=[i(" This is a ",-1),n("strong",null,"success",-1),i(" banner with a border. ",-1)])]),_:1}),t(s(a),{type:"danger",icon:"sym_o_error",bordered:""},{default:o(()=>[...e[20]||(e[20]=[i(" This is a ",-1),n("strong",null,"danger",-1),i(" banner with a border. ",-1)])]),_:1}),t(s(a),{type:"primary",icon:"sym_o_star",bordered:""},{default:o(()=>[...e[21]||(e[21]=[i(" This is a ",-1),n("strong",null,"primary",-1),i(" banner with a border. ",-1)])]),_:1})])])]),n("div",N,[n("div",D,[e[26]||(e[26]=n("h4",null,"Real-world examples (Payout Settings)",-1)),n("div",R,[t(s(a),{type:"warning",icon:"sym_o_mark_email_unread",title:"Verify your email"},{default:o(()=>
1[...e[23]||(e[23]=[i(" A verification link was sent to your registered email address. Click the link to confirm your new payout details. ",-1)])]),_:1}),t(s(a),{type:"info",icon:"sym_o_hourglass_empty",title:"Under finance review"},{default:o(()=>[...e[24]||(e[24]=[i(" Your payout method change request is being reviewed by our finance team. During this time, you cannot make further changes. ",-1)])]),_:1}),t(s(a),{type:"danger",icon:"sym_o_cancel",title:"Request declined"},{actions:o(()=>[t(s(l),{label:"Update details",onOnClick:y})]),default:o(()=>[e[25]||(e[25]=i(" Your payout change request was declined by finance. Please review your details and submit again. ",-1))]),_:1})])])])]),_:1}))}});var j=p(W,[["__scopeId","data-v-0dd7d5ae"]]);export{j as default}; 2//# sourceMappingURL=TonicBanners.9bb7677f.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.