PageSourceSearch

https://elektronicavoorjou.nl/_nuxt/DbVyHEGM.js

js elektronicavoorjou.nl collected 2026-10-04 03:09:26 UTC 1,843 bytes, 1 lines download raw bytes

1import{_ as b}from"./D4ptWc_B.js";import{_ as g}from"./CXJwfy63.js";import{d as k,D as $,a as w,b as x,c as N,o as A,f as s,g as o,h as u,t as n,i as c,w as C,I as B,J as I,r as p,e,j as L}from"./C-ixyGM-.js";import{_ as M}from"./DlAUqK2U.js";const V={class:"account-page-wrap"},D={class:"container py-4 py-lg-5"},P={class:"account-layout"},S={class:"account-content"},j={class:"content-title"},E={key:0,class:"loading-state"},F={key:1,class:"empty-card"},H={class:"empty-title"},J={class:"empty-text"},T={key:2,class:"notif-list"},q=["onClick"],z=k({__name:"notifications",setup(G){const d=$(),{t:_}=w(),f=x();N({title:()=>`${_("userMenu.notification")} | ${_("header.logo_aria")}`});const a=p([]),r=p(!1),m=async()=>{r.value=!0;try{const t=await d.get("/account/stock-notifications");a.value=Array.isArray(t)?t:[]}finally{r.value=!1}},h=async t=>{await d.delete(`/account/stock-notifications/${t}`),a.value=a.value.filter(i=>i.id!==t)};return A(()=>m()),(t,i)=>{const v=b,y=g;return e(),s("div",V,[o("div",D,[o("div",P,[u(v),o("div",S,[o("h2",j,n(t.$t("userMenu.notification")),1),c(r)?(e(),s("div",E,[...i[0]||(i[0]=[o("div",{class:"spinner-border spinner-border-sm",role:"status"},null,-1)])])):c(a).length===0?(e(),s("div",F,[o("h3",H,n(t.$t("dashboard.notifications.no_orders_title")),1),o("p",J,n(t.$t("dashboard.notifications.no_orders_message")),1),u(y,{to:c(f)("index"),class:"btn-pill"},{default:C(()=>[L(n(t.$t("dashboard.notifications.no_orders_action")),1)]),_:1},8,["to"])])):(e(),s("div",T,[(e(!0),s(B,null,I(c(a),l=>(e(),s("div",{key:l.id,class:"notif-row"},[o("span",null,n(l.product_name),1),o("button",{type:"button",class:"btn btn-sm btn-outline-danger",onClick:K=>h(l.id)},n(t.$t("dashboard.notifications.remove_notification")),9,q)]))),128))]))])])])])}}}),W=M(z,[["__scopeId","data-v-3448ec53"]]);export{W 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.