import{j as e}from"./app-BI7hSYr0.js";import{A as l}from"./AppLayout-ahz_yU39.js";function c({exports:r}){return e.jsx(l,{title:"مرکز خروجی",children:e.jsxs("div",{className:"page-stack",children:[e.jsx("div",{className:"section-header",children:e.jsxs("div",{children:[e.jsx("h2",{className:"section-title",children:"مرکز خروجی"}),e.jsx("p",{style:{margin:0,color:"var(--color-text-muted)",fontSize:"0.9rem"},children:"داده‌های مدرسه را در فرمت CSV یا Excel دانلود کنید"})]})}),e.jsx("section",{className:"panel-card",style:{background:"linear-gradient(135deg, var(--color-primary-soft-2), var(--color-accent-soft))",border:"1px solid var(--color-primary-soft)"},children:e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"1rem",flexWrap:"wrap"},children:[e.jsx("span",{className:"icon-badge",style:{flexShrink:0},children:e.jsx("i",{className:"bi bi-archive"})}),e.jsxs("div",{style:{flex:1},children:[e.jsx("strong",{style:{fontSize:"1rem"},children:"خروجی کامل مدرسه (ZIP)"}),e.jsx("p",{style:{margin:"0.25rem 0 0",fontSize:"0.875rem",color:"var(--color-text-muted)"},children:"همه داده‌ها شامل دانش‌آموزان، معلمان، کاربران، حضور/غیاب و نمرات در یک فایل ZIP."})]}),e.jsxs("a",{className:"btn btn-primary",href:"/school/exports/school.zip",style:{flexShrink:0},children:[e.jsx("i",{className:"bi bi-file-earmark-zip"})," دانلود ZIP"]})]})}),e.jsx("div",{className:"card-grid",children:r.map(s=>e.jsxs("article",{className:"panel-card",style:{display:"flex",flexDirection:"column",gap:"0.75rem"},children:[e.jsx("span",{className:"icon-badge",children:e.jsx("i",{className:"bi bi-file-earmark-spreadsheet"})}),e.jsx("h3",{style:{margin:0},children:s.title}),e.jsx("p",{style:{margin:0,color:"var(--color-text-muted)",fontSize:"0.9rem",flex:1},children:s.description}),e.jsxs("div",{style:{display:"flex",gap:"0.5rem",flexWrap:"wrap"},children:[e.jsxs("a",{className:"btn btn-soft btn-sm",href:s.csvHref,children:[e.jsx("i",{className:"bi bi-filetype-csv"})," CSV"]}),s.xlsxHref&&e.jsxs("a",{className:"btn btn-primary btn-sm",href:s.xlsxHref,children:[e.jsx("i",{className:"bi bi-filetype-xlsx"})," Excel"]})]})]},s.title))})]})})}export{c as default};
