import{d as z,f as B,a as H}from"../chunks/8V7BUHOp.js";import"../chunks/CjiRU9vk.js";import{c as t,t as K,g as n,m as R,e as G,r as e,s as i,n as a}from"../chunks/CwuLZfOX.js";import{r as E,s as M}from"../chunks/BSwjzqJH.js";import{a as I}from"../chunks/CR2j1Dvc.js";import"../chunks/Ey3lesIV.js";import{G as J}from"../chunks/Bq3wCS1F.js";const U=""+new URL("../assets/Brannspjeldmodul.CvCLCviG.png",import.meta.url).href;var N=B('<section><div class="container mx-auto"><div class="flex items-center gap-2 sticky bg-base-100 z-40 pb-2" style="top:4.11rem"><!></div> <div class="text-left"><h2 class="text-4xl font-semibold">Alarms</h2></div> <div class="overflow-x-auto"><table class="table"><thead><tr><th><label><input type="checkbox" class="checkbox"/></label></th><th>Timestamp</th><th>Device</th><th>Alarm information</th><th></th></tr></thead><tbody><tr><th><label><input type="checkbox" class="checkbox"/></label></th><td>19.12.2024 - 08:46</td><td><div class="flex items-center gap-3"><div class="avatar"><div class="mask mask-squircle h-12 w-12"><img alt="Fire Damper Module"/></div></div> <div><div class="font-bold">+342=360.103-OU001</div> <div class="text-sm opacity-50">Kantine 1. etasje</div></div></div></td><td>Spjeldtest feilet <br/> <span class="badge badge-ghost badge-sm">Spjeld 2 kunne ikke stenge</span></td><th><button class="btn btn-ghost btn-xs">details</button></th></tr><tr><th><label><input type="checkbox" class="checkbox"/></label></th><td>19.12.2024 - 08:52</td><td><div class="flex items-center gap-3"><div class="avatar"><div class="mask mask-squircle h-12 w-12"><img alt="Fire Damper Module"/></div></div> <div><div class="font-bold">+342=360.103-OU004</div> <div class="text-sm opacity-50">Møterom 2 - Svanen, 1. etasje</div></div></div></td><td>Spjeldtest feilet <br/> <span class="badge badge-ghost badge-sm">Spjeld 1 kunne ikke stenge</span></td><th><button class="btn btn-ghost btn-xs">details</button></th></tr></tbody><tfoot><tr><th></th><th>Timestamp</th><th>Device</th><th>Alarm information</th><th></th></tr></tfoot></table> <button class="btn btn-primary">Acknowledge alarm</button></div></div></section>');function $(q){let s=R(!1),m=[{id:1,checked:!1},{id:2,checked:!1}];function F(){G(s,!n(s)),m=m.map(c=>({...c,checked:n(s)}))}var d=N(),h=t(d),l=t(h),L=t(l);J(L,{}),e(l);var b=i(l,4),p=t(b),r=t(p),f=t(r),g=t(f),u=t(g),o=t(u);E(o),o.__change=F,e(u),e(g),a(4),e(f),e(r);var k=i(r),v=t(k),_=i(t(v),2),x=t(_),y=t(x),j=t(y),O=t(j);e(j),e(y),a(2),e(x),e(_),a(2),e(v);var w=i(v),A=i(t(w),2),S=t(A),C=t(S),D=t(C),T=t(D);e(D),e(C),a(2),e(S),e(A),a(2),e(w),e(k),a(),e(p),a(2),e(b),e(h),e(d),K(()=>{M(O,"src",U),M(T,"src",U)}),I(o,()=>n(s),c=>G(s,c)),H(q,d)}z(["change"]);export{$ as component};
