From 40613a00d5dfd7159483538ca0737b9c5f9c1434 Mon Sep 17 00:00:00 2001 From: hpayer Date: Sun, 9 Aug 2026 21:45:06 -0400 Subject: [PATCH] first prototype commit --- backend/config.py | 32 + backend/database.py | 20 + backend/main.py | 104 ++ backend/models.py | 56 + backend/routers/auth.py | 113 ++ backend/routers/chores.py | 132 +++ backend/routers/reports.py | 66 ++ backend/routers/users.py | 81 ++ backend/schemas.py | 96 ++ backend/tests/test_auth.py | 31 + backend/tests/test_chores.py | 47 + frontend/.gitignore | 24 + frontend/README.md | 5 + frontend/index.html | 13 + frontend/package.json | 25 + frontend/pnpm-lock.yaml | 1379 ++++++++++++++++++++++++ frontend/src/App.vue | 30 + frontend/src/assets/hero.png | Bin 0 -> 13057 bytes frontend/src/assets/vite.svg | 1 + frontend/src/assets/vue.svg | 1 + frontend/src/components/ChoreIcon.vue | 37 + frontend/src/components/HelloWorld.vue | 95 ++ frontend/src/components/Navbar.vue | 177 +++ frontend/src/main.js | 12 + frontend/src/router/index.js | 73 ++ frontend/src/services/api.js | 37 + frontend/src/stores/auth.js | 106 ++ frontend/src/stores/chores.js | 189 ++++ frontend/src/style.css | 70 ++ frontend/src/views/AdminView.vue | 382 +++++++ frontend/src/views/ChoresView.vue | 233 ++++ frontend/src/views/DashboardView.vue | 236 ++++ frontend/src/views/LoginView.vue | 129 +++ frontend/src/views/ProfileView.vue | 115 ++ frontend/src/views/ReportsView.vue | 201 ++++ frontend/vite.config.js | 23 + 36 files changed, 4371 insertions(+) create mode 100644 backend/config.py create mode 100644 backend/database.py create mode 100644 backend/main.py create mode 100644 backend/models.py create mode 100644 backend/routers/auth.py create mode 100644 backend/routers/chores.py create mode 100644 backend/routers/reports.py create mode 100644 backend/routers/users.py create mode 100644 backend/schemas.py create mode 100644 backend/tests/test_auth.py create mode 100644 backend/tests/test_chores.py create mode 100644 frontend/.gitignore create mode 100644 frontend/README.md create mode 100644 frontend/index.html create mode 100644 frontend/package.json create mode 100644 frontend/pnpm-lock.yaml create mode 100644 frontend/src/App.vue create mode 100644 frontend/src/assets/hero.png create mode 100644 frontend/src/assets/vite.svg create mode 100644 frontend/src/assets/vue.svg create mode 100644 frontend/src/components/ChoreIcon.vue create mode 100644 frontend/src/components/HelloWorld.vue create mode 100644 frontend/src/components/Navbar.vue create mode 100644 frontend/src/main.js create mode 100644 frontend/src/router/index.js create mode 100644 frontend/src/services/api.js create mode 100644 frontend/src/stores/auth.js create mode 100644 frontend/src/stores/chores.js create mode 100644 frontend/src/style.css create mode 100644 frontend/src/views/AdminView.vue create mode 100644 frontend/src/views/ChoresView.vue create mode 100644 frontend/src/views/DashboardView.vue create mode 100644 frontend/src/views/LoginView.vue create mode 100644 frontend/src/views/ProfileView.vue create mode 100644 frontend/src/views/ReportsView.vue create mode 100644 frontend/vite.config.js diff --git a/backend/config.py b/backend/config.py new file mode 100644 index 0000000..8b5a934 --- /dev/null +++ b/backend/config.py @@ -0,0 +1,32 @@ +import os +import jwt +from datetime import datetime, timedelta, timezone +from typing import Optional + +SECRET_KEY = os.getenv("JWT_SECRET", "choreus-super-secret-key-2026-family-chores") +ALGORITHM = "HS256" +ACCESS_TOKEN_EXPIRE_DAYS = 30 + +GOOGLE_CLIENT_ID = os.getenv("GOOGLE_CLIENT_ID", "") + +def create_access_token(data: dict, expires_delta: Optional[timedelta] = None) -> str: + to_encode = data.copy() + if expires_delta: + expire = datetime.now(timezone.utc) + expires_delta + else: + expire = datetime.now(timezone.utc) + timedelta(days=ACCESS_TOKEN_EXPIRE_DAYS) + to_encode.update({"exp": expire}) + encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) + return encoded_jwt + +def decode_access_token(token: str) -> Optional[dict]: + try: + payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) + return payload + except jwt.PyJWTError: + return None + +def get_current_week_identifier() -> str: + now = datetime.now(timezone.utc) + year, week, _ = now.isocalendar() + return f"{year}-W{week:02d}" diff --git a/backend/database.py b/backend/database.py new file mode 100644 index 0000000..da4f49b --- /dev/null +++ b/backend/database.py @@ -0,0 +1,20 @@ +import os +from sqlalchemy import create_engine +from sqlalchemy.orm import sessionmaker, declarative_base + +DB_PATH = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "choreus.db") +SQLALCHEMY_DATABASE_URL = f"sqlite:///{DB_PATH}" + +engine = create_engine( + SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False} +) +SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine) + +Base = declarative_base() + +def get_db(): + db = SessionLocal() + try: + yield db + finally: + db.close() diff --git a/backend/main.py b/backend/main.py new file mode 100644 index 0000000..a293a79 --- /dev/null +++ b/backend/main.py @@ -0,0 +1,104 @@ +from fastapi import FastAPI +from fastapi.middleware.cors import CORSMiddleware +from contextlib import asynccontextmanager +from backend.database import engine, Base, SessionLocal +from backend.models import User, ChoreType, ChoreCompletion, UserRole, RecurrenceType +from backend.routers import auth, users, chores, reports +from backend.config import get_current_week_identifier +from datetime import datetime, timezone, timedelta + +def seed_initial_data(): + Base.metadata.create_all(bind=engine) + db = SessionLocal() + try: + # Seed Users if empty + if db.query(User).count() == 0: + admin_user = User( + email="admin@choreus.app", + name="Sarah (Admin)", + avatar_url="https://api.dicebear.com/7.x/bottts/svg?seed=SarahAdmin", + role=UserRole.ADMIN.value, + weekly_star_quota=20 + ) + kid_user1 = User( + email="leo@choreus.app", + name="Leo", + avatar_url="https://api.dicebear.com/7.x/bottts/svg?seed=LeoKid", + role=UserRole.REGULAR.value, + weekly_star_quota=15 + ) + kid_user2 = User( + email="maya@choreus.app", + name="Maya", + avatar_url="https://api.dicebear.com/7.x/bottts/svg?seed=MayaKid", + role=UserRole.REGULAR.value, + weekly_star_quota=15 + ) + db.add_all([admin_user, kid_user1, kid_user2]) + db.commit() + + # Seed Chores if empty + if db.query(ChoreType).count() == 0: + chores_list = [ + ChoreType(title="Empty & fill dishwasher", description="Clear dishes, load dirty ones and start cycle", star_reward=1, recurrence=RecurrenceType.DAILY.value, icon="Utensils"), + ChoreType(title="Take out trash & recycling", description="Empty kitchen bin and carry bins to curb", star_reward=1, recurrence=RecurrenceType.DAILY.value, icon="Trash2"), + ChoreType(title="Vacuum living room", description="Vacuum carpet and couch cushions thoroughly", star_reward=3, recurrence=RecurrenceType.WEEKLY.value, icon="Broom"), + ChoreType(title="Clean bathroom", description="Scrub sink, mirror, toilet, and wipe floor", star_reward=4, recurrence=RecurrenceType.WEEKLY.value, icon="Sparkles"), + ChoreType(title="Clear snow from driveway", description="Shovel front driveway and salt walkways after snow fall", star_reward=5, recurrence=RecurrenceType.SPONTANEOUS.value, icon="Snowflake"), + ChoreType(title="Go buy groceries", description="Pick up weekly groceries from list", star_reward=4, recurrence=RecurrenceType.SPONTANEOUS.value, icon="ShoppingBag"), + ] + db.add_all(chores_list) + db.commit() + + # Seed sample completions if none exist + if db.query(ChoreCompletion).count() == 0: + users_list = db.query(User).all() + chores_types = db.query(ChoreType).all() + current_week = get_current_week_identifier() + + if len(users_list) >= 3 and len(chores_types) >= 3: + c1 = ChoreCompletion( + chore_type_id=chores_types[0].id, + user_id=users_list[1].id, # Leo + stars_earned=chores_types[0].star_reward, + week_identifier=current_week, + completed_at=datetime.now(timezone.utc) - timedelta(hours=5), + notes="All clean!" + ) + c2 = ChoreCompletion( + chore_type_id=chores_types[2].id, + user_id=users_list[2].id, # Maya + stars_earned=chores_types[2].star_reward, + week_identifier=current_week, + completed_at=datetime.now(timezone.utc) - timedelta(hours=2), + notes="Living room carpet looks great" + ) + db.add_all([c1, c2]) + db.commit() + + finally: + db.close() + +@asynccontextmanager +async def lifespan(app: FastAPI): + seed_initial_data() + yield + +app = FastAPI(title="ChoreUS API", version="1.0.0", description="Home Chore Manager API", lifespan=lifespan) + +app.add_middleware( + CORSMiddleware, + allow_origins=["*"], + allow_credentials=True, + allow_methods=["*"], + allow_headers=["*"], +) + +app.include_router(auth.router) +app.include_router(users.router) +app.include_router(chores.router) +app.include_router(reports.router) + +@app.get("/") +def root(): + return {"message": "Welcome to ChoreUS Home Chore Manager API", "status": "running"} diff --git a/backend/models.py b/backend/models.py new file mode 100644 index 0000000..4fee672 --- /dev/null +++ b/backend/models.py @@ -0,0 +1,56 @@ +from datetime import datetime, timezone +from sqlalchemy import Column, Integer, String, DateTime, ForeignKey, Boolean, Enum +from sqlalchemy.orm import relationship +import enum +from backend.database import Base + +class UserRole(str, enum.Enum): + ADMIN = "admin" + REGULAR = "regular" + +class RecurrenceType(str, enum.Enum): + DAILY = "daily" + WEEKLY = "weekly" + SPONTANEOUS = "spontaneous" + +class User(Base): + __tablename__ = "users" + + id = Column(Integer, primary_key=True, index=True) + email = Column(String, unique=True, index=True, nullable=False) + name = Column(String, nullable=False) + google_id = Column(String, unique=True, nullable=True, index=True) + avatar_url = Column(String, nullable=True) + role = Column(String, default=UserRole.REGULAR.value, nullable=False) + weekly_star_quota = Column(Integer, default=15, nullable=False) + is_active = Column(Boolean, default=True, nullable=False) + created_at = Column(DateTime, default=lambda: datetime.now(timezone.utc)) + + completions = relationship("ChoreCompletion", back_populates="user", cascade="all, delete-orphan") + +class ChoreType(Base): + __tablename__ = "chore_types" + + id = Column(Integer, primary_key=True, index=True) + title = Column(String, nullable=False) + description = Column(String, nullable=True) + star_reward = Column(Integer, default=1, nullable=False) # 1 to 5 stars + recurrence = Column(String, default=RecurrenceType.DAILY.value, nullable=False) # daily, weekly, spontaneous + icon = Column(String, default="CheckSquare", nullable=False) + created_at = Column(DateTime, default=lambda: datetime.now(timezone.utc)) + + completions = relationship("ChoreCompletion", back_populates="chore_type", cascade="all, delete-orphan") + +class ChoreCompletion(Base): + __tablename__ = "chore_completions" + + id = Column(Integer, primary_key=True, index=True) + chore_type_id = Column(Integer, ForeignKey("chore_types.id", ondelete="CASCADE"), nullable=False) + user_id = Column(Integer, ForeignKey("users.id", ondelete="CASCADE"), nullable=False) + completed_at = Column(DateTime, default=lambda: datetime.now(timezone.utc), nullable=False) + stars_earned = Column(Integer, nullable=False) + week_identifier = Column(String, nullable=False, index=True) # e.g., '2026-W32' + notes = Column(String, nullable=True) + + user = relationship("User", back_populates="completions") + chore_type = relationship("ChoreType", back_populates="completions") diff --git a/backend/routers/auth.py b/backend/routers/auth.py new file mode 100644 index 0000000..acc2034 --- /dev/null +++ b/backend/routers/auth.py @@ -0,0 +1,113 @@ +from fastapi import APIRouter, Depends, HTTPException, status, Header +from sqlalchemy.orm import Session +from backend.database import get_db +from backend.models import User, UserRole +from backend.schemas import UserOut, GoogleAuthRequest, DemoLoginRequest +from backend.config import create_access_token, decode_access_token, GOOGLE_CLIENT_ID +from typing import Optional +from google.oauth2 import id_token +from google.auth.transport import requests as google_requests + +router = APIRouter(prefix="/api/auth", tags=["auth"]) + +def get_current_user(authorization: Optional[str] = Header(None), db: Session = Depends(get_db)) -> User: + if not authorization: + raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail="Missing authorization header") + + parts = authorization.split() + if len(parts) != 2 or parts[0].lower() != "bearer": + raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail="Invalid authorization header format") + + token = parts[1] + payload = decode_access_token(token) + if not payload or "sub" not in payload: + raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail="Invalid or expired token") + + user_id = int(payload["sub"]) + user = db.query(User).filter(User.id == user_id, User.is_active == True).first() + if not user: + raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail="User not found or inactive") + + return user + +def get_admin_user(current_user: User = Depends(get_current_user)) -> User: + if current_user.role != UserRole.ADMIN.value: + raise HTTPException(status_code=status.HTTP_403_FORBIDDEN, detail="Admin privileges required") + return current_user + +@router.post("/google") +def google_auth(req: GoogleAuthRequest, db: Session = Depends(get_db)): + email = req.email + name = req.name or "Google User" + avatar_url = req.avatar_url or f"https://api.dicebear.com/7.x/bottts/svg?seed={email}" + google_sub = None + + # Try verifying real Google token if client ID configured and credential provided + if req.credential and len(req.credential) > 50: + try: + if GOOGLE_CLIENT_ID: + id_info = id_token.verify_oauth2_token(req.credential, google_requests.Request(), GOOGLE_CLIENT_ID) + else: + id_info = id_token.verify_oauth2_token(req.credential, google_requests.Request()) + email = id_info.get("email", email) + name = id_info.get("name", name) + avatar_url = id_info.get("picture", avatar_url) + google_sub = id_info.get("sub") + except Exception as e: + # Fallback to provided details if token decode fails in dev + if not email: + raise HTTPException(status_code=400, detail=f"Google token verification failed: {str(e)}") + + if not email: + raise HTTPException(status_code=400, detail="Email is required") + + user = db.query(User).filter(User.email == email).first() + + # Check if this is the first user ever registered + total_users = db.query(User).count() + initial_role = UserRole.ADMIN.value if total_users == 0 else UserRole.REGULAR.value + + if not user: + user = User( + email=email, + name=name, + avatar_url=avatar_url, + google_id=google_sub, + role=initial_role, + weekly_star_quota=15 + ) + db.add(user) + db.commit() + db.refresh(user) + else: + # Update existing user google_id or default avatar if missing + if google_sub and not user.google_id: + user.google_id = google_sub + if avatar_url and not user.avatar_url: + user.avatar_url = avatar_url + db.commit() + db.refresh(user) + + token = create_access_token({"sub": str(user.id), "email": user.email, "role": user.role}) + return { + "access_token": token, + "token_type": "bearer", + "user": UserOut.model_validate(user) + } + +@router.post("/demo-login") +def demo_login(req: DemoLoginRequest, db: Session = Depends(get_db)): + user = db.query(User).filter(User.email == req.email).first() + if not user: + raise HTTPException(status_code=404, detail="Demo user not found. Run backend initialization first.") + + token = create_access_token({"sub": str(user.id), "email": user.email, "role": user.role}) + return { + "access_token": token, + "token_type": "bearer", + "user": UserOut.model_validate(user) + } + +@router.get("/me", response_model=UserOut) +def get_me(current_user: User = Depends(get_current_user)): + return current_user diff --git a/backend/routers/chores.py b/backend/routers/chores.py new file mode 100644 index 0000000..719a404 --- /dev/null +++ b/backend/routers/chores.py @@ -0,0 +1,132 @@ +from fastapi import APIRouter, Depends, HTTPException, status +from sqlalchemy.orm import Session +from typing import List, Optional +from datetime import datetime, timezone +from backend.database import get_db +from backend.models import User, ChoreType, ChoreCompletion, UserRole, RecurrenceType +from backend.schemas import ChoreTypeOut, ChoreTypeCreate, ChoreTypeUpdate, ChoreCompletionCreate, ChoreCompletionOut +from backend.routers.auth import get_current_user, get_admin_user +from backend.config import get_current_week_identifier + +router = APIRouter(prefix="/api/chores", tags=["chores"]) + +@router.get("/types", response_model=List[ChoreTypeOut]) +def list_chore_types(db: Session = Depends(get_db), current_user: User = Depends(get_current_user)): + return db.query(ChoreType).order_by(ChoreType.id.asc()).all() + +@router.post("/types", response_model=ChoreTypeOut) +def create_chore_type(chore_in: ChoreTypeCreate, db: Session = Depends(get_db), admin: User = Depends(get_admin_user)): + if chore_in.star_reward < 1 or chore_in.star_reward > 5: + raise HTTPException(status_code=400, detail="Star reward must be between 1 and 5") + + if chore_in.recurrence not in [r.value for r in RecurrenceType]: + raise HTTPException(status_code=400, detail=f"Invalid recurrence type. Must be daily, weekly, or spontaneous") + + new_chore = ChoreType( + title=chore_in.title, + description=chore_in.description, + star_reward=chore_in.star_reward, + recurrence=chore_in.recurrence, + icon=chore_in.icon + ) + db.add(new_chore) + db.commit() + db.refresh(new_chore) + return new_chore + +@router.patch("/types/{chore_id}", response_model=ChoreTypeOut) +def update_chore_type(chore_id: int, chore_in: ChoreTypeUpdate, db: Session = Depends(get_db), admin: User = Depends(get_admin_user)): + chore = db.query(ChoreType).filter(ChoreType.id == chore_id).first() + if not chore: + raise HTTPException(status_code=404, detail="Chore type not found") + + if chore_in.title is not None: + chore.title = chore_in.title + if chore_in.description is not None: + chore.description = chore_in.description + if chore_in.star_reward is not None: + if chore_in.star_reward < 1 or chore_in.star_reward > 5: + raise HTTPException(status_code=400, detail="Star reward must be between 1 and 5") + chore.star_reward = chore_in.star_reward + if chore_in.recurrence is not None: + if chore_in.recurrence not in [r.value for r in RecurrenceType]: + raise HTTPException(status_code=400, detail="Invalid recurrence type") + chore.recurrence = chore_in.recurrence + if chore_in.icon is not None: + chore.icon = chore_in.icon + + db.commit() + db.refresh(chore) + return chore + +@router.delete("/types/{chore_id}") +def delete_chore_type(chore_id: int, db: Session = Depends(get_db), admin: User = Depends(get_admin_user)): + chore = db.query(ChoreType).filter(ChoreType.id == chore_id).first() + if not chore: + raise HTTPException(status_code=404, detail="Chore type not found") + + db.delete(chore) + db.commit() + return {"message": "Chore type deleted successfully", "id": chore_id} + +@router.post("/complete", response_model=ChoreCompletionOut) +def complete_chore(payload: ChoreCompletionCreate, db: Session = Depends(get_db), current_user: User = Depends(get_current_user)): + chore_type = db.query(ChoreType).filter(ChoreType.id == payload.chore_type_id).first() + if not chore_type: + raise HTTPException(status_code=404, detail="Chore type not found") + + week_id = get_current_week_identifier() + now_utc = datetime.now(timezone.utc) + + completion = ChoreCompletion( + chore_type_id=chore_type.id, + user_id=current_user.id, + completed_at=now_utc, + stars_earned=chore_type.star_reward, + week_identifier=week_id, + notes=payload.notes + ) + db.add(completion) + db.commit() + db.refresh(completion) + + return ChoreCompletionOut( + id=completion.id, + chore_type_id=completion.chore_type_id, + user_id=completion.user_id, + completed_at=completion.completed_at, + stars_earned=completion.stars_earned, + week_identifier=completion.week_identifier, + notes=completion.notes, + user_name=current_user.name, + user_avatar=current_user.avatar_url, + chore_title=chore_type.title, + chore_icon=chore_type.icon + ) + +@router.get("/completions", response_model=List[ChoreCompletionOut]) +def get_recent_completions(week: Optional[str] = None, user_id: Optional[int] = None, limit: int = 50, db: Session = Depends(get_db), current_user: User = Depends(get_current_user)): + query = db.query(ChoreCompletion) + if week: + query = query.filter(ChoreCompletion.week_identifier == week) + if user_id: + query = query.filter(ChoreCompletion.user_id == user_id) + + completions = query.order_by(ChoreCompletion.completed_at.desc()).limit(limit).all() + + result = [] + for c in completions: + result.append(ChoreCompletionOut( + id=c.id, + chore_type_id=c.chore_type_id, + user_id=c.user_id, + completed_at=c.completed_at, + stars_earned=c.stars_earned, + week_identifier=c.week_identifier, + notes=c.notes, + user_name=c.user.name if c.user else "Unknown", + user_avatar=c.user.avatar_url if c.user else None, + chore_title=c.chore_type.title if c.chore_type else "Chore", + chore_icon=c.chore_type.icon if c.chore_type else "CheckSquare" + )) + return result diff --git a/backend/routers/reports.py b/backend/routers/reports.py new file mode 100644 index 0000000..796ec52 --- /dev/null +++ b/backend/routers/reports.py @@ -0,0 +1,66 @@ +from fastapi import APIRouter, Depends, Query +from sqlalchemy.orm import Session +from typing import List, Optional +from backend.database import get_db +from backend.models import User, ChoreCompletion, ChoreType +from backend.schemas import WeeklyReportOut, UserWeekProgress +from backend.routers.auth import get_current_user +from backend.config import get_current_week_identifier + +router = APIRouter(prefix="/api/reports", tags=["reports"]) + +@router.get("/weeks") +def get_available_weeks(db: Session = Depends(get_db), current_user: User = Depends(get_current_user)): + # Returns all distinct week_identifiers present in database plus current week + weeks = db.query(ChoreCompletion.week_identifier).distinct().all() + week_set = {w[0] for w in weeks if w[0]} + current_week = get_current_week_identifier() + week_set.add(current_week) + sorted_weeks = sorted(list(week_set), reverse=True) + return {"current_week": current_week, "weeks": sorted_weeks} + +@router.get("/weekly", response_model=WeeklyReportOut) +def get_weekly_report(week: Optional[str] = Query(None), db: Session = Depends(get_db), current_user: User = Depends(get_current_user)): + target_week = week if week else get_current_week_identifier() + users = db.query(User).filter(User.is_active == True).order_by(User.id.asc()).all() + + user_progress_list: List[UserWeekProgress] = [] + total_stars_earned = 0 + total_completions = 0 + + for user in users: + completions = db.query(ChoreCompletion).filter( + ChoreCompletion.user_id == user.id, + ChoreCompletion.week_identifier == target_week + ).all() + + stars = sum(c.stars_earned for c in completions) + comp_count = len(completions) + + total_stars_earned += stars + total_completions += comp_count + + quota = user.weekly_star_quota if user.weekly_star_quota > 0 else 1 + pct = round(min(100.0, (stars / quota) * 100), 1) + + user_progress_list.append(UserWeekProgress( + user_id=user.id, + name=user.name, + email=user.email, + avatar_url=user.avatar_url, + role=user.role, + weekly_star_quota=user.weekly_star_quota, + stars_earned=stars, + percentage=pct, + completions_count=comp_count + )) + + # Sort users by stars earned descending + user_progress_list.sort(key=lambda u: u.stars_earned, reverse=True) + + return WeeklyReportOut( + week_identifier=target_week, + user_progress=user_progress_list, + total_stars_earned=total_stars_earned, + total_completions=total_completions + ) diff --git a/backend/routers/users.py b/backend/routers/users.py new file mode 100644 index 0000000..fa702a0 --- /dev/null +++ b/backend/routers/users.py @@ -0,0 +1,81 @@ +from fastapi import APIRouter, Depends, HTTPException, status +from sqlalchemy.orm import Session +from typing import List, Optional +from backend.database import get_db +from backend.models import User, UserRole +from backend.schemas import UserOut, UserCreate, UserUpdate +from backend.routers.auth import get_current_user, get_admin_user + +router = APIRouter(prefix="/api/users", tags=["users"]) + +@router.get("", response_model=List[UserOut]) +def get_all_users(db: Session = Depends(get_db), current_user: User = Depends(get_current_user)): + return db.query(User).order_by(User.id.asc()).all() + +@router.post("", response_model=UserOut) +def create_user(user_in: UserCreate, db: Session = Depends(get_db), admin: User = Depends(get_admin_user)): + existing = db.query(User).filter(User.email == user_in.email).first() + if existing: + raise HTTPException(status_code=400, detail="User with this email already exists") + + avatar = user_in.avatar_url or f"https://api.dicebear.com/7.x/bottts/svg?seed={user_in.email}" + new_user = User( + email=user_in.email, + name=user_in.name, + google_id=user_in.google_id, + avatar_url=avatar, + role=user_in.role, + weekly_star_quota=user_in.weekly_star_quota + ) + db.add(new_user) + db.commit() + db.refresh(new_user) + return new_user + +@router.get("/{user_id}", response_model=UserOut) +def get_user_by_id(user_id: int, db: Session = Depends(get_db), current_user: User = Depends(get_current_user)): + user = db.query(User).filter(User.id == user_id).first() + if not user: + raise HTTPException(status_code=404, detail="User not found") + return user + +@router.patch("/{user_id}", response_model=UserOut) +def update_user(user_id: int, user_in: UserUpdate, db: Session = Depends(get_db), current_user: User = Depends(get_current_user)): + # Regular users can only update their own avatar and name. Admins can update role, quota, active status. + if current_user.role != UserRole.ADMIN.value and current_user.id != user_id: + raise HTTPException(status_code=403, detail="Cannot edit another user's account") + + user = db.query(User).filter(User.id == user_id).first() + if not user: + raise HTTPException(status_code=404, detail="User not found") + + if user_in.name is not None: + user.name = user_in.name + if user_in.avatar_url is not None: + user.avatar_url = user_in.avatar_url + + # Admin-only fields + if current_user.role == UserRole.ADMIN.value: + if user_in.role is not None: + user.role = user_in.role + if user_in.weekly_star_quota is not None: + user.weekly_star_quota = user_in.weekly_star_quota + if user_in.is_active is not None: + user.is_active = user_in.is_active + + db.commit() + db.refresh(user) + return user + +@router.delete("/{user_id}") +def delete_user(user_id: int, db: Session = Depends(get_db), admin: User = Depends(get_admin_user)): + if admin.id == user_id: + raise HTTPException(status_code=400, detail="Cannot delete your own admin account") + + user = db.query(User).filter(User.id == user_id).first() + if not user: + raise HTTPException(status_code=404, detail="User not found") + + db.delete(user) + db.commit() + return {"message": "User deleted successfully", "id": user_id} diff --git a/backend/schemas.py b/backend/schemas.py new file mode 100644 index 0000000..3d9b628 --- /dev/null +++ b/backend/schemas.py @@ -0,0 +1,96 @@ +from pydantic import BaseModel, EmailStr, Field, ConfigDict +from typing import Optional, List +from datetime import datetime + +class UserBase(BaseModel): + email: EmailStr + name: str + avatar_url: Optional[str] = None + role: str = "regular" + weekly_star_quota: int = Field(default=15, ge=1, le=100) + +class UserCreate(UserBase): + google_id: Optional[str] = None + +class UserUpdate(BaseModel): + name: Optional[str] = None + avatar_url: Optional[str] = None + role: Optional[str] = None + weekly_star_quota: Optional[int] = Field(default=None, ge=1, le=100) + is_active: Optional[bool] = None + +class UserOut(UserBase): + id: int + google_id: Optional[str] = None + is_active: bool + created_at: datetime + + model_config = ConfigDict(from_attributes=True) + +class ChoreTypeBase(BaseModel): + title: str + description: Optional[str] = None + star_reward: int = Field(default=1, ge=1, le=5) + recurrence: str = Field(default="daily", description="daily, weekly, spontaneous") + icon: str = "CheckSquare" + +class ChoreTypeCreate(ChoreTypeBase): + pass + +class ChoreTypeUpdate(BaseModel): + title: Optional[str] = None + description: Optional[str] = None + star_reward: Optional[int] = Field(default=None, ge=1, le=5) + recurrence: Optional[str] = None + icon: Optional[str] = None + +class ChoreTypeOut(ChoreTypeBase): + id: int + created_at: datetime + + model_config = ConfigDict(from_attributes=True) + +class ChoreCompletionCreate(BaseModel): + chore_type_id: int + notes: Optional[str] = None + +class ChoreCompletionOut(BaseModel): + id: int + chore_type_id: int + user_id: int + completed_at: datetime + stars_earned: int + week_identifier: str + notes: Optional[str] = None + user_name: Optional[str] = None + user_avatar: Optional[str] = None + chore_title: Optional[str] = None + chore_icon: Optional[str] = None + + model_config = ConfigDict(from_attributes=True) + +class UserWeekProgress(BaseModel): + user_id: int + name: str + email: str + avatar_url: Optional[str] + role: str + weekly_star_quota: int + stars_earned: int + percentage: float + completions_count: int + +class WeeklyReportOut(BaseModel): + week_identifier: str + user_progress: List[UserWeekProgress] + total_stars_earned: int + total_completions: int + +class GoogleAuthRequest(BaseModel): + credential: Optional[str] = None + email: Optional[EmailStr] = None + name: Optional[str] = None + avatar_url: Optional[str] = None + +class DemoLoginRequest(BaseModel): + email: EmailStr diff --git a/backend/tests/test_auth.py b/backend/tests/test_auth.py new file mode 100644 index 0000000..adc5a2c --- /dev/null +++ b/backend/tests/test_auth.py @@ -0,0 +1,31 @@ +import pytest +from fastapi.testclient import TestClient +from backend.main import app + +def test_root_endpoint(): + with TestClient(app) as client: + response = client.get("/") + assert response.status_code == 200 + assert response.json()["status"] == "running" + +def test_demo_login(): + with TestClient(app) as client: + response = client.post("/api/auth/demo-login", json={"email": "admin@choreus.app"}) + assert response.status_code == 200 + data = response.json() + assert "access_token" in data + assert data["user"]["email"] == "admin@choreus.app" + assert data["user"]["role"] == "admin" + +def test_google_auth_mock(): + with TestClient(app) as client: + response = client.post("/api/auth/google", json={ + "credential": "mock_token", + "email": "newuser@choreus.app", + "name": "New User", + "avatar_url": "https://api.dicebear.com/7.x/bottts/svg?seed=NewUser" + }) + assert response.status_code == 200 + data = response.json() + assert data["user"]["email"] == "newuser@choreus.app" + assert data["user"]["role"] == "regular" diff --git a/backend/tests/test_chores.py b/backend/tests/test_chores.py new file mode 100644 index 0000000..7e108e8 --- /dev/null +++ b/backend/tests/test_chores.py @@ -0,0 +1,47 @@ +import pytest +from fastapi.testclient import TestClient +from backend.main import app + +def test_list_chores(): + with TestClient(app) as client: + auth_res = client.post("/api/auth/demo-login", json={"email": "admin@choreus.app"}) + token = auth_res.json()["access_token"] + headers = {"Authorization": f"Bearer {token}"} + + response = client.get("/api/chores/types", headers=headers) + assert response.status_code == 200 + chores = response.json() + assert len(chores) >= 1 + assert "title" in chores[0] + +def test_create_and_complete_chore(): + with TestClient(app) as client: + admin_res = client.post("/api/auth/demo-login", json={"email": "admin@choreus.app"}) + admin_token = admin_res.json()["access_token"] + admin_headers = {"Authorization": f"Bearer {admin_token}"} + + # Create chore + chore_res = client.post("/api/chores/types", headers=admin_headers, json={ + "title": "Clean Garage", + "description": "Organize tools and sweep floor", + "star_reward": 5, + "recurrence": "weekly", + "icon": "Wrench" + }) + assert chore_res.status_code == 200 + chore_data = chore_res.json() + chore_id = chore_data["id"] + + # Complete chore as user + user_res = client.post("/api/auth/demo-login", json={"email": "leo@choreus.app"}) + user_token = user_res.json()["access_token"] + user_headers = {"Authorization": f"Bearer {user_token}"} + + comp_res = client.post("/api/chores/complete", headers=user_headers, json={ + "chore_type_id": chore_id, + "notes": "Done with garage!" + }) + assert comp_res.status_code == 200 + comp_data = comp_res.json() + assert comp_data["stars_earned"] == 5 + assert comp_data["chore_title"] == "Clean Garage" diff --git a/frontend/.gitignore b/frontend/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/frontend/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/frontend/README.md b/frontend/README.md new file mode 100644 index 0000000..1511959 --- /dev/null +++ b/frontend/README.md @@ -0,0 +1,5 @@ +# Vue 3 + Vite + +This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` + + diff --git a/frontend/package.json b/frontend/package.json new file mode 100644 index 0000000..55f3acd --- /dev/null +++ b/frontend/package.json @@ -0,0 +1,25 @@ +{ + "name": "frontend", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "dependencies": { + "@lucide/vue": "^1.30.0", + "@tailwindcss/vite": "^4.3.3", + "canvas-confetti": "^1.9.4", + "lucide-vue-next": "^1.0.0", + "pinia": "^4.0.2", + "tailwindcss": "^4.3.3", + "vue": "^3.5.40", + "vue-router": "^5.2.0" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^6.0.8", + "vite": "^8.2.0" + } +} diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml new file mode 100644 index 0000000..b4450ea --- /dev/null +++ b/frontend/pnpm-lock.yaml @@ -0,0 +1,1379 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + '@lucide/vue': + specifier: ^1.30.0 + version: 1.30.0(vue@3.5.41) + '@tailwindcss/vite': + specifier: ^4.3.3 + version: 4.3.3(vite@8.2.1(jiti@2.7.0)(yaml@2.9.0)) + canvas-confetti: + specifier: ^1.9.4 + version: 1.9.4 + lucide-vue-next: + specifier: ^1.0.0 + version: 1.0.0(vue@3.5.41) + pinia: + specifier: ^4.0.2 + version: 4.0.2(@vue/devtools-api@8.2.1)(vue@3.5.41) + tailwindcss: + specifier: ^4.3.3 + version: 4.3.3 + vue: + specifier: ^3.5.40 + version: 3.5.41 + vue-router: + specifier: ^5.2.0 + version: 5.2.0(@vue/compiler-sfc@3.5.41)(pinia@4.0.2(@vue/devtools-api@8.2.1)(vue@3.5.41))(rolldown@1.2.3)(vite@8.2.1(jiti@2.7.0)(yaml@2.9.0))(vue@3.5.41) + devDependencies: + '@vitejs/plugin-vue': + specifier: ^6.0.8 + version: 6.0.8(vite@8.2.1(jiti@2.7.0)(yaml@2.9.0))(vue@3.5.41) + vite: + specifier: ^8.2.0 + version: 8.2.1(jiti@2.7.0)(yaml@2.9.0) + +packages: + + '@babel/generator@8.0.0': + resolution: {integrity: sha512-NT9NrVwJsbSV6Y2FSstWa71EETOnzrjkL5/wX3D2mYHtKM+qvqB1DvR4D0Setb/gDBsHzRICifwEWMO8CnTF6g==} + engines: {node: ^22.18.0 || >=24.11.0} + + '@babel/helper-string-parser@7.29.7': + resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-string-parser@8.0.0': + resolution: {integrity: sha512-6mJgmFFFIIO82vvoLt9XtRC7/TkzXfts1t/SpRX4IHSzMgqoPYCWesVu1udUPUWioAE/2fcG6WuI8zrkE1gwrg==} + engines: {node: ^22.18.0 || >=24.11.0} + + '@babel/helper-validator-identifier@7.29.7': + resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@8.0.4': + resolution: {integrity: sha512-4wFaiLd0bVo4cIoTXI3zKI038NIWE/cr3jvBjejOVYVxV/m8Ltav1USiGzG1fmS5J2RhgEOgXNNK46cRPnRsrg==} + engines: {node: ^22.18.0 || >=24.11.0} + + '@babel/parser@7.29.8': + resolution: {integrity: sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==} + engines: {node: '>=6.0.0'} + hasBin: true + + '@babel/parser@8.0.4': + resolution: {integrity: sha512-srpptsAkEbbNIC/q8nT7o+m6CQe8CJUTV/t7MYc9NnWlgYVtHOb7JH6SorxMhN0kuRJjVqXbKClG6xSbPtzz+g==} + engines: {node: ^22.18.0 || >=24.11.0} + hasBin: true + + '@babel/types@7.29.8': + resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==} + engines: {node: '>=6.9.0'} + + '@babel/types@8.0.4': + resolution: {integrity: sha512-eY+Yn3dCqTGmyiq2QRU66lA5FL8lqqqvecHt0fF3uHONIa7ToYsaCiWV8lOKqAs0Rb2SjixiKFROngnulPtt2g==} + engines: {node: ^22.18.0 || >=24.11.0} + + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + + '@jridgewell/remapping@2.3.5': + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/sourcemap-codec@1.5.5': + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + + '@jridgewell/trace-mapping@0.3.31': + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + + '@lucide/vue@1.30.0': + resolution: {integrity: sha512-EF+N6eH/zaaZN0EY0y0URvKjMAj4QUeVtdDeFxjWHjhXihve/pBge+ahaeXLtqa1np0Ax5vsZEIsOTcsGZwPNQ==} + peerDependencies: + vue: '>=3.0.1' + + '@oxc-project/types@0.143.0': + resolution: {integrity: sha512-u6JZdLBTLotrNC9Vd6vPssINdzcCzleKAH6EJKImQb7GtYvX5keN2dxkoK44stCc4tffE6QQRtZTXVSzsLUlWA==} + + '@rolldown/binding-android-arm64@1.2.3': + resolution: {integrity: sha512-zrJtHDcaZJ1Fp7xf4hNl+7seH9Cn/N5TwLYkhgXREtBwAd/jaqW3uqeHxpDugJLVICWg4eW44kOQEGJ1r6jCGw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [android] + + '@rolldown/binding-darwin-arm64@1.2.3': + resolution: {integrity: sha512-ieIiibVCp0tX7TLu2cafoNPv8wJyYi01ekXpbf8q2j7F4rGAhhXb/eQh7ge9DRBY78GwmRQtvjZDux7EDbA8kA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [darwin] + + '@rolldown/binding-darwin-x64@1.2.3': + resolution: {integrity: sha512-Zh9tCon19eDXJoihx0rqKhMUlMYqzwj3aPsSuHmI4RWZh62dWUL+DJN4C5YQya5TcQBJU/Fe8+rY0jhXTQITqA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [darwin] + + '@rolldown/binding-freebsd-x64@1.2.3': + resolution: {integrity: sha512-nGbJWewA1wrXXZiQhjAT5rhibGfns5ZNkDVqxsO6zJ3f3YvpoDNNmGMSbbhLuXKjNScaBJVOAboztAWVespQMg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [freebsd] + + '@rolldown/binding-linux-arm-gnueabihf@1.2.3': + resolution: {integrity: sha512-QNniJr5Kml0kDEB98jiDOJjXNroxIIi0IXIbdYzY26Xt1pVbeP62+KnoIZLwirOymX/0jDk/2gI/bNUv7A7OIw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + + '@rolldown/binding-linux-arm64-gnu@1.2.3': + resolution: {integrity: sha512-TkqEAcmmvH3I/q4114NB4RVt6241Dao48pF45uLcFGrwAaIn0iITgTAKP/dLjbN0R4buJjGb91+UHSoFmpgIWw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@rolldown/binding-linux-arm64-musl@1.2.3': + resolution: {integrity: sha512-NHqjnxpsndf4MPymxteFAWHHfkTL8HjWh1KB7z23ofZ6QO2euONuxDXjat69dKZRALnGypg8k8SsK8vZJoXv1Q==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@rolldown/binding-linux-ppc64-gnu@1.2.3': + resolution: {integrity: sha512-6tbrbwfz5GB9DQ4Jwo6hy9v+vR31xZlvzZ6n5Xut6Hhx5PvrA9q/HsK8KMaYQp063iqZGXwNvZtYNLD7EM/x0w==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [ppc64] + os: [linux] + libc: [glibc] + + '@rolldown/binding-linux-s390x-gnu@1.2.3': + resolution: {integrity: sha512-oyuXxXmoZHjXC917IAPFAAv4wWAa0cM9afk8nx1+9/jNNOX1uPf8yDA6p7G0RypOfw/X0PQt5IfoquY1um+zSg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@rolldown/binding-linux-x64-gnu@1.2.3': + resolution: {integrity: sha512-TytMwF2KVGqP2tgd0I1OY0PAv78dZRAYcF5ssDzjM34SUXCED3uXvSd5+lHoC0bTD6eEdFz7LdQNCO1y0oVk9w==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@rolldown/binding-linux-x64-musl@1.2.3': + resolution: {integrity: sha512-/E9m3qstrJFVPoULV25mVQblSNExY2+kBsYe4sy0Tn0yOOgJ8wZbZt3KnRbF/XeU2Gl1STKUQnDNTqhIE5MD4A==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [musl] + + '@rolldown/binding-openharmony-arm64@1.2.3': + resolution: {integrity: sha512-Kr0OcsoQI816i6HOl3vFHpd1K0eZyh76zgfj4c1nTyaTsd5r2Mj1lwM4R90y/qaCfmTn9eHy0SKwi98eitRxug==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [openharmony] + + '@rolldown/binding-win32-arm64-msvc@1.2.3': + resolution: {integrity: sha512-hOtMwTqnME+/gJcH/PCZ0wn0zPUjiWOgkHpxbSJpfGKMezHltx1S7/k1SitzVa7Ww2cqrDDaFbZEhcJZO8o+Jw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [win32] + + '@rolldown/binding-win32-x64-msvc@1.2.3': + resolution: {integrity: sha512-ekcqMMkI2PlhYnfzQnB/cEdYUVVJViWvoUyLrbzgDoi3Snfc1mVBwdnc306ufA5ejy8JSPjT2RlW1nQSjW7efg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [win32] + + '@rolldown/pluginutils@1.0.1': + resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==} + + '@tailwindcss/node@4.3.3': + resolution: {integrity: sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==} + + '@tailwindcss/oxide-android-arm64@4.3.3': + resolution: {integrity: sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [android] + + '@tailwindcss/oxide-darwin-arm64@4.3.3': + resolution: {integrity: sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [darwin] + + '@tailwindcss/oxide-darwin-x64@4.3.3': + resolution: {integrity: sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==} + engines: {node: '>= 20'} + cpu: [x64] + os: [darwin] + + '@tailwindcss/oxide-freebsd-x64@4.3.3': + resolution: {integrity: sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==} + engines: {node: '>= 20'} + cpu: [x64] + os: [freebsd] + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3': + resolution: {integrity: sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==} + engines: {node: '>= 20'} + cpu: [arm] + os: [linux] + + '@tailwindcss/oxide-linux-arm64-gnu@4.3.3': + resolution: {integrity: sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@tailwindcss/oxide-linux-arm64-musl@4.3.3': + resolution: {integrity: sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@tailwindcss/oxide-linux-x64-gnu@4.3.3': + resolution: {integrity: sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==} + engines: {node: '>= 20'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@tailwindcss/oxide-linux-x64-musl@4.3.3': + resolution: {integrity: sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==} + engines: {node: '>= 20'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@tailwindcss/oxide-wasm32-wasi@4.3.3': + resolution: {integrity: sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==} + engines: {node: '>=14.0.0'} + cpu: [wasm32] + bundledDependencies: + - '@napi-rs/wasm-runtime' + - '@emnapi/core' + - '@emnapi/runtime' + - '@tybys/wasm-util' + - '@emnapi/wasi-threads' + - tslib + + '@tailwindcss/oxide-win32-arm64-msvc@4.3.3': + resolution: {integrity: sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [win32] + + '@tailwindcss/oxide-win32-x64-msvc@4.3.3': + resolution: {integrity: sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==} + engines: {node: '>= 20'} + cpu: [x64] + os: [win32] + + '@tailwindcss/oxide@4.3.3': + resolution: {integrity: sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==} + engines: {node: '>= 20'} + + '@tailwindcss/vite@4.3.3': + resolution: {integrity: sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==} + peerDependencies: + vite: ^5.2.0 || ^6 || ^7 || ^8 + + '@types/jsesc@2.5.1': + resolution: {integrity: sha512-9VN+6yxLOPLOav+7PwjZbxiID2bVaeq0ED4qSQmdQTdjnXJSaCVKTR58t15oqH1H5t8Ng2ZX1SabJVoN9Q34bw==} + + '@vitejs/plugin-vue@6.0.8': + resolution: {integrity: sha512-0ZjgOg7oO6farnNGup7yvoM/YXZV84OZxHAwtflItNa/6zzQyVb5LNxyea3FEKEX2XlagIKzrlH7wwxkKgtiew==} + engines: {node: ^20.19.0 || >=22.12.0} + peerDependencies: + vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 + vue: ^3.2.25 + + '@vue-macros/common@3.1.4': + resolution: {integrity: sha512-/5Fv+6DgIcM9ajY05ZmKBv+LMX1M9A0X+IUwDRVdt67ciw8OV9bvG2r34p3RiEadlsQybjhKPRKNXDC8Bp23cw==} + engines: {node: '>=20.19.0'} + peerDependencies: + vue: ^2.7.0 || ^3.2.25 + peerDependenciesMeta: + vue: + optional: true + + '@vue/compiler-core@3.5.41': + resolution: {integrity: sha512-q0Xtv/F9w2YO/7htQhtiL+Ev2WCJbe5N2hc+XfgyKkEKqWpSxknmT8QOuGdEKNdjPq0c3F7rNpFkTo3Kfrm7pg==} + + '@vue/compiler-dom@3.5.41': + resolution: {integrity: sha512-oKacVfNglLvGjnS6BXOlGL7EyG2h8X03pqXCjzotRZUaXGjbrTJUnVAQjrCqUnS+lyu31nwQjZY/d817GmCnfw==} + + '@vue/compiler-sfc@3.5.41': + resolution: {integrity: sha512-XJhip7R2wy6vX3knCxdZN4KracFaZUef58s1KYewqluedHIJaPIVfXoYT7MF1F8nCvv6k8bWWxDC8opMkg1VTQ==} + + '@vue/compiler-ssr@3.5.41': + resolution: {integrity: sha512-U3v5OejKEGqOI0Wy0+Sz7hGuIFZHA4LSXzrNM3IMIeDyJEBBfTpX26n3SDgToRpP2bLc9FfI2j/kSgcJ8Emq5A==} + + '@vue/devtools-api@8.2.1': + resolution: {integrity: sha512-6u4vXBlIBAC1wMplIZgpyPn7uh/s4Bf6F5bMzvLv+EdJ0aHs/+4B7Ygv864EStQSjRbsRzTko/kUG1A1IejQ3A==} + + '@vue/devtools-kit@8.2.1': + resolution: {integrity: sha512-FIGIuq3AWReEpbAHY/cRGeHDfI0qOb8OCQ3YjbEAX04uaxIDbGc9rhkbVcG7rnfHPXE3RsU5KrWOu9V/okd8AQ==} + + '@vue/devtools-shared@8.2.1': + resolution: {integrity: sha512-Fkac7lUdGReh6pVOi3AYPRGe82LQqRmAfThW7RRligOAP0ZA/Z1z9XLHDM9dv34pV2HRc79DK8uKPeG2fLnA/g==} + + '@vue/reactivity@3.5.41': + resolution: {integrity: sha512-rznsqKM0np0x18EjzF8x88MpEhdNsffbvFbckLL5+oUKz1BxAImEmO7J1ArRYSyo6aQaVoBDp7jEkT91OOxydA==} + + '@vue/runtime-core@3.5.41': + resolution: {integrity: sha512-Vcry58hiAKwGen9Z1jUZE0feFsNArPCMOImYI8el48A9Idf6DuQYD0U05zZIF2Iad1hGhPSvcbBbAOhNr55fhg==} + + '@vue/runtime-dom@3.5.41': + resolution: {integrity: sha512-3vVBahVBS9+U6cmXBLyb8nE6/yYo4J/CGI9eVFs3KiMc0YHuudwKyShTD65jtJy/L9PUUxNAFu4cj4LiJ0UFbw==} + + '@vue/server-renderer@3.5.41': + resolution: {integrity: sha512-n6hx/pNFfbD6SuyeuMVkvqox8bwf/ET9JlA/kAz/imw8sw++wkqKe2mHX5KutjPpbKE4Z56yTHszoOjGMI9igQ==} + + '@vue/shared@3.5.41': + resolution: {integrity: sha512-IOnwSCma8j+9xJT6b8H0dEYidC80NsYmNMlZxRsukYcSoGaDBohog5hDxzeUXdFeGWFA++vWvxqOmrr96VlqMA==} + + acorn@8.18.0: + resolution: {integrity: sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==} + engines: {node: '>=0.4.0'} + hasBin: true + + ast-kit@2.2.0: + resolution: {integrity: sha512-m1Q/RaVOnTp9JxPX+F+Zn7IcLYMzM8kZofDImfsKZd8MbR+ikdOzTeztStWqfrqIxZnYWryyI9ePm3NGjnZgGw==} + engines: {node: '>=20.19.0'} + + ast-walker-scope@0.9.0: + resolution: {integrity: sha512-IJdzo2vLiElBxKzwS36VsCue/62d6IdWjnPB2v3nuPKeWGynp6FF/CYoLa5i/3jXH/z97ZDdsXz6abpgM6w07A==} + engines: {node: '>=20.19.0'} + + birpc@2.9.0: + resolution: {integrity: sha512-KrayHS5pBi69Xi9JmvoqrIgYGDkD6mcSe/i6YKi3w5kekCLzrX4+nawcXqrj2tIp50Kw/mT/s3p+GVK0A0sKxw==} + + canvas-confetti@1.9.4: + resolution: {integrity: sha512-yxQbJkAVrFXWNbTUjPqjF7G+g6pDotOUHGbkZq2NELZUMDpiJ85rIEazVb8GTaAptNW2miJAXbs1BtioA251Pw==} + + chokidar@5.0.0: + resolution: {integrity: sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==} + engines: {node: '>= 20.19.0'} + + confbox@0.1.8: + resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} + + confbox@0.2.4: + resolution: {integrity: sha512-ysOGlgTFbN2/Y6Cg3Iye8YKulHw+R2fNXHrgSmXISQdMnomY6eNDprVdW9R5xBguEqI954+S6709UyiO7B+6OQ==} + + csstype@3.2.3: + resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==} + + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + + enhanced-resolve@5.24.5: + resolution: {integrity: sha512-L1l8TNvomm6UVW5B253AGxQagSQr+vGwhMlrrfRS2qmhx46AMpMVJKQYLvWYbysTMY8VoicOvzHzoHMbyzB+4A==} + engines: {node: '>=10.13.0'} + + entities@7.0.1: + resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==} + engines: {node: '>=0.12'} + + estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + + exsolve@1.1.1: + resolution: {integrity: sha512-9U/jZUgjnSGyntRr6y5Muu1MJcwFl6kPu7k8qLF0IMNfLqvw0NZ4nnVDq0RVoZ0RvCyumib4Ez3KYrVfilrw+g==} + + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + + hookable@5.5.3: + resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==} + + jiti@2.7.0: + resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==} + hasBin: true + + jsesc@3.1.0: + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} + engines: {node: '>=6'} + hasBin: true + + json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + + lightningcss-android-arm64@1.32.0: + resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [android] + + lightningcss-android-arm64@1.33.0: + resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [android] + + lightningcss-darwin-arm64@1.32.0: + resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [darwin] + + lightningcss-darwin-arm64@1.33.0: + resolution: {integrity: sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [darwin] + + lightningcss-darwin-x64@1.32.0: + resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [darwin] + + lightningcss-darwin-x64@1.33.0: + resolution: {integrity: sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [darwin] + + lightningcss-freebsd-x64@1.32.0: + resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [freebsd] + + lightningcss-freebsd-x64@1.33.0: + resolution: {integrity: sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [freebsd] + + lightningcss-linux-arm-gnueabihf@1.32.0: + resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==} + engines: {node: '>= 12.0.0'} + cpu: [arm] + os: [linux] + + lightningcss-linux-arm-gnueabihf@1.33.0: + resolution: {integrity: sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm] + os: [linux] + + lightningcss-linux-arm64-gnu@1.32.0: + resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + lightningcss-linux-arm64-gnu@1.33.0: + resolution: {integrity: sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + lightningcss-linux-arm64-musl@1.32.0: + resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + libc: [musl] + + lightningcss-linux-arm64-musl@1.33.0: + resolution: {integrity: sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + libc: [musl] + + lightningcss-linux-x64-gnu@1.32.0: + resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + libc: [glibc] + + lightningcss-linux-x64-gnu@1.33.0: + resolution: {integrity: sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + libc: [glibc] + + lightningcss-linux-x64-musl@1.32.0: + resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + libc: [musl] + + lightningcss-linux-x64-musl@1.33.0: + resolution: {integrity: sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + libc: [musl] + + lightningcss-win32-arm64-msvc@1.32.0: + resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [win32] + + lightningcss-win32-arm64-msvc@1.33.0: + resolution: {integrity: sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [win32] + + lightningcss-win32-x64-msvc@1.32.0: + resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [win32] + + lightningcss-win32-x64-msvc@1.33.0: + resolution: {integrity: sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [win32] + + lightningcss@1.32.0: + resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==} + engines: {node: '>= 12.0.0'} + + lightningcss@1.33.0: + resolution: {integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==} + engines: {node: '>= 12.0.0'} + + local-pkg@1.2.1: + resolution: {integrity: sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q==} + engines: {node: '>=14'} + + lucide-vue-next@1.0.0: + resolution: {integrity: sha512-V6SPvx1IHTj/UY+FrIYWV5faISsPSb8BnWSFDxAtezWKvWc9ZZ40PDrdu1/Qb5vg4lHWr1hs1BAMGVGm6V1Xdg==} + deprecated: Package deprecated. Please use @lucide/vue instead. + peerDependencies: + vue: '>=3.0.1' + + magic-string-ast@1.0.3: + resolution: {integrity: sha512-CvkkH1i81zl7mmb94DsRiFeG9V2fR2JeuK8yDgS8oiZSFa++wWLEgZ5ufEOyLHbvSbD1gTRKv9NdX69Rnvr9JA==} + engines: {node: '>=20.19.0'} + + magic-string@0.30.21: + resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} + + mlly@1.8.2: + resolution: {integrity: sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==} + + muggle-string@0.4.1: + resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} + + nanoid@3.3.18: + resolution: {integrity: sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + nostics@1.2.0: + resolution: {integrity: sha512-FGqEfhQjrvo1lL8KFifdTQiNwwQHJxC1jtYE1Rc54qF/jxONUNL+kC9gS1krX8Q65PgrQ5fCqH/I4NhWBvdSqg==} + + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + + perfect-debounce@2.1.0: + resolution: {integrity: sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g==} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@4.0.5: + resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==} + engines: {node: '>=12'} + + pinia@4.0.2: + resolution: {integrity: sha512-yKVVA7bSj5oRZFp/Ab9wLlmyb5gPUYEiIm4ryiWTe/xe7PtkRdMVOp1X1ggvq0c6Uj7Q0Du1HnV2mtAwM0Ks1g==} + peerDependencies: + '@vue/devtools-api': ^8.1.5 + typescript: '>=5.6.0' + vue: ^3.5.11 + peerDependenciesMeta: + typescript: + optional: true + + pkg-types@1.3.1: + resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==} + + pkg-types@2.3.1: + resolution: {integrity: sha512-y+ichcgc2LrADuhLNAx8DFjVfgz91pRxfZdI3UDhxHvcVEZsenLO+7XaU5vOp0u/7V/wZ+plyuQxtrDlZJ+yeg==} + + postcss@8.5.26: + resolution: {integrity: sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==} + engines: {node: ^10 || ^12 || >=14} + + quansync@0.2.11: + resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==} + + readdirp@5.1.1: + resolution: {integrity: sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==} + engines: {node: '>= 20.19.0'} + + rolldown@1.2.3: + resolution: {integrity: sha512-rn9wpmxplLf7NLNyCk9FyWh3FM43DbY8jOzCdEPzH7uflhTftRbCEpqi6Ly2osgoU8OwObtmavMbWLaWy4LX7A==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + + scule@1.3.0: + resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==} + + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + + tailwindcss@4.3.3: + resolution: {integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==} + + tapable@2.3.3: + resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} + engines: {node: '>=6'} + + tinyglobby@0.2.17: + resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} + engines: {node: '>=12.0.0'} + + ufo@1.6.4: + resolution: {integrity: sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==} + + unplugin-utils@0.3.2: + resolution: {integrity: sha512-xVToRh2CTmLk2HnEG7ac4rl1MJTT3RFkpS8B++/SnB0kXvuaavD+n3m/vrzyWQOdJNSZQACnbz01pnppbwV5BA==} + engines: {node: '>=20.19.0'} + + unplugin@3.3.0: + resolution: {integrity: sha512-qa66K+crbfyE6JK10GjvbJeRrOsuC/JpbnHctfyp/i4oBTxWOzJfRZyDiOk1PtErMFRu8JhsU/wPvOdBNWe5Rg==} + engines: {node: ^20.19.0 || >=22.12.0} + peerDependencies: + '@farmfe/core': '*' + '@rspack/core': '*' + bun-types-no-globals: '*' + esbuild: '*' + rolldown: '*' + rollup: '*' + unloader: '*' + vite: '*' + webpack: '*' + peerDependenciesMeta: + '@farmfe/core': + optional: true + '@rspack/core': + optional: true + bun-types-no-globals: + optional: true + esbuild: + optional: true + rolldown: + optional: true + rollup: + optional: true + unloader: + optional: true + vite: + optional: true + webpack: + optional: true + + vite@8.2.1: + resolution: {integrity: sha512-EU/eS7BH3XROHh2YnBefjM6DBKA6ZeMZEYQbj7NLWg5wHYlhB8B/Mayd5XsgWq+NFYccDOTemRpdETWR6Ka/lw==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + peerDependencies: + '@types/node': ^20.19.0 || >=22.12.0 + '@vitejs/devtools': ^0.4.0 + esbuild: ^0.27.0 || ^0.28.0 + jiti: '>=1.21.0' + less: ^4.0.0 + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: '>=0.54.8' + sugarss: ^5.0.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + '@vitejs/devtools': + optional: true + esbuild: + optional: true + jiti: + optional: true + less: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + vue-router@5.2.0: + resolution: {integrity: sha512-QAC5i0LEb1GLG0LXDQmHu8L7FX12j0KwU/JTKmLQUJMrn04gQdKP6Du+p0QwpHb3iy71vBlqnHQ8WAfOSAWhqw==} + peerDependencies: + '@pinia/colada': '>=0.21.2' + '@vue/compiler-sfc': ^3.5.34 || ^4.0.0 + pinia: ^3.0.4 || ^4.0.2 + vite: ^7.3.0 || ^8.0.0 + vue: ^3.5.34 || ^4.0.0 + peerDependenciesMeta: + '@pinia/colada': + optional: true + '@vue/compiler-sfc': + optional: true + pinia: + optional: true + vite: + optional: true + + vue@3.5.41: + resolution: {integrity: sha512-2laE0p+aK+/AOPG/XL/WepOs/GlK755LJ1XECi9kDUrz1FKNw8rb2Xzlw9JS1rqEV55nb0ttsKxVlTCcd+R5cg==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + webpack-virtual-modules@0.6.2: + resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==} + + yaml@2.9.0: + resolution: {integrity: sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==} + engines: {node: '>= 14.6'} + hasBin: true + +snapshots: + + '@babel/generator@8.0.0': + dependencies: + '@babel/parser': 8.0.4 + '@babel/types': 8.0.4 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + '@types/jsesc': 2.5.1 + jsesc: 3.1.0 + + '@babel/helper-string-parser@7.29.7': {} + + '@babel/helper-string-parser@8.0.0': {} + + '@babel/helper-validator-identifier@7.29.7': {} + + '@babel/helper-validator-identifier@8.0.4': {} + + '@babel/parser@7.29.8': + dependencies: + '@babel/types': 7.29.8 + + '@babel/parser@8.0.4': + dependencies: + '@babel/types': 8.0.4 + + '@babel/types@7.29.8': + dependencies: + '@babel/helper-string-parser': 7.29.7 + '@babel/helper-validator-identifier': 7.29.7 + + '@babel/types@8.0.4': + dependencies: + '@babel/helper-string-parser': 8.0.0 + '@babel/helper-validator-identifier': 8.0.4 + + '@jridgewell/gen-mapping@0.3.13': + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/remapping@2.3.5': + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/sourcemap-codec@1.5.5': {} + + '@jridgewell/trace-mapping@0.3.31': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.5 + + '@lucide/vue@1.30.0(vue@3.5.41)': + dependencies: + vue: 3.5.41 + + '@oxc-project/types@0.143.0': {} + + '@rolldown/binding-android-arm64@1.2.3': + optional: true + + '@rolldown/binding-darwin-arm64@1.2.3': + optional: true + + '@rolldown/binding-darwin-x64@1.2.3': + optional: true + + '@rolldown/binding-freebsd-x64@1.2.3': + optional: true + + '@rolldown/binding-linux-arm-gnueabihf@1.2.3': + optional: true + + '@rolldown/binding-linux-arm64-gnu@1.2.3': + optional: true + + '@rolldown/binding-linux-arm64-musl@1.2.3': + optional: true + + '@rolldown/binding-linux-ppc64-gnu@1.2.3': + optional: true + + '@rolldown/binding-linux-s390x-gnu@1.2.3': + optional: true + + '@rolldown/binding-linux-x64-gnu@1.2.3': + optional: true + + '@rolldown/binding-linux-x64-musl@1.2.3': + optional: true + + '@rolldown/binding-openharmony-arm64@1.2.3': + optional: true + + '@rolldown/binding-win32-arm64-msvc@1.2.3': + optional: true + + '@rolldown/binding-win32-x64-msvc@1.2.3': + optional: true + + '@rolldown/pluginutils@1.0.1': {} + + '@tailwindcss/node@4.3.3': + dependencies: + '@jridgewell/remapping': 2.3.5 + enhanced-resolve: 5.24.5 + jiti: 2.7.0 + lightningcss: 1.32.0 + magic-string: 0.30.21 + source-map-js: 1.2.1 + tailwindcss: 4.3.3 + + '@tailwindcss/oxide-android-arm64@4.3.3': + optional: true + + '@tailwindcss/oxide-darwin-arm64@4.3.3': + optional: true + + '@tailwindcss/oxide-darwin-x64@4.3.3': + optional: true + + '@tailwindcss/oxide-freebsd-x64@4.3.3': + optional: true + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3': + optional: true + + '@tailwindcss/oxide-linux-arm64-gnu@4.3.3': + optional: true + + '@tailwindcss/oxide-linux-arm64-musl@4.3.3': + optional: true + + '@tailwindcss/oxide-linux-x64-gnu@4.3.3': + optional: true + + '@tailwindcss/oxide-linux-x64-musl@4.3.3': + optional: true + + '@tailwindcss/oxide-wasm32-wasi@4.3.3': + optional: true + + '@tailwindcss/oxide-win32-arm64-msvc@4.3.3': + optional: true + + '@tailwindcss/oxide-win32-x64-msvc@4.3.3': + optional: true + + '@tailwindcss/oxide@4.3.3': + optionalDependencies: + '@tailwindcss/oxide-android-arm64': 4.3.3 + '@tailwindcss/oxide-darwin-arm64': 4.3.3 + '@tailwindcss/oxide-darwin-x64': 4.3.3 + '@tailwindcss/oxide-freebsd-x64': 4.3.3 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.3 + '@tailwindcss/oxide-linux-arm64-gnu': 4.3.3 + '@tailwindcss/oxide-linux-arm64-musl': 4.3.3 + '@tailwindcss/oxide-linux-x64-gnu': 4.3.3 + '@tailwindcss/oxide-linux-x64-musl': 4.3.3 + '@tailwindcss/oxide-wasm32-wasi': 4.3.3 + '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3 + '@tailwindcss/oxide-win32-x64-msvc': 4.3.3 + + '@tailwindcss/vite@4.3.3(vite@8.2.1(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@tailwindcss/node': 4.3.3 + '@tailwindcss/oxide': 4.3.3 + tailwindcss: 4.3.3 + vite: 8.2.1(jiti@2.7.0)(yaml@2.9.0) + + '@types/jsesc@2.5.1': {} + + '@vitejs/plugin-vue@6.0.8(vite@8.2.1(jiti@2.7.0)(yaml@2.9.0))(vue@3.5.41)': + dependencies: + '@rolldown/pluginutils': 1.0.1 + vite: 8.2.1(jiti@2.7.0)(yaml@2.9.0) + vue: 3.5.41 + + '@vue-macros/common@3.1.4(vue@3.5.41)': + dependencies: + '@vue/compiler-sfc': 3.5.41 + ast-kit: 2.2.0 + local-pkg: 1.2.1 + magic-string-ast: 1.0.3 + unplugin-utils: 0.3.2 + optionalDependencies: + vue: 3.5.41 + + '@vue/compiler-core@3.5.41': + dependencies: + '@babel/parser': 7.29.8 + '@vue/shared': 3.5.41 + entities: 7.0.1 + estree-walker: 2.0.2 + source-map-js: 1.2.1 + + '@vue/compiler-dom@3.5.41': + dependencies: + '@vue/compiler-core': 3.5.41 + '@vue/shared': 3.5.41 + + '@vue/compiler-sfc@3.5.41': + dependencies: + '@babel/parser': 7.29.8 + '@vue/compiler-core': 3.5.41 + '@vue/compiler-dom': 3.5.41 + '@vue/compiler-ssr': 3.5.41 + '@vue/shared': 3.5.41 + estree-walker: 2.0.2 + magic-string: 0.30.21 + postcss: 8.5.26 + source-map-js: 1.2.1 + + '@vue/compiler-ssr@3.5.41': + dependencies: + '@vue/compiler-dom': 3.5.41 + '@vue/shared': 3.5.41 + + '@vue/devtools-api@8.2.1': + dependencies: + '@vue/devtools-kit': 8.2.1 + + '@vue/devtools-kit@8.2.1': + dependencies: + '@vue/devtools-shared': 8.2.1 + birpc: 2.9.0 + hookable: 5.5.3 + perfect-debounce: 2.1.0 + + '@vue/devtools-shared@8.2.1': {} + + '@vue/reactivity@3.5.41': + dependencies: + '@vue/shared': 3.5.41 + + '@vue/runtime-core@3.5.41': + dependencies: + '@vue/reactivity': 3.5.41 + '@vue/shared': 3.5.41 + + '@vue/runtime-dom@3.5.41': + dependencies: + '@vue/reactivity': 3.5.41 + '@vue/runtime-core': 3.5.41 + '@vue/shared': 3.5.41 + csstype: 3.2.3 + + '@vue/server-renderer@3.5.41': + dependencies: + '@vue/compiler-ssr': 3.5.41 + '@vue/runtime-dom': 3.5.41 + '@vue/shared': 3.5.41 + + '@vue/shared@3.5.41': {} + + acorn@8.18.0: {} + + ast-kit@2.2.0: + dependencies: + '@babel/parser': 7.29.8 + pathe: 2.0.3 + + ast-walker-scope@0.9.0: + dependencies: + '@babel/parser': 7.29.8 + '@babel/types': 7.29.8 + ast-kit: 2.2.0 + + birpc@2.9.0: {} + + canvas-confetti@1.9.4: {} + + chokidar@5.0.0: + dependencies: + readdirp: 5.1.1 + + confbox@0.1.8: {} + + confbox@0.2.4: {} + + csstype@3.2.3: {} + + detect-libc@2.1.2: {} + + enhanced-resolve@5.24.5: + dependencies: + graceful-fs: 4.2.11 + tapable: 2.3.3 + + entities@7.0.1: {} + + estree-walker@2.0.2: {} + + exsolve@1.1.1: {} + + fdir@6.5.0(picomatch@4.0.5): + optionalDependencies: + picomatch: 4.0.5 + + fsevents@2.3.3: + optional: true + + graceful-fs@4.2.11: {} + + hookable@5.5.3: {} + + jiti@2.7.0: {} + + jsesc@3.1.0: {} + + json5@2.2.3: {} + + lightningcss-android-arm64@1.32.0: + optional: true + + lightningcss-android-arm64@1.33.0: + optional: true + + lightningcss-darwin-arm64@1.32.0: + optional: true + + lightningcss-darwin-arm64@1.33.0: + optional: true + + lightningcss-darwin-x64@1.32.0: + optional: true + + lightningcss-darwin-x64@1.33.0: + optional: true + + lightningcss-freebsd-x64@1.32.0: + optional: true + + lightningcss-freebsd-x64@1.33.0: + optional: true + + lightningcss-linux-arm-gnueabihf@1.32.0: + optional: true + + lightningcss-linux-arm-gnueabihf@1.33.0: + optional: true + + lightningcss-linux-arm64-gnu@1.32.0: + optional: true + + lightningcss-linux-arm64-gnu@1.33.0: + optional: true + + lightningcss-linux-arm64-musl@1.32.0: + optional: true + + lightningcss-linux-arm64-musl@1.33.0: + optional: true + + lightningcss-linux-x64-gnu@1.32.0: + optional: true + + lightningcss-linux-x64-gnu@1.33.0: + optional: true + + lightningcss-linux-x64-musl@1.32.0: + optional: true + + lightningcss-linux-x64-musl@1.33.0: + optional: true + + lightningcss-win32-arm64-msvc@1.32.0: + optional: true + + lightningcss-win32-arm64-msvc@1.33.0: + optional: true + + lightningcss-win32-x64-msvc@1.32.0: + optional: true + + lightningcss-win32-x64-msvc@1.33.0: + optional: true + + lightningcss@1.32.0: + dependencies: + detect-libc: 2.1.2 + optionalDependencies: + lightningcss-android-arm64: 1.32.0 + lightningcss-darwin-arm64: 1.32.0 + lightningcss-darwin-x64: 1.32.0 + lightningcss-freebsd-x64: 1.32.0 + lightningcss-linux-arm-gnueabihf: 1.32.0 + lightningcss-linux-arm64-gnu: 1.32.0 + lightningcss-linux-arm64-musl: 1.32.0 + lightningcss-linux-x64-gnu: 1.32.0 + lightningcss-linux-x64-musl: 1.32.0 + lightningcss-win32-arm64-msvc: 1.32.0 + lightningcss-win32-x64-msvc: 1.32.0 + + lightningcss@1.33.0: + dependencies: + detect-libc: 2.1.2 + optionalDependencies: + lightningcss-android-arm64: 1.33.0 + lightningcss-darwin-arm64: 1.33.0 + lightningcss-darwin-x64: 1.33.0 + lightningcss-freebsd-x64: 1.33.0 + lightningcss-linux-arm-gnueabihf: 1.33.0 + lightningcss-linux-arm64-gnu: 1.33.0 + lightningcss-linux-arm64-musl: 1.33.0 + lightningcss-linux-x64-gnu: 1.33.0 + lightningcss-linux-x64-musl: 1.33.0 + lightningcss-win32-arm64-msvc: 1.33.0 + lightningcss-win32-x64-msvc: 1.33.0 + + local-pkg@1.2.1: + dependencies: + mlly: 1.8.2 + pkg-types: 2.3.1 + quansync: 0.2.11 + + lucide-vue-next@1.0.0(vue@3.5.41): + dependencies: + vue: 3.5.41 + + magic-string-ast@1.0.3: + dependencies: + magic-string: 0.30.21 + + magic-string@0.30.21: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + + mlly@1.8.2: + dependencies: + acorn: 8.18.0 + pathe: 2.0.3 + pkg-types: 1.3.1 + ufo: 1.6.4 + + muggle-string@0.4.1: {} + + nanoid@3.3.18: {} + + nostics@1.2.0: {} + + pathe@2.0.3: {} + + perfect-debounce@2.1.0: {} + + picocolors@1.1.1: {} + + picomatch@4.0.5: {} + + pinia@4.0.2(@vue/devtools-api@8.2.1)(vue@3.5.41): + dependencies: + '@vue/devtools-api': 8.2.1 + nostics: 1.2.0 + vue: 3.5.41 + + pkg-types@1.3.1: + dependencies: + confbox: 0.1.8 + mlly: 1.8.2 + pathe: 2.0.3 + + pkg-types@2.3.1: + dependencies: + confbox: 0.2.4 + exsolve: 1.1.1 + pathe: 2.0.3 + + postcss@8.5.26: + dependencies: + nanoid: 3.3.18 + picocolors: 1.1.1 + source-map-js: 1.2.1 + + quansync@0.2.11: {} + + readdirp@5.1.1: {} + + rolldown@1.2.3: + dependencies: + '@oxc-project/types': 0.143.0 + '@rolldown/pluginutils': 1.0.1 + optionalDependencies: + '@rolldown/binding-android-arm64': 1.2.3 + '@rolldown/binding-darwin-arm64': 1.2.3 + '@rolldown/binding-darwin-x64': 1.2.3 + '@rolldown/binding-freebsd-x64': 1.2.3 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.3 + '@rolldown/binding-linux-arm64-gnu': 1.2.3 + '@rolldown/binding-linux-arm64-musl': 1.2.3 + '@rolldown/binding-linux-ppc64-gnu': 1.2.3 + '@rolldown/binding-linux-s390x-gnu': 1.2.3 + '@rolldown/binding-linux-x64-gnu': 1.2.3 + '@rolldown/binding-linux-x64-musl': 1.2.3 + '@rolldown/binding-openharmony-arm64': 1.2.3 + '@rolldown/binding-win32-arm64-msvc': 1.2.3 + '@rolldown/binding-win32-x64-msvc': 1.2.3 + + scule@1.3.0: {} + + source-map-js@1.2.1: {} + + tailwindcss@4.3.3: {} + + tapable@2.3.3: {} + + tinyglobby@0.2.17: + dependencies: + fdir: 6.5.0(picomatch@4.0.5) + picomatch: 4.0.5 + + ufo@1.6.4: {} + + unplugin-utils@0.3.2: + dependencies: + pathe: 2.0.3 + picomatch: 4.0.5 + + unplugin@3.3.0(rolldown@1.2.3)(vite@8.2.1(jiti@2.7.0)(yaml@2.9.0)): + dependencies: + '@jridgewell/remapping': 2.3.5 + picomatch: 4.0.5 + webpack-virtual-modules: 0.6.2 + optionalDependencies: + rolldown: 1.2.3 + vite: 8.2.1(jiti@2.7.0)(yaml@2.9.0) + + vite@8.2.1(jiti@2.7.0)(yaml@2.9.0): + dependencies: + lightningcss: 1.33.0 + picomatch: 4.0.5 + postcss: 8.5.26 + rolldown: 1.2.3 + tinyglobby: 0.2.17 + optionalDependencies: + fsevents: 2.3.3 + jiti: 2.7.0 + yaml: 2.9.0 + + vue-router@5.2.0(@vue/compiler-sfc@3.5.41)(pinia@4.0.2(@vue/devtools-api@8.2.1)(vue@3.5.41))(rolldown@1.2.3)(vite@8.2.1(jiti@2.7.0)(yaml@2.9.0))(vue@3.5.41): + dependencies: + '@babel/generator': 8.0.0 + '@vue-macros/common': 3.1.4(vue@3.5.41) + '@vue/devtools-api': 8.2.1 + ast-walker-scope: 0.9.0 + chokidar: 5.0.0 + json5: 2.2.3 + local-pkg: 1.2.1 + magic-string: 0.30.21 + mlly: 1.8.2 + muggle-string: 0.4.1 + nostics: 1.2.0 + pathe: 2.0.3 + picomatch: 4.0.5 + scule: 1.3.0 + tinyglobby: 0.2.17 + unplugin: 3.3.0(rolldown@1.2.3)(vite@8.2.1(jiti@2.7.0)(yaml@2.9.0)) + unplugin-utils: 0.3.2 + vue: 3.5.41 + yaml: 2.9.0 + optionalDependencies: + '@vue/compiler-sfc': 3.5.41 + pinia: 4.0.2(@vue/devtools-api@8.2.1)(vue@3.5.41) + vite: 8.2.1(jiti@2.7.0)(yaml@2.9.0) + transitivePeerDependencies: + - '@farmfe/core' + - '@rspack/core' + - bun-types-no-globals + - esbuild + - rolldown + - rollup + - unloader + - webpack + + vue@3.5.41: + dependencies: + '@vue/compiler-dom': 3.5.41 + '@vue/compiler-sfc': 3.5.41 + '@vue/runtime-dom': 3.5.41 + '@vue/server-renderer': 3.5.41 + '@vue/shared': 3.5.41 + + webpack-virtual-modules@0.6.2: {} + + yaml@2.9.0: {} diff --git a/frontend/src/App.vue b/frontend/src/App.vue new file mode 100644 index 0000000..dfda222 --- /dev/null +++ b/frontend/src/App.vue @@ -0,0 +1,30 @@ + + + diff --git a/frontend/src/assets/hero.png b/frontend/src/assets/hero.png new file mode 100644 index 0000000000000000000000000000000000000000..02251f4b956c55af2d76fd0788124d7eee2b45eb GIT binary patch literal 13057 zcmV+cGycqpP)V|)f$;Qooc7=_G zlYe)HToTQIc!$)^+J1M1y0*T%w!p~7%ux`!eRhO?c80XDxKQ*R^lUUMnA>6NT^?feoZ8xxvP32D&s-9ow zqjcM}eesrC)NeDmsf)*P7wJ|K!&xP%Zy4iI8lF)Tv2!reW)tCzg_1=PmOwd1SQfxa z8;58t!=z~Ba7CYlNWVG>he8aRPY|+-JmozNhn!#9i#77Aa_Edt$ijyCWL#=~I>~2X zZNrQ8I0=D+NWD4pq=7~(i zhfThMNw|G>g^y9pGzxX7ZSApl@tIxFcs{p#MX{Ax&XZT+cR#U+OWc@S)pkIuI}dzu zH?^Q=<(y&Vq-oxSLfc0Zmq81bjZWf}RnssBaD6}2g-XJHLcN_|*IOu>m|x$nbm(?E zyNy!Zp=RroS;?Vg*kmoJYBi!n5{_^@rA!)=t#a^;N$8GL!*DsQb}`yvEuX!G@||An znOfUZAevPrkV_qjl|<~3QRZzG&h@C9Y5z zqpNH4xqbF_InIPh)kX}Vn^5kyed|mOuq+2>M;v~KO37a#yrEn3XDqtOl=rc6_KZ!; zreo)DFVB4|>1Zd(bvMI%8uM;3!)YMYu&cG?(PE!B~y@3yKBMt|R zAf=I16tFwPsl)!jDqvYkLHaAQ+f@W1m6F5aZvwhm4JL z{_l)@b;)mDSzle2gyFP5-r1x-5X{G}ot%VyWP@vEW80!Q=f%RTfpg>B*TA^pyWYUQ z<=xPtz}WcZ!;rFl4m1D&FFHv?K~#9!?A%+fn=lXt;9!Fc#kQ;zk~gZFsH z8e5iu@c_pzX&qb8&Dum*oXwB+fm6l6gFfC|o*wgEiy6tw~&co z9Vd_4)P%wP-KwQW7|lN-znGK#?N+j24U=$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jTiAy7djLji>7k%k`$9&--f<*BNA3Hy&ZrHH|4 zG5H&9cB?O#zI1_OOf0Ce%mDfQxdtp3vU%(iY6yji3iISS61XLv#z|!zI_sZqza@B+ zyu9st5-h+`H7QUKx9}3w@oU@EO}&cEzG?fu!!bLO->%zkcg;i9^j`S~=WKMnDi1f= P00000NkvXXu0mjft=yBf literal 0 HcmV?d00001 diff --git a/frontend/src/assets/vite.svg b/frontend/src/assets/vite.svg new file mode 100644 index 0000000..5101b67 --- /dev/null +++ b/frontend/src/assets/vite.svg @@ -0,0 +1 @@ +Vite diff --git a/frontend/src/assets/vue.svg b/frontend/src/assets/vue.svg new file mode 100644 index 0000000..770e9d3 --- /dev/null +++ b/frontend/src/assets/vue.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/src/components/ChoreIcon.vue b/frontend/src/components/ChoreIcon.vue new file mode 100644 index 0000000..e2c5d2d --- /dev/null +++ b/frontend/src/components/ChoreIcon.vue @@ -0,0 +1,37 @@ + + + diff --git a/frontend/src/components/HelloWorld.vue b/frontend/src/components/HelloWorld.vue new file mode 100644 index 0000000..f91553d --- /dev/null +++ b/frontend/src/components/HelloWorld.vue @@ -0,0 +1,95 @@ + + + diff --git a/frontend/src/components/Navbar.vue b/frontend/src/components/Navbar.vue new file mode 100644 index 0000000..6035466 --- /dev/null +++ b/frontend/src/components/Navbar.vue @@ -0,0 +1,177 @@ + + + diff --git a/frontend/src/main.js b/frontend/src/main.js new file mode 100644 index 0000000..5ad5b00 --- /dev/null +++ b/frontend/src/main.js @@ -0,0 +1,12 @@ +import { createApp } from 'vue' +import { createPinia } from 'pinia' +import router from './router' +import App from './App.vue' +import './style.css' + +const app = createApp(App) +const pinia = createPinia() + +app.use(pinia) +app.use(router) +app.mount('#app') diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js new file mode 100644 index 0000000..cf239e7 --- /dev/null +++ b/frontend/src/router/index.js @@ -0,0 +1,73 @@ +import { createRouter, createWebHistory } from 'vue-router'; +import { useAuthStore } from '../stores/auth'; + +import LoginView from '../views/LoginView.vue'; +import DashboardView from '../views/DashboardView.vue'; +import ChoresView from '../views/ChoresView.vue'; +import ReportsView from '../views/ReportsView.vue'; +import AdminView from '../views/AdminView.vue'; +import ProfileView from '../views/ProfileView.vue'; + +const routes = [ + { + path: '/login', + name: 'login', + component: LoginView, + meta: { public: true } + }, + { + path: '/', + name: 'dashboard', + component: DashboardView + }, + { + path: '/chores', + name: 'chores', + component: ChoresView + }, + { + path: '/reports', + name: 'reports', + component: ReportsView + }, + { + path: '/admin', + name: 'admin', + component: AdminView, + meta: { requiresAdmin: true } + }, + { + path: '/profile', + name: 'profile', + component: ProfileView + }, + { + path: '/:pathMatch(.*)*', + redirect: '/' + } +]; + +const router = createRouter({ + history: createWebHistory(), + routes +}); + +router.beforeEach(async (to, from, next) => { + const authStore = useAuthStore(); + + if (!authStore.isAuthenticated && !to.meta.public) { + return next({ name: 'login' }); + } + + if (authStore.isAuthenticated && to.name === 'login') { + return next({ name: 'dashboard' }); + } + + if (to.meta.requiresAdmin && !authStore.isAdmin) { + return next({ name: 'dashboard' }); + } + + next(); +}); + +export default router; diff --git a/frontend/src/services/api.js b/frontend/src/services/api.js new file mode 100644 index 0000000..18ab6a2 --- /dev/null +++ b/frontend/src/services/api.js @@ -0,0 +1,37 @@ +const API_BASE = '/api'; + +export async function apiFetch(endpoint, options = {}) { + const token = localStorage.getItem('choreus_token'); + + const headers = { + 'Content-Type': 'application/json', + ...(options.headers || {}) + }; + + if (token) { + headers['Authorization'] = `Bearer ${token}`; + } + + const response = await fetch(`${API_BASE}${endpoint}`, { + ...options, + headers + }); + + if (response.status === 401) { + // Unauthenticated or token expired + localStorage.removeItem('choreus_token'); + localStorage.removeItem('choreus_user'); + if (!window.location.pathname.includes('/login')) { + window.location.href = '/login'; + } + } + + const data = await response.json().catch(() => null); + + if (!response.ok) { + const errorMsg = data?.detail || `HTTP Error ${response.status}`; + throw new Error(errorMsg); + } + + return data; +} diff --git a/frontend/src/stores/auth.js b/frontend/src/stores/auth.js new file mode 100644 index 0000000..8cb94ee --- /dev/null +++ b/frontend/src/stores/auth.js @@ -0,0 +1,106 @@ +import { defineStore } from 'pinia'; +import { ref, computed } from 'vue'; +import { apiFetch } from '../services/api'; + +export const useAuthStore = defineStore('auth', () => { + const user = ref(JSON.parse(localStorage.getItem('choreus_user') || 'null')); + const token = ref(localStorage.getItem('choreus_token') || null); + const loading = ref(false); + const error = ref(null); + + const isAuthenticated = computed(() => !!token.value && !!user.value); + const isAdmin = computed(() => user.value?.role === 'admin'); + + async function demoLogin(email) { + loading.value = true; + error.value = null; + try { + const data = await apiFetch('/auth/demo-login', { + method: 'POST', + body: JSON.stringify({ email }) + }); + setAuthData(data.access_token, data.user); + return data.user; + } catch (err) { + error.value = err.message; + throw err; + } finally { + loading.value = false; + } + } + + async function googleLogin(credential, payload = {}) { + loading.value = true; + error.value = null; + try { + const data = await apiFetch('/auth/google', { + method: 'POST', + body: JSON.stringify({ credential, ...payload }) + }); + setAuthData(data.access_token, data.user); + return data.user; + } catch (err) { + error.value = err.message; + throw err; + } finally { + loading.value = false; + } + } + + async function fetchCurrentUser() { + if (!token.value) return null; + try { + const userData = await apiFetch('/auth/me'); + user.value = userData; + localStorage.setItem('choreus_user', JSON.stringify(userData)); + return userData; + } catch (err) { + logout(); + return null; + } + } + + async function updateProfile(updates) { + if (!user.value) return; + try { + const updatedUser = await apiFetch(`/users/${user.value.id}`, { + method: 'PATCH', + body: JSON.stringify(updates) + }); + user.value = updatedUser; + localStorage.setItem('choreus_user', JSON.stringify(updatedUser)); + return updatedUser; + } catch (err) { + error.value = err.message; + throw err; + } + } + + function setAuthData(accessToken, userData) { + token.value = accessToken; + user.value = userData; + localStorage.setItem('choreus_token', accessToken); + localStorage.setItem('choreus_user', JSON.stringify(userData)); + } + + function logout() { + token.value = null; + user.value = null; + localStorage.removeItem('choreus_token'); + localStorage.removeItem('choreus_user'); + } + + return { + user, + token, + loading, + error, + isAuthenticated, + isAdmin, + demoLogin, + googleLogin, + fetchCurrentUser, + updateProfile, + logout + }; +}); diff --git a/frontend/src/stores/chores.js b/frontend/src/stores/chores.js new file mode 100644 index 0000000..70cab31 --- /dev/null +++ b/frontend/src/stores/chores.js @@ -0,0 +1,189 @@ +import { defineStore } from 'pinia'; +import { ref } from 'vue'; +import { apiFetch } from '../services/api'; +import confetti from 'canvas-confetti'; + +export const useChoresStore = defineStore('chores', () => { + const choreTypes = ref([]); + const recentCompletions = ref([]); + const weeklyReport = ref(null); + const availableWeeks = ref([]); + const usersList = ref([]); + const loading = ref(false); + const error = ref(null); + + async function fetchChoreTypes() { + loading.value = true; + try { + const data = await apiFetch('/chores/types'); + choreTypes.value = data; + } catch (err) { + error.value = err.message; + } finally { + loading.value = false; + } + } + + async function completeChore(choreTypeId, notes = '') { + try { + const result = await apiFetch('/chores/complete', { + method: 'POST', + body: JSON.stringify({ chore_type_id: choreTypeId, notes }) + }); + + // Trigger celebratory confetti burst! + confetti({ + particleCount: 80, + spread: 70, + origin: { y: 0.6 } + }); + + // Refresh completions & report + await fetchWeeklyReport(); + await fetchRecentCompletions(); + return result; + } catch (err) { + error.value = err.message; + throw err; + } + } + + async function fetchWeeklyReport(week = null) { + try { + const url = week ? `/reports/weekly?week=${week}` : '/reports/weekly'; + const data = await apiFetch(url); + weeklyReport.value = data; + return data; + } catch (err) { + error.value = err.message; + } + } + + async function fetchAvailableWeeks() { + try { + const data = await apiFetch('/reports/weeks'); + availableWeeks.value = data.weeks || []; + return data; + } catch (err) { + error.value = err.message; + } + } + + async function fetchRecentCompletions(week = null, limit = 50) { + try { + const url = week ? `/chores/completions?week=${week}&limit=${limit}` : `/chores/completions?limit=${limit}`; + const data = await apiFetch(url); + recentCompletions.value = data; + } catch (err) { + error.value = err.message; + } + } + + async function fetchAllUsers() { + try { + const data = await apiFetch('/users'); + usersList.value = data; + return data; + } catch (err) { + error.value = err.message; + } + } + + async function createChoreType(choreData) { + try { + const newChore = await apiFetch('/chores/types', { + method: 'POST', + body: JSON.stringify(choreData) + }); + await fetchChoreTypes(); + return newChore; + } catch (err) { + error.value = err.message; + throw err; + } + } + + async function updateChoreType(id, updates) { + try { + const updated = await apiFetch(`/chores/types/${id}`, { + method: 'PATCH', + body: JSON.stringify(updates) + }); + await fetchChoreTypes(); + return updated; + } catch (err) { + error.value = err.message; + throw err; + } + } + + async function deleteChoreType(id) { + try { + await apiFetch(`/chores/types/${id}`, { method: 'DELETE' }); + await fetchChoreTypes(); + } catch (err) { + error.value = err.message; + throw err; + } + } + + async function createUserAccount(userData) { + try { + const newUser = await apiFetch('/users', { + method: 'POST', + body: JSON.stringify(userData) + }); + await fetchAllUsers(); + return newUser; + } catch (err) { + error.value = err.message; + throw err; + } + } + + async function updateUserAccount(id, updates) { + try { + const updated = await apiFetch(`/users/${id}`, { + method: 'PATCH', + body: JSON.stringify(updates) + }); + await fetchAllUsers(); + return updated; + } catch (err) { + error.value = err.message; + throw err; + } + } + + async function deleteUserAccount(id) { + try { + await apiFetch(`/users/${id}`, { method: 'DELETE' }); + await fetchAllUsers(); + } catch (err) { + error.value = err.message; + throw err; + } + } + + return { + choreTypes, + recentCompletions, + weeklyReport, + availableWeeks, + usersList, + loading, + error, + fetchChoreTypes, + completeChore, + fetchWeeklyReport, + fetchAvailableWeeks, + fetchRecentCompletions, + fetchAllUsers, + createChoreType, + updateChoreType, + deleteChoreType, + createUserAccount, + updateUserAccount, + deleteUserAccount + }; +}); diff --git a/frontend/src/style.css b/frontend/src/style.css new file mode 100644 index 0000000..560527c --- /dev/null +++ b/frontend/src/style.css @@ -0,0 +1,70 @@ +@import "tailwindcss"; + +@layer base { + :root { + --bg-primary: #0f172a; + --bg-secondary: #1e293b; + --text-primary: #f8fafc; + --star-amber: #f59e0b; + --emerald-accent: #10b981; + } +} + +body { + margin: 0; + font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; + background-color: #0f172a; + color: #f8fafc; + min-height: 100vh; + -webkit-font-smoothing: antialiased; +} + +/* Custom Glassmorphism styles */ +.glass-panel { + background: rgba(30, 41, 59, 0.7); + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); + border: 1px solid rgba(255, 255, 255, 0.08); +} + +.glass-card { + background: rgba(30, 41, 59, 0.6); + backdrop-filter: blur(10px); + border: 1px solid rgba(255, 255, 255, 0.06); + transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); +} + +.glass-card:hover { + background: rgba(30, 41, 59, 0.85); + border-color: rgba(245, 158, 11, 0.3); + transform: translateY(-2px); + box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(245, 158, 11, 0.1); +} + +/* Glowing text & icons */ +.glow-amber { + text-shadow: 0 0 12px rgba(245, 158, 11, 0.5); +} + +.glow-emerald { + text-shadow: 0 0 12px rgba(16, 185, 129, 0.5); +} + +/* Custom scrollbars */ +::-webkit-scrollbar { + width: 8px; + height: 8px; +} + +::-webkit-scrollbar-track { + background: rgba(15, 23, 42, 0.6); +} + +::-webkit-scrollbar-thumb { + background: rgba(51, 65, 85, 0.8); + border-radius: 4px; +} + +::-webkit-scrollbar-thumb:hover { + background: rgba(100, 116, 139, 1); +} diff --git a/frontend/src/views/AdminView.vue b/frontend/src/views/AdminView.vue new file mode 100644 index 0000000..f5fd309 --- /dev/null +++ b/frontend/src/views/AdminView.vue @@ -0,0 +1,382 @@ + + + diff --git a/frontend/src/views/ChoresView.vue b/frontend/src/views/ChoresView.vue new file mode 100644 index 0000000..331a5cb --- /dev/null +++ b/frontend/src/views/ChoresView.vue @@ -0,0 +1,233 @@ + + + diff --git a/frontend/src/views/DashboardView.vue b/frontend/src/views/DashboardView.vue new file mode 100644 index 0000000..845b0bd --- /dev/null +++ b/frontend/src/views/DashboardView.vue @@ -0,0 +1,236 @@ + + + diff --git a/frontend/src/views/LoginView.vue b/frontend/src/views/LoginView.vue new file mode 100644 index 0000000..7ab0e00 --- /dev/null +++ b/frontend/src/views/LoginView.vue @@ -0,0 +1,129 @@ + + + diff --git a/frontend/src/views/ProfileView.vue b/frontend/src/views/ProfileView.vue new file mode 100644 index 0000000..d4f63ed --- /dev/null +++ b/frontend/src/views/ProfileView.vue @@ -0,0 +1,115 @@ + + + diff --git a/frontend/src/views/ReportsView.vue b/frontend/src/views/ReportsView.vue new file mode 100644 index 0000000..54dbe0f --- /dev/null +++ b/frontend/src/views/ReportsView.vue @@ -0,0 +1,201 @@ + + + diff --git a/frontend/vite.config.js b/frontend/vite.config.js new file mode 100644 index 0000000..0fc37c9 --- /dev/null +++ b/frontend/vite.config.js @@ -0,0 +1,23 @@ +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' +import tailwindcss from '@tailwindcss/vite' +import { fileURLToPath, URL } from 'node:url' + +// https://vite.dev/config/ +export default defineConfig({ + plugins: [vue(), tailwindcss()], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)) + } + }, + server: { + port: 5173, + proxy: { + '/api': { + target: 'http://localhost:8000', + changeOrigin: true, + } + } + } +})