feat: add administration page and account role management

- Implemented `AdministrationContent` component for managing account roles.
- Created `AdministrationPage` to serve as the main entry point for administration tasks.
- Added PDF preview functionality with `PdfPreviewFrame` component for invoice generation.
- Introduced `InputColor` component for advanced color selection with various formats.
- Established color conversion utilities in `color-converter.ts` for handling color formats.
- Defined appearance-related schemas and types in `appearance.ts` for consistent theme management.
This commit is contained in:
2026-04-30 10:50:50 -04:00
parent ddc2b42672
commit 0e46fdafb2
87 changed files with 4566 additions and 2425 deletions
+11 -9
View File
@@ -11,9 +11,8 @@
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio",
"db:clone": "./scripts/clone-local.sh",
"docker:up": "colima start && docker compose up -d",
"docker:dev:up": "colima start && docker compose -f docker-compose.dev.yml up -d",
"docker:down": "docker compose down && colima stop",
"docker:up": "colima start && docker compose -f docker-compose.dev.yml up -d",
"docker:down": "docker compose -f docker-compose.dev.yml down && colima stop",
"docker:dev:down": "docker compose -f docker-compose.dev.yml down && colima stop",
"deploy": "drizzle-kit push && next build",
"dev": "next dev --turbo",
@@ -31,6 +30,7 @@
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@fontsource-variable/playfair-display": "^5.2.8",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-checkbox": "^1.3.3",
@@ -71,11 +71,12 @@
"file-saver": "^2.0.5",
"framer-motion": "^12.23.26",
"lucide-react": "^0.525.0",
"next": "^16.2.2",
"next": "^16.2.4",
"pg": "8.13.1",
"react": "^19.2.4",
"react": "^19.2.5",
"react-colorful": "^5.6.1",
"react-day-picker": "^9.12.0",
"react-dom": "^19.2.4",
"react-dom": "^19.2.5",
"react-dropzone": "^14.3.8",
"recharts": "^3.5.1",
"resend": "^4.8.0",
@@ -92,12 +93,13 @@
"@types/node": "^20.19.26",
"@types/pg": "^8.16.0",
"@types/raf": "^3.4.3",
"@types/react": "^19.2.7",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"baseline-browser-mapping": "^2.9.6",
"babel-plugin-react-compiler": "^1.0.0",
"baseline-browser-mapping": "^2.10.24",
"drizzle-kit": "^0.30.6",
"eslint": "^9.39.1",
"eslint-config-next": "^16.0.10",
"eslint-config-next": "^16.2.4",
"eslint-plugin-drizzle": "^0.2.3",
"postcss": "^8.5.6",
"prettier": "3.6.2",