import{B as e,O as t,c as n,h as r,j as i}from"./runtime-core.esm-bundler-A2Q6NZG4.js";import{t as a}from"./QueryStateBoundary-DmXIS44q.js";var o=r({__name:`StandardScreenBoundary`,props:{state:{default:`READY`},warning:{},error:{},staleAt:{},correlationId:{}},emits:[`retry`],setup(r,{emit:o}){let s=o;return(o,c)=>(t(),n(a,{loading:r.state===`LOADING`,processing:r.state===`PROCESSING`,dirty:r.state===`DIRTY`,empty:r.state===`EMPTY`,partial:r.state===`PARTIAL`,unauthorized:r.state===`UNAUTHORIZED`,forbidden:r.state===`FORBIDDEN`,conflict:r.state===`CONFLICT`,expired:r.state===`EXPIRED`,readonly:r.state===`READONLY`,warning:r.state===`WARN`?r.warning:void 0,error:r.state===`ERROR`?r.error??Error(`화면 상태 오류`):void 0,"stale-at":r.staleAt,"correlation-id":r.correlationId,onRetry:c[0]||=e=>s(`retry`)},{default:e(()=>[i(o.$slots,`default`)]),_:3},8,[`loading`,`processing`,`dirty`,`empty`,`partial`,`unauthorized`,`forbidden`,`conflict`,`expired`,`readonly`,`warning`,`error`,`stale-at`,`correlation-id`]))}});export{o as t};