import{B as e,O as t,c as n,f as r,h as i,j as a,m as o,s,u as c}from"./runtime-core.esm-bundler-A2Q6NZG4.js";import{t as l}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as u}from"./PageLayout-D6g_--o1.js";import{t as d}from"./StandardScreenBoundary-C_di8oG7.js";var f={},p={class:`ks-dashboard`},m={class:`ks-dashboard__kpis`},h={class:`ks-dashboard__primary ks-card`},g={class:`ks-dashboard__secondary ks-card`},_={class:`ks-dashboard__alerts ks-card`};function v(e,n){return t(),c(`div`,p,[s(`section`,m,[a(e.$slots,`kpis`,{},void 0,!0)]),s(`section`,h,[a(e.$slots,`primary`,{},void 0,!0)]),s(`section`,g,[a(e.$slots,`secondary`,{},void 0,!0)]),s(`section`,_,[a(e.$slots,`alerts`,{},void 0,!0)])])}var y=l(f,[[`render`,v],[`__scopeId`,`data-v-9f14d651`]]),b=i({__name:`ScorecardDashboardPage`,props:{title:{},subtitle:{},state:{},evidence:{},warning:{},error:{}},emits:[`retry`],setup(i){let s=i;return(i,c)=>(t(),n(u,{title:s.title,subtitle:s.subtitle,status:s.state,"as-of":s.evidence?.asOf},r({actions:e(()=>[a(i.$slots,`actions`)]),filters:e(()=>[a(i.$slots,`filters`)]),default:e(()=>[o(d,{state:s.state,warning:s.warning,onRetry:c[0]||=e=>i.$emit(`retry`)},{default:e(()=>[o(y,null,{kpis:e(()=>[a(i.$slots,`kpis`)]),primary:e(()=>[a(i.$slots,`primary`)]),secondary:e(()=>[a(i.$slots,`secondary`)]),alerts:e(()=>[a(i.$slots,`alerts`)]),_:3})]),_:3},8,[`state`,`warning`])]),_:2},[i.$slots.metricDefinitions?{name:`aside`,fn:e(()=>[a(i.$slots,`metricDefinitions`)]),key:`0`}:void 0]),1032,[`title`,`subtitle`,`status`,`as-of`]))}});export{b as t};