1import{P as h}from"./PageLayout-pRPPiC0Z.js";import{_ as g}from"./Division-DJxQAU8g.js";import{H as T}from"./Heading2-DL7wHauZ.js";import{a as w,T as _}from"./Table-D-5dje8_.js";import{_ as p,m as V,p as C,o as l,c as m,u as a,e as c,F as G,g as $,d as e,t as f,s as H,v as x,a8 as D,i as b,a as n,w as u,a5 as I,I as L,b as y}from"./main-CGEc23yE.js";import{S as P}from"./SkeletonText-C6jd2Pay.js";import{G as S}from"./Grid-BL1CuAo1.js";import{_ as M}from"./CustomerCreditBalance-PnmQkR2W.js";import{H as B}from"./Heading1-Ir9YMElf.js";import"./StagingHint-DGxLODnK.js";import"./openSupportChat-BQXwobUu.js";import"./LoadingSpinner-CMbZyu96.js";import"./InputLabel-D3r_vdcU.js";import"./Heading3-C6hUZ2o_.js";import"./Heading1-BmgBd_xg.js";const F={key:1,class:"et-customer-transactions-list"},N={class:"et-customer-transaction-card__amount"},O={__name:"CustomerTransactionsTable",props:V({appearance:{type:String,required:!0,validator:t=>["desktop","mobile"].includes(t)}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const s=[new _({field:"created",label:"Datum",sortable:!1}
1),new _({field:"name",label:"Ãnderung",sortable:!1}),new _({field:"reason",label:"Grund",sortable:!1})],i=C(t,"modelValue");return(v,o)=>t.appearance==="desktop"?(l(),m(a(w),{key:0,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=d=>i.value=d),fields:s,caption:"Meine Transaktionen",class:"et-customer-transactions-table"},null,8,["modelValue"])):(l(),c("ol",F,[(l(!0),c(G,null,$(i.value,(d,r)=>(l(),c("li",{key:d._vueRef??r,class:"et-customer-transaction-card"},[e("dl",null,[e("div",null,[o[1]||(o[1]=e("dt",null,"Datum",-1)),e("dd",null,f(d.created),1)]),e("div",null,[o[2]||(o[2]=e("dt",null,"Ãnderung",-1)),e("dd",N,f(d.name),1)]),e("div",null,[o[3]||(o[3]=e("dt",null,"Grund",-1)),e("dd",null,f(d.reason),1)])])]))),128))]))}},q=p(O,[["__scopeId","data-v-3fe87aa1"]]),z={class:"et-customer-transactions"},A={key:0,"aria-live":"polite",class:"et-customer-transactions__skeleton",role:"status"},R={key:2,class:"et-customer-transactions__empty"},U={"aria-hidden":"true",class:"et-customer-transactions__empty-icon"},E={__name:"CustomerTransactions",props:H("transactions",{},{appearance:{type:String,required:!0,validator:t=>["desktop","mobile"].includes(t)}}),setup(t){const s=x(),i=D.instance.isLoadingPage,v=b(()=>i.value||s.value===void 0),o=b(()=>Array.isArray(s.value)&&s.value.length>0);return(d,r)=>(l(),c("div",z,[n(a(T),{class:"et-customer-transactions__title"},{default:u(()=>r[1]||(r[1]=[y("Letzte Guthabenbewegungen")])),_:1}),v.value?(l(),c("div",A,[r[2]||(r[2]=e("span",null,"Guthabenverlauf wird geladen",-1)),n(a(P),{rows:[88,72,81]})])):o.value?(l(),m(a(q),{key:1,modelValue:a(s),"onUpdate:modelValue":r[0]||(r[0]=k=>I(s)?s.value=k:null),appearance:d.appearance},null,8,["modelValue","appearance"])):(l(),c("div",R,[e("span",U,[n(a(L),{name:"clock",size:"large"})]),r[3]||(r[3]=e("div",null,[e("strong",null,"Noch keine Guthabenbewegungen"),e("p",null,"Für dieses Konto ist noch kein Guthabenverlauf vorhanden.")],-1))]))]))}},K=p(E,[["__scopeId","data-v-f5e49c19"]]),j={"aria-label":"Guthabenbewegungen",class:"et-order-history__workspace"},J={__name:"CustomerOrderHistoryDivision",props:{appearance:{type:String,required:!0,validator:t=>["desktop","mobile"].includes(t)}},setup(t){return(s,i)=>(l(),m(a(g),{class:"et-order-history"},{default:u(()=>[e("section",j,[n(a(K),{appearance:t.appearance},null,8,["appearance"])])]),_:1}))}},Q=p(J,[["__scopeId","data-v-27f4f7c1"]]),W={class:"et-grid-col-1-8 et-order-history-page__history"},X={class:"et-grid-col-9-12 et-order-history-page__support"},Y={__name:"CustomerOrderHistory",setup(t){return(s,i)=>(l(),m(a(h),null,{default:u(()=>[n(a(g),{class:"et-order-history-page et-order-history-page--desktop"},{default:u(()=>[n(a(B),{class:"et-order-history-page__title",weight:"bold"},{default:u(()=>i[0]||(i[0]=[y("Guthabenverlauf")])),_:1}),n(a(S),{class:"et-order-history-page__layout"},{default:u(()=>[e("div",W,[n(a(Q),{appearance:"desktop"})]),e("div",X,[n(a(g),{class:"et-order-history-page__balance"},{default:u(()=>[n(a(M),{appearance:"planner"})]),_:1})])]),_:1})]),_:1})]),_:1}))}},_e=p(Y,[["__scopeId","data-v-7bfad298"]]);export{_e as default};
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.